VPN Keeps Disconnecting? Troubleshooting Steps to Stay Online

A VPN that repeatedly drops can interrupt browsing, calls, and downloads. Check the most likely causes first, including an unstable network, battery optimization, and background app restrictions. Then test VPN settings, another server, or a different protocol, with a clear next step if you need support.

A VPN that keeps disconnecting can interrupt browsing, calls, streaming, and downloads. The cause is not always the VPN service itself: a weak Wi-Fi signal, a change between Wi-Fi and mobile data, or an operating system restricting background activity can all break a tunnel. Start by noting when the drop happens and whether the device’s ordinary internet connection is still working. That distinction helps you choose a useful test instead of changing several settings at once.

Identify When and Where the VPN Disconnects

Before changing settings, look for a pattern. Does the VPN disconnect only when the screen locks, when you leave home, when a call starts, or when a particular app opens? Does it happen on one network but not another? Record the device, VPN client, network type, and what you were doing just before the interruption. You do not need technical logs to begin; a short description of the circumstances is often enough to narrow down the cause.

When the VPN drops, check whether a regular website loads after disconnecting the VPN. If it does not, troubleshoot the underlying connection first: reconnect to Wi-Fi, check mobile data, or follow the network provider’s normal troubleshooting steps. If ordinary internet access works but the VPN does not reconnect, focus on the client, its selected route, and the device’s background settings.

  • ✅ If both the VPN and ordinary internet stop working, check the local network or mobile connection first.
  • ✅ If the VPN drops after you move between Wi-Fi and mobile data, test the transition as a separate case.
  • ✅ If it happens with the screen locked, check background and battery restrictions.
  • ❌ Avoid changing the protocol, route, and system settings all at once; you will not know which change mattered.

Start with the pattern, not a random setting: knowing whether the drop follows a network change, screen lock, or specific app makes each later test more informative.

Check the Network Before Changing VPN Settings

A VPN relies on a working internet connection beneath the encrypted tunnel. Wi-Fi that appears connected may still have a weak signal, a sign-in page waiting to be accepted, or interruptions caused by a router or access point. On public Wi-Fi, complete any required network sign-in before connecting the VPN. If the sign-in page does not appear, disconnect the VPN briefly, open a normal browser page, complete the network prompt, and then reconnect.

Try a controlled comparison. Keep the VPN configuration unchanged and test it on another network that you are allowed to use, such as your own mobile connection. If it stays connected there but drops on one Wi-Fi network, the local network is a more likely source than the VPN profile. If the connection fails on every available network, continue with client and route checks. This comparison does not prove the exact cause, but it keeps you from making unnecessary changes to a working configuration.

Network transitions deserve their own test. A phone may leave Wi-Fi as you walk away from a router, then switch to mobile data. A laptop may move between access points or wake from sleep while its network is reconnecting. Some clients recover automatically; others may need a moment or a manual reconnect. Test while stationary first, then repeat the transition that usually causes the problem. If the tunnel reconnects only after you open the VPN app, investigate whether the operating system has restricted background activity.

Routers and networks can also have policies that affect VPN traffic. If a connection works on one network and consistently fails on another, ask the network administrator whether VPN connections are permitted. Avoid attempting to bypass an organization’s network rules. For a home network, restarting the router may be a reasonable basic test, but check whether other people rely on it before doing so.

Review Battery Optimization and Background Restrictions

Mobile operating systems may limit apps that run in the background to reduce battery use. Depending on the device and its software version, restrictions can pause network activity, close a VPN client, or delay its ability to reconnect after the device sleeps. The menu names differ between manufacturers, so search the device settings for the VPN app and review battery, background activity, and data-use permissions.

On Android, check whether the VPN app is set to restricted battery use or prevented from running in the background. If the disconnection pattern points to a background restriction, temporarily allow background activity for the VPN app and repeat the same lock-screen test. The exact options vary by Android version and manufacturer. Do not disable battery protections for every app as a first step; make a narrow change, test it, and keep it only if it solves the issue without causing an unwanted impact on battery life.

On iPhone and iPad, review the VPN app’s permissions, the system VPN status, and any available background or low-power settings. iOS manages background activity differently from Android, and an app may not offer a direct “keep alive” switch. If the drop occurs during Low Power Mode, after a system update, or when the device changes networks, compare the same conditions with that setting changed one at a time. Do not assume that leaving the app open on screen is a permanent fix.

On Windows and macOS, check whether the device sleeps, changes network adapters, or applies power-saving settings when the lid is closed. Also check whether another security or network utility is managing connections. Do not turn off firewall or endpoint protection broadly to test a VPN. If an organization manages the device, consult its administrator before changing policies that affect network access.

Change background permissions only when the evidence points there: if the VPN stays connected while the device is active but drops during screen lock, test the VPN app’s background allowance before adjusting unrelated network options.

A Step-by-Step Test for the VPN App, Route, and Protocol

