Last updated: 25 September, 2026 |  Read time: 11 minutes

If your VPN keeps disconnecting as soon as you connect to a WiFi network. At home in a coffee shop or on hotel WiFi. This is not a trick. Many remote workers, students and people who care about privacy report the problem. In every case the problem comes from one of six basic causes. We have tested this situation on Windows, macOS, Android and iOS using routers and many VPN providers. This guide shows the steps that solved the problem.

Quick Answer

In situations a VPN that disconnects only on WiFi. But stays linked on mobile data or wired Ethernet. Is caused by one of three things: the routers power‑saving mode an MTU mismatch or the WiFi adapter sleeping. Turning off WiFi power management choosing a VPN protocol such as WireGuard or IKEv2 and setting the MTU to 1400 solves the problem for users in less than ten minutes. No reinstallation of the VPN is needed.

Why Does My VPN Disconnect on WiFi?

A VPN connection consists of two layers: the base WiFi or internet connection and an encrypted tunnel built on top. When a user says, “my VPN keeps disconnecting ” the VPN application is a sign that the problem has happened. The true problem is in the layer the WiFi connection. This is why fixing a VPN problem on WiFi is not the same as fixing a VPN problem.

Here are the six causes we see often roughly in order of how common they are:

1. WiFi Adapter Power Management

every laptop has a setting that allows Windows or macOS to turn off the WiFi adapter when it is idle to save battery. The problem is that the system does not consider a VPN tunnel that runs quietly in the background. The adapter shuts down for a moment the VPN handshake stops and the VPN application displays “disconnected,” even though you did not do anything.

2. Router‑Side Idle Timeouts

home routers, especially ones from ISPs use a NAT timeout for connections that are idle usually between 60 and 300 seconds. If a VPN tunnel does not send a stream of keep‑alive packets the router may drop the connection silently. The VPN client only sees the problem when it tries to send the packet and receives no reply.

3. MTU Mismatch

MTU or Maximum Transmission Unit is the packet size that a network link can carry. A VPN adds encryption overhead to each packet. If the MTU is set high packets that normally fit may become fragmented or dropped silently. This issue is more obvious on WiFi because wireless links normally use a MTU than wired Ethernet. Adding a VPN’s overhead can push the packet size beyond the limit.

4. Weak Signal or Channel Congestion

A VPN tunnel reacts quickly to packet loss than normal browsing. Ordinary web traffic can survive a lost packets because the browser retransmits silently. A VPN treats a streak of packets as a sign that the connection has failed and closes the tunnel. Therefore a WiFi signal that is acceptable for browsing may appear unstable for a VPN.

5. VPN Protocol Choice

Different VPN protocols react differently to WiFi roaming and short interruptions. Older protocols such as PPTP and OpenVPN over TCP were not made for WiFi handoffs. A two‑second WiFi glitch can then require a reconnect. Newer protocols like WireGuard IKEv2/IPsec and variants built on them such as NordLynx or Lightway were created to survive network drops and resume the tunnel without tearing it.

6. Security Software and Firewall Conflicts

Antivirus suites, third‑party firewalls and some routers smart security features look at VPN traffic. Sometimes see the encrypted tunnel as suspicious especially after a WiFi reconnect. This problem is less frequent than the three causes but it is worth checking if other fixes do not help.

Step by Step Fix

Work through these steps one by one. Most people find a fix in the three steps. We have listed these steps from the most common solutions to the more advanced ones.

Step 1: Turn Off WiFi Adapter Power Saving

 On Windows:

1-Right‑click the Start button and open Device Manager.

2-Expand “Network adapters”. Double‑click your WiFi adapter.

3-Go to the “Power Management” tab.

4-Uncheck the box that says “Allow the computer to turn off this device to save power.”

5-Click OK then reconnect VPN.

On macOS:

1-Open System Settings then go to Battery (or Energy Saver on versions).

2-Turn off “Put disks to sleep when possible” and avoid aggressive low‑power modes while VPN is active.

If you use a MacBook plug into power while working over VPN. This avoids most of these problems because power‑saving throttling is much stronger on battery.

Step 2: Switch VPN Protocol to WireGuard or IKEv2

1-Open VPN app. Find the “Protocol” option.

2-If OpenVPN (TCP) is chosen, switch to WireGuard first.

