Network security

What Is a VPN Kill Switch? How It Works, Types and How to Test Yours

Your VPN protects you only while the tunnel is up. A kill switch makes sure that when the tunnel drops, your traffic stops too — instead of leaking out unprotected.

Cysoro Security TeamPublished · 8 min read
NETWORK SECURITY VPN Kill Switch When the tunnel drops, your traffic stops. ✓ VPN CONNECTED Traffic flows encrypted VPN DROPS → BLOCKED No leak. No fallback. CYSORO
Quick answer

A VPN kill switch is a feature that automatically blocks all internet traffic on your device the moment your VPN connection drops, and restores access only when the encrypted tunnel reconnects. Without it, your device silently falls back to your normal connection, exposing your real IP address and unencrypted traffic to your internet provider and the sites you visit. Most major VPN apps include one, but the default setting often does not cover restarts.

Key takeaways

  • A kill switch blocks internet traffic when the VPN tunnel drops, so your real IP address never leaks during a dropout.
  • System-wide kill switches cut all traffic; app-level ones close only selected apps — system-wide is the safer choice.
  • Default settings often leave a gap at startup, so enable the strictest mode and test it after every major app update.

A VPN hides your real IP address and encrypts your traffic — but only while the tunnel is up. VPN connections drop more often than people realize: a flaky Wi-Fi network, a server switch, a crashed app. In that moment, your device quietly falls back to your normal connection.

What is a VPN kill switch?

A VPN kill switch is a safety feature that automatically blocks all internet traffic on your device the moment your VPN connection drops, and only releases that traffic once the encrypted tunnel reconnects. While the VPN is connected, you will not notice it at all.

Without one, a dropped VPN connection is invisible. Your downloads continue, your browser keeps loading pages, and your torrent client keeps sharing — all over your ordinary connection, with your real IP address visible to your internet provider, the sites you visit, and other torrent peers. A kill switch turns that silent leak into a brief, obvious outage instead.

Most major VPN apps include a kill switch, though providers name it differently: ExpressVPN calls its version Network Lock, and Windscribe calls its version Firewall. TechRadar's explainer notes the same split — some providers block traffic only on an unexpected drop, while others block all traffic unless the VPN is connected.

How does a VPN kill switch work?

A modern kill switch works through firewall rules, not by watching the connection and reacting. The VPN app sets rules that allow traffic only through the VPN tunnel interface, so the moment the tunnel is gone, nothing can leave the device.

That design matters. Older kill switches monitored the VPN status and killed the connection after detecting a drop, which left a short window — sometimes just seconds — for data to leak. Firewall-based designs close that window, because the blocking rule is already in place before anything goes wrong. When the encrypted tunnel comes back, the app lifts the blocking rules automatically and normal internet access returns.

On Windows, VPN apps typically build on the Windows Filtering Platform, the technology behind Windows Firewall. Android VPN apps can use Android's built-in always-on VPN setting, and macOS and iPhone apps use their own system techniques. The mechanism differs by platform, but the result is the same: no tunnel, no traffic.

What happens when the VPN drops Without a kill switch VPN drops → device falls back to normal connection — real IP exposed With a kill switch VPN drops → firewall blocks all traffic until VPN reconnects The sequence, step by step 1. VPN tunnel is up — traffic flows encrypted 2. Tunnel drops — kill switch engages instantly
A kill switch turns a silent leak into a brief outage. Illustration by Cysoro.

What are the types of VPN kill switch?

VPN apps combine two choices — what the kill switch blocks, and when it is active — and each company names the result differently. Understanding the two axes is the key to setting yours correctly.

System-wide kill switch

A system-wide kill switch blocks all internet traffic from the device: every app, every background process, every browser tab. NordVPN's Windows Internet Kill Switch and ExpressVPN's Network Lock on Windows, macOS and Linux both work this way. This is the safest option and the one most people should use.

App-level kill switch

An app-level kill switch closes only the apps you choose — a torrent client, for example — and leaves the rest of the internet working. NordVPN offers this on Windows. It is useful if only one app needs protection, but it leaves everything else exposed, so it is a weaker choice for general privacy.

