Internet not working after turning on or off VPN
Candidate causes for the “No Internet after VPN” symptom include virtual adapters, DNS, routing settings, and kill switch. Check in order from step 1, ‘Disable and compare kill switch and always-on’.
First, check that this guide matches your problem
Do you have these symptoms?
- No internet after VPN
- Internet drops when VPN is turned off
- VPN network error
Common causes
- Virtual adapter, DNS, or routing settings
- Kill switch
- VPN driver
How to fix
4 steps, 33 min–1 hr in total. The easiest checks come first, so stop as soon as the problem is fixed.
A kill switch is designed to block all internet traffic when the VPN drops, so turning off the VPN or a failed connection looks like the whole internet is down.
- In the VPN app settings, turn off the kill switch (it may be called Kill Switch, Network Lock, or something similar).
- Also turn off auto-connect or always-on options and fully quit the VPN app.
- With the tray icon closed too, check whether the internet works.
What to check
If the internet comes back, the kill switch was likely the cause; if you need it, enable it only once the VPN server connection is stable. If it still fails, check leftover settings.
Did this step fix it?
If the VPN closes abnormally, the default route or DNS server can stay pointed at the VPN, so traffic can't leave through the real adapter.
- Press WinR, enter
ncpa.cplto open Network Connections, and check whether an adapter named TAP, WireGuard, or VPN is still shown as connected. - Run route print in Command Prompt and check that the 0.0.0.0 route's interface points to your real router gateway.
- If ipconfig /all shows the real adapter's DNS server fixed to an address the VPN used, change it to obtain automatically in adapter Properties → Internet Protocol Version 4 (TCP/IPv4).
- Run
ipconfig /flushdnsin an administrator terminal and restart the PC.
ipconfig /flushdnsWhat to check
The problem is resolved once the path and DNS are corrected and the Internet is connected. If only the browser doesn't work, check the proxy, and if it returns to the same state every time you reboot, reinstall the VPN client in step 4.
Did this step fix it?
Proxy-based VPNs and some clients change the system proxy, and if it isn't restored after quitting, browsers fail to connect.
- In Settings → Network & internet → Proxy, check whether Manual proxy setup is on, and turn it off if you didn't set it yourself.
- Also check the system proxy with netsh winhttp show proxy in an administrator terminal.
- If the VPN app also installed a browser extension, turn the extension off too and compare.
What to check
The problem is resolved by turning off the proxy and using the browser. If that doesn't work, reinstall the VPN client.
Did this step fix it?
If the VPN driver is damaged or no longer matches after a Windows update, it can affect the network stack even with the VPN off.
- Uninstall the VPN client in Settings → Apps → Installed apps and restart.
- In Device Manager → Network adapters, turn on View → Show hidden devices and uninstall any remaining virtual adapter from that VPN. Don't remove your real wired or wireless adapter.
- First confirm the internet works, then download the latest version from the VPN provider's site and reinstall.
What to check
If the Internet works after uninstallation and remains even after reinstallation, it is resolved. If it disconnects again as soon as you reinstall, contact your VPN provider for compatibility with your current Windows version. If that doesn't work even after deleting the VPN, consider Settings → Network and Internet → Advanced network settings → Reset network as a last option (for Windows 10, Settings → Network and Internet → Status → Reset network).
Did this step fix it?
Frequently asked questions
Related problems
If the symptoms do not match exactly, please check the issue below.