Quick answer

What a VPN kill switch does

A kill switch blocks your internet traffic when the VPN connection drops, so nothing leaves your device outside the encrypted tunnel until it reconnects. Without one, your device usually falls back to its normal connection, and sites can see your real IP address. Where your VPN app offers one, turn it on and test it yourself.

What happens when the VPN drops
SetupWhat happens
No kill switchTraffic falls back to your normal connection. Your real IP shows.
System-level kill switchAll traffic is blocked until the VPN reconnects.
App-level kill switchThe apps you chose are blocked; others stay online.
Android's "Block connections without VPN"The system blocks traffic that doesn't use the VPN.
VPN kill switch panel with glowing green encrypted data tunnel and lock icons on dark circuit board background

You are connected to a VPN, working from a coffee shop, and your encrypted tunnel quietly drops for a few seconds while your phone switches between Wi-Fi and mobile data. You may not notice. Many VPN apps reconnect on their own, so everything looks fine.

During that gap, your device can fall back to its normal connection. Sites you're connected to may see your real IP address, your DNS lookups can go to your internet provider or the local network instead of through the tunnel, and any traffic that isn't otherwise encrypted can be read by someone watching the network. Most sites use HTTPS, which still protects page content, but for those seconds the VPN isn't doing its job.

A kill switch, where your VPN app offers one, prevents that by blocking your internet connection when the VPN drops and letting traffic through again once the tunnel is back. Here is a plain-English explanation of how it works, what it protects, and whether you need one.

What Is a VPN Kill Switch?

A VPN kill switch is a failsafe in VPN software that watches your connection to the VPN server. When it detects that the encrypted tunnel has dropped, it applies firewall rules that block internet traffic on your device. Nothing goes in or out until the VPN connection is reestablished.

Think of it as a circuit breaker. Normal electricity flows through the protected line. The moment something breaks the protected path, the breaker trips and cuts all power — not just to the broken line but to everything. When the protected path is restored, the breaker resets and power flows again.

Without a kill switch, when your VPN drops your operating system usually falls back to its default internet connection: your internet provider's or the local network, with your real IP address visible to the servers you communicate with. Your apps keep running. Your browser keeps requesting pages. Your email client keeps syncing. None of it goes through the VPN, and many apps won't tell you the protection has lapsed.

What Gets Exposed When a VPN Drops Without a Kill Switch

The exposure window during an unprotected disconnect is short but consequential. Here is what leaks in those seconds:

  • Your real IP address. Every server you contact during the unprotected window sees your actual IP — the one your ISP assigned to you, which reveals your approximate location and can be linked back to your identity through your ISP's records.
  • Your DNS queries. Even if your browser stops loading, your operating system keeps looking up domain names through your internet provider's or the network's DNS server instead of through the VPN, so they can see the domains you look up during the gap.
  • Unencrypted traffic. Any data sent over HTTP during the window travels in plaintext — readable by ISPs, network operators, and anyone monitoring the network.
  • Active downloads and uploads. Cloud sync, file transfers, and background app updates continue during the gap, associating your real IP with server-side logs.
  • Session authentication tokens. If you are signed in to a work app or another sensitive service, its traffic leaves outside the tunnel during the gap. Most services send session tokens over HTTPS, which still encrypts them, but any that don't could be exposed.

Hotel. Airport. Café. CyberFence comes with you.

At the hotel, the airport and the café: turn on CyberFence and your connection is encrypted on your laptop, phone and iPad. In under a minute.

Watch the Hotel. Airport. Café. film

Select play to load YouTube, then start the film in the player. YouTube processes data when loaded; its privacy policy applies.

Watch on YouTube (opens a new tab)

Read the video transcript

Is this network safe to use? You ask it at every stop on a trip.

At the hotel, turn on CyberFence, and your laptop's connection is encrypted through US-based servers. At the airport, the Network view on your phone shows the network you're on, and whether it's secured. At the café, one tap connects your iPad.

Sign in on each device with the same account.

Hotel. Airport. Café. CyberFence comes with you. Get protected today.

How a Kill Switch Works Technically

The sturdiest kill switches work through firewall rules at the operating system level, rather than inside the VPN app alone, so they keep blocking traffic even if the app crashes. This is an important distinction.

When your VPN connects, the kill switch adds two firewall rules: a "block everything" rule on the physical network interface, and a "allow only VPN-routed traffic" exception. These rules remain active throughout the connection cycle, including during reconnects and disruptions. If the VPN tunnel drops, the exception goes away but the block rule remains — so no traffic can escape regardless of what applications are running.

When the VPN reconnects, the exception rule is reinstated and normal traffic resumes. From your side, there is a pause in connectivity. When it works as designed, nothing leaves the device outside the tunnel in the meantime. Test it on your own devices to be sure.

System-Level vs. Application-Level Kill Switches

Not all kill switches work the same way. There are two main types, and understanding the difference matters for choosing the right configuration for your needs.

System-Level Kill Switch

A system-level kill switch blocks all internet traffic on your entire device when the VPN drops. Nothing gets through — not your browser, email client, background applications, or automatic updates. This is the maximum protection option: if the VPN is not active, nothing goes online.

The tradeoff is that if your VPN has connection stability issues, you lose internet access entirely until it reconnects. For most users this is a brief inconvenience. For users whose main concern is that no data leaves their device outside the tunnel, this is the safer setting.

Application-Level Kill Switch