Once the basic internet connection is stable, work through the VPN settings in a consistent order. Change one item, reconnect, and repeat the situation that previously caused a drop. If you use ShenVPN, begin from the official account and client information rather than copying configuration details from an unknown source. For a general overview of the service and supported platforms, see ShenVPN Free VPN for China.

  1. Update and reopen the client. Check that you are using the current version from the official source for your platform. Close and reopen the client, then reconnect. If the issue began after an operating-system update, check whether the client has a compatible update before changing its configuration.
  2. Refresh the configuration if applicable. If your client uses a subscription, refresh it using the app’s normal subscription update function. A stale or incomplete route list can make it harder to select a working connection. Do not share a private subscription URL while asking for help; treat it as an access credential.
  3. Test another available route. Keep the protocol and other settings the same, select a different route, and repeat the test. If only one route disconnects while another remains stable on the same network, the problem may be route-specific. This does not establish a permanent quality ranking; route conditions can vary.
  4. Compare supported protocols. If the client and service provide a protocol choice, test another supported option while keeping the route and network unchanged. Protocols such as WireGuard, Shadowsocks, VMess, Trojan, or Hysteria2 are not interchangeable labels: support depends on both the service configuration and the client. Use only combinations explicitly offered by the provider and accepted by your app.
  5. Restore the original setting if the test does not help. Note what you changed and return to the previous value before trying a different variable. This keeps the setup understandable and reduces the chance of ending up with several conflicting changes.

For each test, distinguish a connection failure from an app-specific problem. If the VPN client reports that it is connected but one website or application still fails, test a different destination and check the client’s routing mode. A per-app proxy or split-tunneling rule may exclude the app you are testing. Conversely, if all apps lose access while the VPN is on, reconnect and compare with the VPN off to identify whether the problem is broader than one destination.

Platform Checks and Signs of a Conflicting Connection

On Windows, confirm that the VPN client is allowed through the system’s normal network permissions and that the selected adapter is available. If you use another VPN, proxy, virtual network adapter, or security product, test with only the authorized connection active. Avoid deleting adapters or resetting all network settings as an early troubleshooting step, because those actions can affect other software and saved connections.

On macOS, check the system’s VPN or network settings and confirm that the profile shown there matches the client you intend to use. A profile left behind by an older app can cause confusion, but removing it may disrupt another legitimate connection. First disconnect unused clients and identify which app owns each profile. After a macOS update, a client may also need its permissions reviewed or its current version installed again from the official source.

On Android and iOS, the operating system generally allows one active system VPN connection at a time. If you switch between a dedicated VPN app and a compatible proxy client, disconnect one before starting the other. In clients such as Clash Verge, sing-box, or Shadowrocket, subscription import, route selection, and system-level VPN activation are separate steps. A route list appearing in the app does not by itself confirm that the system tunnel is active. Check the app’s status and the operating system’s VPN indicator, then test a destination that should use the selected route.

Linux setups can involve a desktop client, a command-line service, or system network settings. Check which process currently manages the connection and whether another service is trying to replace its routes. If a configuration was installed by an administrator, do not overwrite it with a personal profile. Keep a copy of the original settings before making an authorized change, and use the client’s own status information to confirm whether it connected or merely loaded a configuration.

For all platforms, a single clear test is more useful than repeated rapid reconnects. Give the app time to report a result, note any error message exactly as shown, and compare the same route under the same network conditions. If a different route or protocol helps, record that result rather than assuming that every setting needs to be changed.

When to Contact Support and What to Include

Contact the VPN provider or your network administrator if the problem continues across networks and routes, the app repeatedly reports an authentication or configuration error, or a recent update appears to have broken a previously working setup. If the device belongs to an employer or school, its administrator is the right contact for managed profiles and network policies. Support can investigate more effectively when you describe the exact conditions instead of saying only that the VPN is unstable.

Include your device platform and operating-system version, the VPN client name and version, whether the underlying internet works without the VPN, and whether the problem happens on Wi-Fi, mobile data, or both. Mention the approximate time and what was happening when it dropped, such as waking the screen, changing networks, or starting a particular app. Share the route name and protocol if the client displays them, but do not include passwords, private keys, full configuration files, or an unredacted subscription link.

If support asks for diagnostic logs, use the client’s built-in export or support function when available, and review the contents for personal information before sending. Do not upload logs to a public forum by default. A screenshot can help show an error, but first hide account identifiers, access tokens, server credentials, and any private URL. Keep a note of changes you made so support can distinguish the original setup from your tests.

  • ✅ Describe what still works when the VPN disconnects, including ordinary browsing without the tunnel.
  • ✅ State which network and route were used, and whether changing either one affected the result.
  • ✅ Quote the client’s exact error text and identify any recent app or operating-system update.
  • ❌ Never send passwords, private keys, or a complete subscription URL in a public post.

Give support a reproducible description: platform, client, network, route, and the action immediately before the drop are more useful than an unverified claim about a particular protocol or server.

Frequently Asked Questions

Why does my VPN disconnect when I lock my phone?

The operating system may restrict background activity or apply a battery policy to the VPN app. Check the app’s background and battery permissions, then repeat the same screen-lock test after changing only the relevant setting. If the connection also drops while the phone is active, investigate the network and route as well.

Can switching between Wi-Fi and mobile data cause a VPN drop?

Yes. A network change can interrupt the existing tunnel while the device establishes a new internet connection. Test each network separately, then test the transition. If the client does not reconnect automatically, check for an app update and review its documented reconnect behavior rather than repeatedly changing unrelated settings.

Should I change the VPN protocol whenever the connection drops?

Not as the first step. First confirm that ordinary internet access works, then check background restrictions and test another route with the original protocol. If the service and client offer another supported protocol, compare it as a controlled test and restore the original setting if it does not help.

The app says “connected,” but some apps cannot access the internet. What should I check?

Check whether the problem affects every app or only selected ones. Review per-app routing, split tunneling, and proxy mode in the client, and confirm that the operating system shows the expected VPN connection. If only one destination fails, the issue may be specific to that app or destination rather than a complete VPN disconnect.

Try It Free