Why your VPN keeps disconnecting and how to get a stable connection back
Menu
Why your VPN keeps disconnecting and how to get a stable connection back
A VPN (virtual private network) disconnects when the path to the server is lost, the system or another app stops the client, or an idle timeout triggers. Try a different server, then a different network and protocol.
If a VPN (a virtual private network, an encrypted tunnel for traffic) disconnects after the phone is locked, on Android check the app's battery restrictions. On iPhone, compare how it behaves with and without Low Power Mode.
If your VPN (virtual private network) disconnects after a pause, check the idle timeout and the loss of the connection entry in the router.
If the disconnect coincides with screen locking or a pause in activity, check power saving settings and timers.
The moment of disconnection hints at the cause
A tunnel means an encrypted connection to a server. Note when the status changes to "Disconnected" or "Reconnecting". The case of "Connected, but no internet" requires separate diagnostics.
When it drops
Probable cause
First check
Every one or two minutes
The client stops receiving service packets
Connect to a different server
Only on one network
Unstable Wi-Fi or traffic filtering
Switch to mobile data
When leaving home
The phone's network address changes
Check the connection without switching between networks
When the screen locks
Background activity restrictions or sleep
Compare performance with and without power saving
After a pause with no traffic
Idle timeout or lost NAT record
Compare active use with idle time
When another VPN starts
The second client displaces the first
Disable the second personal VPN
On a work device, report your observations to your organisation's technical support. Do not change corporate policies.
The connection drops: checks in order
Change one condition at a time. Test the connection for longer than the usual interval between drops.
1. The failure repeats on the selected server
The server may be overloaded, or the route to it may be failing. A reconnecting icon by itself does not prove overload.
Choose a different server while keeping the same protocol.
Repeat the action during which the connection dropped.
If a different server works reliably, keep it.
2. All servers disconnect on one network
Unstable Wi-Fi disrupts the connection to the server. The network may also restrict certain types of traffic.
Switch from Wi-Fi to mobile data.
Check the same server with the same protocol.
For example, if the mobile connection is stable with the same settings, check your home network and the route from it. This is not yet proof of blocking.
3. The network interferes with the chosen protocol
A network may block UDP (User Datagram Protocol), which sends packets without delivery confirmation. TCP (Transmission Control Protocol) tracks delivery. Switching to a different transport protocol sometimes helps.
Switch the protocol or transport in the client settings, if the choice is available.
Check the connection on the problem network.
If all servers disconnect on one network, try CitadelVPN: VLESS over TCP and other options for difficult networks are available, including Hysteria2. Ask support to configure VLESS over TCP. Verify the result: changing the transport does not guarantee stability and does not fix unreliable Wi-Fi.
4. Two apps are trying to control the connection
An antivirus with a VPN feature also creates a tunnel. On Android, a second VPN service automatically stops the first: the apps may take turns "grabbing" the connection.
Disable the second personal VPN, including the antivirus's VPN feature.
Check whether the remaining client stays connected.
If the disconnection coincides with connecting another of your devices, check the concurrent connection limit in the terms of service.
5. The phone disconnects on lock or network change
Battery optimisation on Android may restrict or delay the VPN client's background connections. On iPhone, the link between disconnections and power saving needs checking: Apple does not document such an effect.
Compare the phone's performance with power saving on and off.
Enable "Always-on VPN" on Android if the client supports this mode.
Always-on VPN keeps the VPN service running, but the app itself has to restore the tunnel. The setting is not available in all clients.
When switching from Wi-Fi to mobile data, the IP address (the device's network address) changes, which can break the tunnel. WireGuard is designed for such changes; OpenVPN may require reconnection. IKEv2 (Internet Key Exchange protocol version 2) maintains the connection via MOBIKE (an extension for address changes), if both sides support it. A pause is still possible. More details: VPN disconnects on a phone.
6. The connection drops after idle time
An idle timeout deliberately closes an inactive connection. NAT (Network Address Translation), which your router uses to share one external address, may also drop the entry for an idle connection.
Check whether the connection persists during active use.
See whether automatic disconnection is set in your personal VPN profile.
In the built-in Windows client, check IdleDisconnectSeconds: the setting does not apply to standalone VPN apps. In WireGuard, PersistentKeepalive packets help maintain the NAT record but do not prevent the device from sleeping. Details: why a VPN disconnects after idle time.
Why does reconnection go round in circles?
If service packets stop arriving, the client restarts the tunnel. This is a normal reaction to lost connectivity and does not, by itself, explain the cause.
Sets the interval between service pings and the wait before restarting
Checks whether the other side is reachable
ping-restart
Restarts the tunnel after a set time without a response
By default 120 seconds in client mode, unless the server sets a different value
inactive
Ends the connection after idle time
This is a separate timer; disabled by default
connect-retry
Sets pauses between connection attempts
By default it starts at 1 second; after 5 attempts to the server the pauses double, with a default limit of 300 seconds
Look for ping-restart in the client log: the app may use different values.
Frequently asked questions about repeated disconnections
Does a drop after two minutes prove a router timeout?
No. The interval may coincide with the response wait in OpenVPN. NAT requirements do not specify your router's actual timer. Compare the timings with the client log.
Do I have to choose another country to test?
No, choose a different server in the same location, if the client allows it.
Do two VPN apps conflict on Android just by being installed?
No, the restriction applies to the active service per user or profile. Check whether the second app starts automatically.
What to do if the drops persist
Check the server, the network, the transport and any second VPN, in that order. If drops follow a screen lock, check background restrictions; if they follow inactivity, check timers. Always-on VPN aids reconnection but does not eliminate network loss.
If the cause remains unclear, send support the times of the drops with the time zone, the network, the server, the protocol, the operating system and client versions, the log and the results of your checks. If any keys or tokens got into the log, remove them before sending.