3-If WireGuard is not available switch to IKEv2/IPsec.

4-This single change fixes WiFi disconnects.

These protocols are designed to handle network interruptions without breaking the entire VPN tunnel.

Step 3: Lower Your MTU

1-Most VPN apps allow you to set the MTU in Advanced Settings.

2-Set it to 1400 of the usual 1500.

If your app does not show this option set it at the operating system level for your network adapter.

Lowering the MTU gives a loss of efficiency but provides more stability.

This is a change to try.

Step 4: Enable Auto‑Reconnect and Persistent Keepalive

1-every major VPN app has an “Auto‑Reconnect” or “Always‑On VPN” toggle in settings.

2-Turn that toggle on.

3-If you use WireGuard, including on a self‑hosted setup set the PersistentKeepalive value to 25 seconds in the configuration file.

This sends a heartbeat packet every 25 seconds so the router’s NAT table does not consider the VPN connection idle.

Step 5: Move Closer to the Router or Switch WiFi Bands

1-If you have a dual‑band router try switching from 5GHz to 2.4GHz or the other way around.

5GHz is faster. Its range is shorter and it is more affected by walls and distance.

2.4GHz reaches farther. Can be crowded by neighboring networks.

2-Switching bands takes thirty seconds and usually shows which band is causing packet loss and the VPN disconnects.

Step 6: Temporarily Disable Third‑Party Firewall/Antivirus

1-As a step temporarily turn off any third‑party antivirus or firewall software.

2-Check whether the disconnects stop.

3-If they do you have confirmed the cause. Then turn the software on and add VPN app to its trusted or allowed applications list instead of leaving it off forever.

Step 7: Restart Your Router

1-This may sound simple. Router firmware can build up a stale NAT table after days or weeks of uptime especially on consumer hardware.

2-A quick power cycle—unplug the router for 30 seconds then plug it back in—clears the table.

This has fixed VPN disconnects many times in our tests.

| Protocol | WiFi Stability Speed | Best For

|———-|—————-|——-|———-|

| WireGuard | Excellent | Fastest | Most users, on WiFi or mobile devices |

| IKEv2/IPsec | Excellent | Fast Mobile devices switching networks often |

| OpenVPN (UDP) | Good | Moderate | Balanced compatibility |

OpenVPN (TCP) | Fair Slower | Restrictive networks/firewalls |

| PPTP | Poor |. Insecure | Not recommended in 2026 |

When the Problem Is Your ISP or Network Not Your VPN

If you have tried all the steps above and the disconnects still happen at intervals— for example exactly every 20 minute  test on a different network. A mobile hotspot is the option.

If VPN stays stable on the phone’s hotspot but drops on your home WiFi the problem is in the router or ISP settings not in the VPN or device.

In that case contact the ISP, about NAT timeout settings. Replace an old router. That is the fix.

 Asked Questions

Does a VPN slow WiFi and cause disconnects?

A VPN can slow down your connection because the VPN encrypts data. However slow speed by itself does not cause VPN disconnects. VPN disconnects are always due to one of six problems mentioned earlier: power management, NAT timeouts, MTU, signal quality, protocol or software conflicts. Raw speed is not the cause.

Why does my VPN work fine on data but not on WiFi?

This is a sign that the issue lies with your WiFi network or adapter not with the VPN service. Begin with Step 1 which checks adapter power management and Step 3 which checks MTU. These are the two common WiFi problems.

Is it normal for a VPN to disconnect sometimes?

VPN disconnects are normal when you switch networks or wake a device from sleep.. Frequent disconnects, occurring every few minutes on a stable network while the device is in use are not normal. Those frequent disconnects always show one of the problems described in this guide.

Should I use a VPN if my paid VPN keeps disconnecting?

Switching to a different VPN rarely fixes a WiFi disconnect issue because the root cause is usually your device, router or network settings not the VPN service. Work through the steps above first. If the problem still happens with different VPN apps on the same network that strongly confirms the issue is local, to your setup.

About This Guide

 We tested it on Windows 11 macOS, Android and iOS devices many router brands and several major VPN protocols. We update our guides when operating systems or VPN apps change their settings menus. If a step above does not match what you see tell us in the comments. We will update the guide.

Related fix

https://appfixguide.net/vpn-says-connected-but-websites-wont-load-the-fix/