VPN kill switch: what it does and how to turn it on
A VPN kill switch blocks your internet connection whenever the VPN tunnel drops, so nothing leaves your device outside the encrypted connection. When the VPN comes back, traffic flows again.
Without one, a dropped VPN usually means your phone or laptop quietly goes back to the normal connection, and your apps carry on as if nothing happened.
What a VPN kill switch means
A VPN sends your traffic through an encrypted tunnel to a VPN server. Tunnels drop. Wi-Fi hands over to mobile data, a laptop wakes from sleep, a hotel network hiccups, the VPN app gets closed by the system to save memory.
In those seconds, the device still has a working internet connection. It just is not the VPN's. Apps that were syncing in the background reconnect over your normal network, from your real IP address, through whoever runs that network.
A kill switch closes that gap. It treats "VPN down" as "internet off" until the tunnel is back.
The two kinds of kill switch
There are two places a kill switch can live, and it helps to know which one you have.
Inside the VPN app. Many VPN apps have a kill switch toggle in their own settings. The app watches the tunnel and blocks traffic when it drops. How well that works depends on the app and on what the operating system lets it do.
Enforced by the operating system. Android has a system level version built in, and Apple gives VPN apps a setting that routes nearly all traffic through the tunnel. These are harder to get around, because the block comes from the system rather than from an app that might itself have crashed.
The safest setup uses both where your device offers them.
How to turn on a kill switch on Android
Android calls its version always-on VPN, with a second switch that blocks everything else. According to Google's Android Developers guide to VPNs:
- Always-on VPN starts the VPN when the device boots and keeps it running while the device is on. It is available in Android 7.0 or higher.
- "Always-on VPN can also block connections that don't use the VPN." The switch for this is called Block connections without VPN, in the VPN options panel in Settings.
The steps:
- Install your VPN app and connect it once, so Android lists it as a VPN.
- Open the Settings app and find the VPN screen. The quickest route is to search Settings for "VPN".
- Open the options for your VPN app.
- Turn on Always-on VPN.
- Turn on Block connections without VPN.
Google's guide says that when you turn this on, Settings warns you that you will not have an internet connection before the VPN connects, and asks you to continue or cancel. That warning is the kill switch doing its job.
Two things to know:
- If the always-on VPN disconnects or cannot connect, Android 8.0 and later show a notification you cannot swipe away until the VPN reconnects or you turn always-on off.
- A VPN app can opt out of always-on. If the switches are greyed out for your VPN, the app has opted out, and you will need to rely on the kill switch inside the app.
How to turn on a kill switch on iPhone, iPad and Mac
On Apple devices, the kill switch is a setting inside your VPN app. Turn it on there.
Under the hood, Apple gives VPN apps a property called includeAllNetworks. Apple's documentation describes it as a setting that controls "whether the system sends most network traffic over the tunnel". It is available from iOS 14, iPadOS 14 and macOS 10.15.
"Most" is the honest word. Apple lists traffic that always stays outside the tunnel, whatever the VPN app does:
- Network control traffic that keeps you connected to the local network, such as DHCP.
- Captive portal traffic, the sign-in page you get on hotel and airport Wi-Fi.
- Certain cellular services that use the cellular network only, such as VoLTE.
- Traffic to a companion device, such as an Apple Watch.
A related property, excludeLocalNetworks, lets local network features such as AirPlay, AirDrop and CarPlay keep working outside the tunnel.
So if AirDrop or your Apple Watch keeps working with the kill switch on, nothing is broken. That traffic was never meant to go through the VPN.
When a kill switch matters
Leave it on all the time if you can. It matters most in these moments:
- Public Wi-Fi. Networks in cafes, hotels and airports drop and reconnect often. Our post on whether a VPN protects you on public Wi-Fi covers what the VPN does there.
- Switching networks. Walking out of Wi-Fi range onto mobile data is a classic moment for a tunnel to drop. See does a VPN work on mobile data.
- Waking from sleep. Laptops and phones often reconnect to the network before the VPN catches up.
- Background apps. Mail, messaging and cloud backup sync on their own, so they are the apps most likely to send something during a gap.
Downsides and common problems
A kill switch does exactly what it says, which can surprise people:
- No internet when the VPN is off. On Android with Block connections without VPN on, turning off the VPN means turning off your internet. Turn off always-on first if you need a normal connection.
- Hotel and airport sign-in pages. You often have to sign in to the Wi-Fi before any VPN can connect. On Apple devices, captive portal traffic is outside the tunnel by design. On other setups you may need to pause the kill switch, sign in, and turn it back on.
- Apps outside the VPN. Google's guide warns that when non-VPN traffic is blocked, apps outside the VPN's allowed list lose their connection. If you use split tunneling, check the apps you excluded still work.
- A VPN that cannot connect. If the server is unreachable, the kill switch keeps you offline. Try another server or network, rather than turning the protection off.
How to test your kill switch
You do not need special tools for a basic check:
- Turn on the kill switch and connect the VPN.
- Start something that shows network activity, such as a page that refreshes your IP address.
- Disconnect the VPN from inside the app, or switch from Wi-Fi to mobile data.
- Watch whether traffic stops until the VPN reconnects.
If your real IP address shows up at any point, the kill switch did not hold. Our guide on how to tell if your VPN is working walks through this test alongside the IP, DNS, IPv6 and WebRTC checks.
Frequently asked questions
What does a VPN kill switch mean?
It is a setting that blocks your internet connection whenever the VPN drops, so no traffic goes out unprotected. It comes back on when the tunnel reconnects.
Should I turn on the VPN kill switch?
For most people, yes. The cost is losing internet for a few seconds when the VPN reconnects. The benefit is that nothing slips out in the open during those seconds.
Does the iPhone have a built-in VPN kill switch?
On iPhone the kill switch is a setting in your VPN app. Apple provides the includeAllNetworks property that lets a VPN app send most traffic through the tunnel, and lists the system traffic that always stays outside it.
Where is the VPN kill switch on Android?
In the Settings app, on the VPN screen. Open your VPN app's options and turn on Always-on VPN and Block connections without VPN. The feature needs Android 7.0 or higher.
Why do I have no internet with the kill switch on?
Because the VPN is not connected. The kill switch is blocking traffic until it is. Reconnect the VPN, pick another server, or check the network itself works.
Does a kill switch slow down my internet?
A kill switch does not carry your traffic, it only blocks it when the tunnel is down. Speed depends on the VPN connection itself. See does a VPN slow down your internet.
Kill switch on Secria VPN
If you want to try a VPN without paying, Secria VPN Free works on iPhone, iPad, Mac and Android with a free Secria account, no card needed. It includes a kill switch that blocks the internet if the VPN stops, on Free too, along with post-quantum encryption on every connection (WireGuard with an ML-KEM-1024 key added to every session) and Stealth mode for networks that block VPNs. Free servers are in Frankfurt and Dallas, one device at a time. Paid plans add every location, Multi-Hop, split tunneling and 5 devices.
No activity logs: we do not record browsing, DNS queries or traffic contents. See Secria VPN.
Secria fact-checks every post against primary sources. Spotted something wrong or out of date? Email hq@secria.me and we will correct it.