Standard mode vs strict mode

Standard mode protects the connection while the VPN is on or reconnecting, then switches off when you disconnect on purpose or shut down the computer.

Strict mode blocks the internet unless the VPN is connected, including while the computer starts up. Strict mode is more secure but less convenient: public Wi-Fi in hotels and airports often opens a sign-in page before allowing traffic, and a strict kill switch blocks that page too.

ModeWhat it blocksWhen it is activeBest for
System-wide, standardAll trafficOnly while VPN is on or reconnectingEveryday privacy
System-wide, strictAll trafficAlways, unless VPN is connectedMaximum privacy, torrenting
App-levelSelected apps onlyWhile VPN is on or reconnectingProtecting one app, e.g. torrent client
Android always-on VPNAll trafficAlways, system-enforcedPhones on public Wi-Fi

Why do you need a VPN kill switch?

You need one because VPN drops are common and silent. A connection can drop when you switch servers, when Wi-Fi flickers, when the VPN server restarts, or when the app crashes. None of these show a warning by default — your device simply reconnects through your normal connection and carries on.

The leak matters most in three situations. First, torrenting: your real IP address is visible to every other peer in the swarm the moment the tunnel drops. Second, public Wi-Fi: traffic that leaves unencrypted can be observed on the local network. Third, work in a country or workplace where your traffic is monitored: even a few seconds of exposed traffic reveals which services you use.

A kill switch also protects background traffic you forget about: cloud sync, email, messaging apps and automatic updates all keep running during a dropout, and all of them can leak your real IP address.

Restart test: default settings, November 2026 Gizmodo tested four VPNs on Windows 11 — cable pull, killed process, restart NordVPN Passed all three default setting no stricter mode needed Proton VPN Leaked on restart fixed by Advanced kill switch setting ExpressVPN Leaked on restart fixed by always-on kill switch setting CyberGhost Leaked on restart on default setting check stricter mode All four passed the cable pull and killed-process tests. The restart is where defaults fail. Source: Gizmodo, November 2026.
Restart tests separate good defaults from good settings — check the strictest mode. Illustration by Cysoro.

Do VPN kill switches actually work?

Mostly — but the default setting is not always enough. Gizmodo tested NordVPN, Proton VPN, ExpressVPN and CyberGhost on a Windows 11 PC in November 2026, putting each through three failures: pulling the network cable, ending the VPN process, and restarting the computer.

All four passed the cable pull and the killed process. The restart test separated them: NordVPN's default setting passed, while Proton VPN, ExpressVPN and CyberGhost leaked on their defaults, with unencrypted traffic leaving the PC before the VPN connected again.

Proton VPN and ExpressVPN both fixed the leak with a stricter setting — Proton's Advanced kill switch and ExpressVPN's always-on option. On Linux, the kill switches of NordVPN, Proton VPN and ExpressVPN passed both a cable pull and a reboot.

The lesson is clear: do not assume the default protects you at startup. Turn on the strictest mode your app offers, and test it yourself.

How do you turn on a VPN kill switch?

The setting is usually in your VPN app's settings menu, but the name and location vary. Look for Kill Switch, Network Lock, or a Connectivity or Privacy section.

  • NordVPN (Windows): open Settings, select Kill Switch, enable Internet Kill Switch for the whole device, or App Kill Switch to close specific apps. A new install leaves the kill switch off, so this step is essential.
  • ExpressVPN: open the Profile tab, select Internet Kill Switch under Settings, and turn on the always-on option so the PC stays offline through a restart until ExpressVPN connects. Network Lock is enabled by default on desktop apps, but the always-on toggle is what covers restarts.
  • Proton VPN: enable the Advanced kill switch, which blocks traffic until the VPN reconnects even after a restart. The standard kill switch alone leaked in restart tests.
  • Android: go to Settings, then Network, then VPN, tap the gear next to your VPN, and turn on Always-on VPN and Block connections without VPN.
  • iPhone: VPN apps use the system VPN configuration, which reconnects automatically; check your VPN app's settings for its kill switch option.

