Privacy & security
What is a VPN kill switch?
How a kill switch stops your real IP leaking when the VPN drops.
Updated · First published · 7 sources
The short answer
A VPN kill switch blocks your internet traffic whenever the VPN tunnel isn’t connected, so nothing goes out over your normal connection with your real IP address. Most VPN apps include one, and Android has one built in, but it isn’t always on by default, so turn it on and test it.
What does a VPN kill switch do?
Without a kill switch, your device keeps using the internet when the VPN connection drops. Apps carry on over your regular connection, so websites and peers see your real IP address, and your internet provider sees your unencrypted traffic, until the VPN reconnects.
A kill switch closes that gap. While the tunnel is down, traffic outside it is blocked, and normal access returns once the VPN is back. Windows describes its own version the same way: if the VPN connection isn’t available, “outbound network traffic is blocked”.
Why does a VPN connection drop?
Short drops are normal. They happen when you switch between Wi-Fi and mobile data, when your device wakes from sleep, when a hotspot connection falters, or when a VPN server restarts. Reconnecting can take a few seconds, and an app that is downloading or syncing in the background can send traffic in that time.
What kinds of kill switch are there?
System-wide
Blocks all traffic on the device while the VPN is down. This is the safer choice for most people, and it’s what Android’s built-in setting does.
App-level
Closes only the apps you choose, such as a torrent client, when the VPN drops, and lets everything else carry on. NordVPN’s Windows app, for example, offers both kinds, and its app kill switch is off by default.
Some apps only block traffic after an unexpected drop and let you browse normally when you disconnect on purpose. Others block in both cases. Check your app’s help page so you know which you have.
Does your phone or computer have a kill switch built in?
- Android: yes. Since Android 7.0, Android can keep a VPN running at all times (“Always-on VPN”), and the “Block connections without VPN” switch makes the system block any traffic that doesn’t use the VPN. Android’s developer documentation notes that VPN apps can opt out of always-on, so some don’t support it.
- iPhone, iPad and Mac: the kill switch comes from your VPN app. Apple lets VPN apps ask the system to send nearly all traffic through the tunnel, so look for the setting in the app.
- Windows: a “LockDown” VPN mode blocks traffic when the VPN is down, but it’s set in a VPN profile, typically by an IT admin, and only for the built-in IKEv2 type. For a personal VPN, use the app’s kill switch.
How do you turn on the kill switch on Android?
- Install your VPN app and connect once, so it appears in your VPN settings.
- Open Settings and go to Network & internet, then VPN. If you can’t find it, search Settings for “VPN”. On Samsung phones it’s under Connections, then More connection settings, then VPN.
- Tap the gear icon next to your VPN.
- Turn on Always-on VPN.
- Turn on Block connections without VPN.
Menus vary by manufacturer and Android version, and some VPN apps don’t support always-on. If you don’t see the option, use the kill switch in the VPN app’s own settings. On other devices, look in the app’s settings for “kill switch”, “network lock” or similar wording.
What won’t a kill switch block?
Even a full kill switch has exceptions. Apple’s developer documentation says the system always keeps some traffic outside the tunnel, including:
- Traffic that keeps the device on the local network, such as DHCP.
- Captive portal sign-in for Wi-Fi hotspots.
- Some cellular services, such as VoLTE calls.
- Traffic to a companion device, such as an Apple Watch.
A kill switch also can’t fix a VPN that leaks while it’s connected. That needs DNS leak protection and a leak test.
How do you test your kill switch?
- With the VPN off, note your real IP address on a checker such as ipleak.net.
- Turn on the kill switch and connect to the VPN. Reload the checker and confirm it shows the VPN’s address.
- Start something that keeps the connection busy, such as a long video.
- Simulate a drop: turn Wi-Fi off and back on, or switch to mobile data.
- Reload the checker straight away. You should see either no connection or the VPN’s address, never your real IP.
Disconnecting in the app is not a real test, because some apps deliberately lift the block when you disconnect on purpose.
When do you need a kill switch most?
Turn it on whenever a single exposed packet matters: on public Wi-Fi, and when torrenting, where other peers can see the IP address you connect from. The cost is that you lose internet access while the VPN is down, and you may need to pause it to sign in to a hotel or airport hotspot.
Every provider in our [rankings](/) includes a kill switch. Our methodology counts it under security features.
Common questions
Is a VPN kill switch on by default?
Not always. It depends on the app and platform, and some apps leave the app-level version off. Check your VPN’s settings after you install it.
Does Android have a built-in VPN kill switch?
Yes. Turn on Always-on VPN and Block connections without VPN for your VPN in Settings, under Network & internet, then VPN. Menu names vary by phone.
Why can’t I connect to hotel Wi-Fi with my kill switch on?
Many hotspots need you to sign in on a web page before the VPN can connect, and a strict kill switch can block that page. Pause the kill switch, sign in, then turn it back on before you browse.
Do I need a kill switch for torrenting?
Yes. Peers in a torrent swarm can see the IP address you connect from, so a short drop without a kill switch can expose your real one.
Sources
We checked this guide against these pages on October 22, 2026.
- VPN (Always-on VPN and Block connections without VPN) · Android Developers
- Connect to a virtual private network (VPN) on Android · Android Help
- includeAllNetworks · Apple Developer Documentation
- VPN security features (LockDown VPN) · Microsoft Learn, Jan 28, 2025
- NordVPN Kill Switch: how does it work · NordVPN Help Center
- IPleak.net · IPleak.net
- BEP 3: The BitTorrent Protocol Specification · BitTorrent.org