An application-level kill switch lets you choose which specific applications are blocked when the VPN drops. Your browser and work applications lose connectivity, but your music streaming keeps playing. Your email client stops, but background backup software continues.

This approach offers more flexibility but less comprehensive protection. Non-selected applications remain connected through your ISP during a VPN drop. For users whose threat model requires that all traffic be protected at all times, application-level kill switches leave gaps.

What Triggers a Kill Switch in Practice

VPN connections can drop for reasons that have nothing to do with the VPN itself:

Network switches. Moving from Wi-Fi to mobile data, or between Wi-Fi networks, creates a brief gap during the handoff. Your device disconnects from one network and connects to another, interrupting the VPN tunnel in the process. A kill switch holds traffic back during each handoff so it doesn't go out over the open network.

Server switching. When a VPN client switches between servers — for load balancing, speed optimization, or reconnecting after a timeout — there is a brief handoff period between disconnecting from the old server and establishing a connection to the new one. Without a kill switch, any traffic during that handoff travels unprotected.

Bandwidth throttling. Congested or throttled connections can cause timeouts that drop the VPN connection. The tunnel fails not because of the VPN but because of network conditions. A kill switch stops traffic from leaking until the tunnel is rebuilt.

Unstable public WiFi. Weak café or hotel Wi-Fi signals cause devices to hop between networks or drop connections entirely. This is a common cause of VPN gaps, and the scenario where a kill switch is most useful.

Software crashes and system updates. VPN app crashes or restarts can leave the VPN starting late, after the operating system's network is already active. During that window, your device may send traffic outside the tunnel. A kill switch built into the operating system's firewall can block traffic until the VPN is up.

Do You Actually Need a Kill Switch?

The honest answer depends on what you use your VPN for.

If you use a VPN primarily to access geo-restricted streaming content and privacy is not your primary concern, a kill switch is less critical. A three-second unprotected window while your Netflix stream continues is not a meaningful risk in that context.

If you use a VPN for any of the following, a kill switch is worth turning on where your VPN app offers one:

  • Working remotely with access to sensitive work systems. A brief gap can expose your real IP address and any traffic that isn't otherwise encrypted to anyone watching the network.
  • Accessing client data as a professional. Healthcare, legal, financial and accounting professionals often work under their employer's or regulator's security rules. A kill switch helps keep traffic inside the VPN during drops, but it doesn't meet those rules on its own; ask your IT team what they require.
  • Using public WiFi regularly. Coffee shops, airports, hotels and co-working spaces are where connections drop often and where traffic outside the VPN is most exposed.
  • Handling any data where a brief IP exposure is a problem. Journalists, researchers, or anyone whose location or identity needs to stay private should turn one on.

The practical test: if you would be comfortable browsing without a VPN on the network you are using, a kill switch matters less. If you would not, a kill switch is the setting that keeps your traffic from quietly leaving the tunnel when the VPN drops.

What a Kill Switch Does Not Protect Against

A kill switch solves one specific problem: data leaking during a VPN tunnel drop. It does not address other aspects of VPN security:

  • It does not prevent DNS leaks that happen through separate mechanisms while the VPN is connected. Run a free DNS leak test while connected to check for those.
  • It does not protect your privacy if your VPN provider logs your activity. That depends on the provider's no-logs policy, so read it.
  • It does not protect against attacks targeting the VPN connection itself, rather than the gap during disconnects.
  • It does not prevent metadata exposure on mobile devices where cellular handoffs may bypass user-space controls.

A kill switch is one layer in a complete VPN security implementation — not the complete solution by itself. For context on the other layers, see our guide on how DNS filtering protects against threats the VPN tunnel cannot block and our breakdown of what a VPN does not protect you from.

The Bottom Line

A kill switch means that when your VPN drops, your traffic is blocked instead of quietly leaving outside the tunnel. Without one, network switches, server changes and connection interruptions can each create a brief window where your device runs without the protection you thought you had. For many professional and privacy-conscious users, that gap matters.

The tradeoff is small: when the VPN drops, your internet pauses until it reconnects. If that happens often, check your VPN settings or your network.

Where your VPN app offers a kill switch, turn it on and test it: check your IP with a free IP check while connected, turn off Wi-Fi or switch networks, and check again. On Android, the system's own "Block connections without VPN" setting, described in Android's developer guide, blocks traffic that doesn't use the VPN.

Frequently Asked Questions

What does a VPN kill switch do?

It blocks your internet traffic when the VPN connection drops, so nothing leaves your device outside the encrypted tunnel until the VPN reconnects.

Do I need a kill switch?

If you use a VPN on public Wi-Fi, for work or anywhere a brief IP exposure matters, turn one on where your VPN app offers it. For streaming alone, it matters less.

How do I test what happens when my VPN drops?

Check your IP with the VPN connected, turn off Wi-Fi or switch networks, and check again before the VPN reconnects. Then run a DNS leak test while connected.

Does Android have a built-in setting for this?

Yes. Android's VPN settings include a "Block connections without VPN" switch, which blocks traffic that doesn't use the VPN. Find it in Settings under VPN, next to your VPN app.

Does a kill switch stop DNS leaks?

Not all of them. Some DNS leaks happen while the VPN is still connected. Run a free DNS leak test to check.

Read Next

Want to go deeper? Read the CyberFence competitor comparison hub , our free privacy and security tools , or CyberFence plans and pricing .