VPN Kill Switch Guide

What a kill switch is, why it matters for privacy, and how to set it up and test it on your devices.

What Is a Kill Switch?

A VPN kill switch is a fail-safe that blocks internet traffic if your VPN disconnects unexpectedly. Without it, apps and browser tabs can briefly use your normal connection, revealing your real IP and DNS requests.

Key idea: A kill switch buys you time. It cuts traffic the instant the VPN tunnel drops, and restores it only after a secure connection is back.

Types of Kill Switches

Pro tip: Prefer VPNs that use system-level enforcement for their kill switch. It's harder to bypass during app crashes or sleep/wake transitions.

How to Enable a Kill Switch (Popular Platforms)

Windows

  1. In your VPN app, open Settings → Security and toggle Kill Switch on.
  2. Optional: Create Windows Firewall rules that only allow traffic when the VPN adapter is up.
  3. Test below to confirm it actually blocks traffic on drop.

macOS

  1. Enable the kill switch in the VPN app.
  2. For stricter control, use a firewall app (e.g., Little Snitch/Lulu) to allow only VPN interface.
  3. Reboot or re-connect; then test.

iOS & Android

  1. Enable the kill switch or Always-on VPN / Block connections without VPN in OS settings (availability varies by version).
  2. In the VPN app, turn on kill switch and leak protections.
  3. Test on mobile data and Wi-Fi; behavior can differ.

Linux

  1. Enable kill switch in the VPN app if supported (often iptables/nftables backed).
  2. DIY: write iptables/nftables rules to drop traffic unless via the VPN interface.
  3. Test with your leak page + curl to confirm blocking on drop.

How to Test Your Kill Switch (2 Minutes)

  1. Connect to your VPN and open our IP & DNS Leak Test in one tab; start a video stream in another.
  2. Force a drop: disconnect the VPN from the app, or force-quit the app.
  3. Pass: Internet cuts off immediately. Tabs time-out. After the VPN reconnects, traffic resumes.
  4. Fail: Pages keep loading using your real IP. Fix it using the steps below.
Heads up: Some apps (e.g., torrent clients) can maintain sockets during brief drops. Enable their built-in "use VPN network interface only" option where available.

Common Kill Switch Issues (and Fixes)

Recommended VPNs with Reliable Kill Switch

We've had consistent success with these providers' kill switch implementations:

or compare all options on Best VPNs for Privacy.

Related Guides

Summary

A kill switch is essential if you care about privacy. Turn it on, use providers with strong OS-level enforcement, avoid risky split tunneling, and test regularly. If something breaks, the fixes above usually solve it fast.