GlossaryPrivacy & SecurityBeginner

Kill Switch

A kill switch cuts your internet connection the instant your VPN drops, so your real IP address is never exposed during the gap before it reconnects.

Last updated July 29, 2026

Definition

A kill switch is a VPN safety feature that blocks all internet traffic the moment the encrypted tunnel fails. Without one, your device does something quietly dangerous: it notices the VPN is gone and simply carries on over your normal connection, exposing your real IP address and unencrypted traffic without any warning.

Think of it as a circuit breaker. When something goes wrong it cuts the power rather than letting the fault spread. You lose connectivity for a few seconds — which is inconvenient, and precisely the point.

Why VPN connections drop in the first place

This is not a rare edge case. Tunnels break routinely when you move between Wi-Fi and mobile data, when a laptop wakes from sleep, when a VPN server restarts or gets congested, or when the app updates in the background. Each of those creates a window — sometimes a second, sometimes minutes — where traffic would otherwise flow unprotected.

How it works

A kill switch is essentially a firewall rule. The VPN app tells your operating system to refuse any traffic that is not travelling through the VPN network interface. When the tunnel is up, traffic matches the rule and passes. When the tunnel disappears, nothing matches, so nothing leaves the device until the VPN reconnects and the rule can be satisfied again.

Two kinds, and they are not equal

  • A system-wide kill switch blocks everything on the device. It is the safer option and what you want if privacy is the reason you run a VPN at all.
  • An application kill switch only closes the apps you nominate — a torrent client, say, or a browser. Everything else keeps working normally, which is more convenient but leaves other apps exposed.

Some providers also offer an always-on or block-outside-VPN mode, which goes further: traffic is blocked even before the VPN connects, so there is no unprotected moment during boot.

Test yours — do not assume it works

Kill switch quality varies far more than the marketing suggests. Some only react after several seconds; some fail to cover IPv6 traffic; some do not engage if the app itself crashes rather than the connection dropping. Checking takes a minute:

  1. Connect the VPN and start something continuous, like a video stream.
  2. Force the tunnel to fail — quit the VPN process outright, rather than clicking Disconnect, since a clean disconnect is often treated differently.
  3. Watch what happens. The stream should stall and pages should fail to load. If browsing carries on as normal, the kill switch is not doing its job.

What it does not protect against

A kill switch only guards against the tunnel failing. It does nothing about DNS requests leaking outside the tunnel while the VPN is up, about browser fingerprinting, or about being identified through accounts you are logged into. It is one specific safeguard, not blanket privacy.

Examples

1

A video stalling for a couple of seconds while your VPN reconnects, instead of quietly resuming over your real connection

2

An app-level kill switch that closes only your torrent client if the tunnel drops, leaving the rest of your browsing untouched

3

Always-on mode blocking all traffic from the moment your laptop boots until the VPN has connected

4

A scraping job pausing rather than sending requests from your real server IP when the VPN link fails overnight

Common Use Cases

Preventing your real IP from leaking when a VPN drops
Protecting file sharing and torrent traffic
Keeping automation and scraping jobs from exposing their origin
Staying protected while switching between Wi-Fi and mobile data
Journalism, research and other work where exposure carries real risk
Guarding sensitive logins on public or hotel Wi-Fi

Frequently Asked Questions

If you use a VPN for privacy rather than convenience, yes. VPN connections drop more often than people expect — when networks change, servers restart, or a device wakes from sleep — and without a kill switch those gaps are silent and unprotected.
A system kill switch blocks all internet traffic on the device when the VPN fails. An app kill switch only stops the applications you select. System-wide is safer; app-level is more convenient if you only need to protect one specific program.
That is the kill switch doing exactly what it should. It has blocked traffic to stop your real IP being exposed. Reconnecting the VPN restores access, and most apps let you disable the feature if you would rather trade the protection for convenience.
Start a video or download with the VPN connected, then force-quit the VPN process rather than clicking Disconnect. Traffic should stop immediately. If browsing continues as normal, the kill switch is not protecting you.
No, those are separate problems. A kill switch reacts to the tunnel failing, while a DNS leak happens when lookups travel outside a tunnel that is still up. Look for DNS leak protection as its own feature and test it separately.
Most reputable paid VPNs do, though it is not always switched on by default and mobile apps sometimes omit it. Free VPNs frequently lack one entirely — check the setting before relying on it.