After enabling it, check that you can still reach your local network. Some kill switches block access to local devices such as printers by default, and most apps offer a setting to allow local network access.

How do you test a VPN kill switch?

Test it the way the failures actually happen — do not just trust the toggle. Run the test again after every major app update, because updates can reset or rename settings.

  1. Check your IP first. With the VPN connected, note your visible IP address with our what is my IP tool.
  2. Run a leak test. Use the WebRTC leak test to confirm nothing is escaping the tunnel.
  3. Start a continuous ping to a public address, so you can see the exact moment traffic stops and resumes.
  4. Pull the network cable or turn off Wi-Fi. The ping should stop and stay stopped — no traffic should escape while the VPN is down.
  5. Kill the VPN app process. Traffic should still be blocked, not resume on your normal connection.
  6. Restart the computer with the VPN set to launch at startup. This is the test most defaults fail: check that no traffic leaves before the VPN connects.
  7. Reconnect the network and confirm the VPN reconnects and the ping resumes through the tunnel, with your VPN IP address showing again.

If any step leaks your real IP address, switch to the strictest kill switch mode your app offers, or switch to a provider whose default passed the restart test.

What problems can a kill switch cause?

A kill switch trades a little convenience for security, and the trade-offs are worth knowing before you turn on the strictest mode.

  • No internet until the VPN connects: in strict mode, you cannot browse at all until the VPN is up. If the VPN server is down, you are offline until you pick another server or disable the kill switch.
  • Captive portals break: hotel and airport Wi-Fi sign-in pages will not load, because the kill switch blocks them. Connect to the Wi-Fi and sign in first, then start the VPN — or temporarily allow the portal.
  • Local devices can be blocked: printers, network drives and smart-home devices on your local network may stop responding unless you allow local network access.
  • Confusing outages: if the VPN app crashes, your internet simply stops. That is the kill switch working as designed, not a broken connection — restart the VPN app to restore access.

The bottom line

A VPN without a kill switch protects you only while everything works. The kill switch is what makes that protection reliable: when the tunnel drops, your traffic stops instead of leaking.

Turn on the strictest mode your app offers, test it with a restart, and re-test after updates. You can confirm your visible IP address and check for leaks any time with the free what is my IP tool.

Frequently asked questions

What is a VPN kill switch in simple terms?

It is a safety net inside your VPN app. If the encrypted VPN connection drops for any reason, the kill switch cuts your internet access until the VPN reconnects, so no traffic ever travels outside the tunnel.

Do I need a VPN kill switch?

Yes, if you use a VPN for privacy, torrenting, or work on public Wi-Fi. VPN connections drop more often than people think, and without a kill switch the leak happens silently in seconds.

Is a kill switch the same as always-on VPN?

They are related but different. Always-on VPN reconnects automatically and keeps the VPN running. A kill switch blocks traffic while the VPN is down. The strongest setup uses both.

Does a kill switch protect me if I disconnect the VPN myself?

It depends on the mode. Standard modes switch off when you disconnect on purpose. Strict modes block the internet unless the VPN is connected, even after a manual disconnect or a restart.

Why does my internet stop working after I install a VPN?

The kill switch is probably active while the VPN is not connected, especially in a strict mode. Reconnect the VPN, or turn the strict mode off if you need to browse without it.

Does a kill switch work on phones?

Yes. Android has a built-in always-on VPN and block-connections-without-VPN setting, and iPhone VPN apps use the system VPN configuration. Most major VPN apps also include their own kill switch on mobile.

Can a kill switch fail?

Yes. Older designs watched the connection and reacted after a drop, leaving a short leak window. Firewall-based designs are stronger, but tests show some apps still leak on restart unless the strictest setting is enabled.

Sources

  1. TechRadar — VPN kill switches explained: Why you need one and how to use them
  2. Gizmodo — VPN Kill Switch: What It Is and How to Test It in 2026
  3. Pandromeda — VPN Kill Switch: How It Works & How to Test It [2026]
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against TechRadar's kill switch explainer and Gizmodo's November 2026 hands-on tests of NordVPN, Proton VPN, ExpressVPN and CyberGhost.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free