sodcalculator

10 Tech How-To

Fix VPN Not Working on Android Phone

Guide 10-60525 · Updated · Step by step

If your VPN app connects but websites still load slowly, fail to open, or show your real location, the problem is usually a DNS leak, a conflicting setting, or the VPN app itself being restricted by Android’s battery optimization. This guide walks through the most common causes and the exact steps to fix them, from checking your connection settings to reinstalling the app.

Why Your VPN Might Not Work on Android

Android’s networking stack is more complex than many people realize. A VPN creates an encrypted tunnel, but several things can break that tunnel or cause traffic to bypass it:

  • DNS leaks – Your device may still use your ISP’s DNS servers instead of the VPN’s, revealing your browsing activity.
  • Kill switch disabled – If the VPN drops, your traffic goes unprotected without a kill switch.
  • Battery optimization – Android may suspend the VPN app in the background, disconnecting the tunnel.
  • Weak signal or network restrictions – Some networks (like public Wi-Fi) block VPN protocols.
  • Outdated app or Android version – Bugs in older versions can cause connection failures.

Step-by-Step Fixes to Try First

Start with these basic checks – they resolve most issues quickly:

  1. Toggle the VPN off and on – Go to Settings → Network & internet → VPN, tap the gear icon next to your VPN, and toggle it off, then on again.
  2. Restart your phone – A simple reboot clears temporary glitches in the network stack.
  3. Switch between Wi-Fi and mobile data – If the VPN works on one but not the other, the problem is the network, not the VPN.
  4. Change VPN protocol – In your VPN app, try switching from OpenVPN to WireGuard or IKEv2 (or vice versa). Some networks block certain protocols.
  5. Check the VPN server – Connect to a different server in the same country or a nearby country to rule out server overload.

Fix DNS Leaks on Android

DNS leaks are a common reason a VPN appears to work but your real IP is still visible. To check, visit a site like ipleak.net or dnsleaktest.com while connected to the VPN. If you see your ISP’s DNS servers, follow these steps:

  1. In your VPN app, look for a setting called “DNS” or “Use private DNS”. Enable it and enter a trusted DNS like 1.1.1.1 or 8.8.8.8.
  2. Alternatively, go to Settings → Network & internet → Private DNS and set it to “Private DNS provider hostname” with one.one.one.one or dns.google.
  3. If your VPN app has a “DNS leak protection” toggle, turn it on.

Disable Battery Optimization for the VPN App

Android aggressively kills background apps to save battery, and this can disconnect your VPN. To prevent that:

  1. Go to Settings → Apps → See all apps and find your VPN app.
  2. Tap Battery → Battery optimization.
  3. Select “Don’t optimize” (or “Unrestricted” on some devices).
  4. Also check “Restrict background data” – make sure it’s off for the VPN app.

On Samsung phones, you may need to go to Settings → Apps → [VPN app] → Battery and choose “Unrestricted”. On Xiaomi, enable “No restrictions” in the same menu.

Check Android VPN Permissions and Settings

Sometimes the VPN app lacks the necessary permissions or Android’s built-in VPN settings interfere:

  • Go to Settings → Network & internet → VPN. If you see your VPN listed, tap the gear icon and verify “Always-on VPN” is enabled. This keeps the VPN active even when the app is in the background.
  • Make sure “Block connections without VPN” (the kill switch) is on – this prevents traffic from leaking if the tunnel drops.
  • Check that the VPN app has “Notification access” if it needs to show a persistent notification (required on Android 13+).
  • If you use a firewall or ad-blocker app, temporarily disable it – they can conflict with VPN routing.

When the VPN Connects but Nothing Loads

If the VPN shows “connected” but websites time out, the issue is often MTU (Maximum Transmission Unit) size or IPv6. Try these:

  1. In your VPN app, look for MTU settings and lower it to 1280 or 1400. This helps on networks with smaller packet limits.
  2. Disable IPv6 on your phone: Settings → Network & internet → Wi-Fi → Modify network → Advanced → IP settings → IPv4. Some VPNs don’t handle IPv6 well.
  3. Clear the VPN app’s cache: Settings → Apps → [VPN app] → Storage → Clear cache.

Reinstall or Update the VPN App

If nothing else works, the app itself may be corrupted or outdated. Uninstall the VPN app, restart your phone, then download the latest version from the Google Play Store. After reinstalling, log in again and test. Also check for Android system updates: Settings → System → System update.

Frequently Asked Questions

Why does my VPN keep disconnecting on Android?

This is usually caused by battery optimization or an unstable network. Disable battery optimization for the VPN app, enable “Always-on VPN” in Android settings, and try a different protocol. If it still drops, switch to a different server or contact your VPN provider.

Can I use a free VPN on Android?

Free VPNs often have limited servers, slow speeds, and may log your data. They can also be blocked by streaming services. If you must use one, choose a reputable provider with a free tier (like ProtonVPN or Windscribe) and check their privacy policy. For sensitive tasks, a paid VPN is safer.

Why does my VPN work on Wi-Fi but not on mobile data?

Your mobile carrier may block VPN traffic (common in some countries). Try changing the VPN protocol to WireGuard or IKEv2, which are harder to block. Also check if your data plan has a VPN restriction – some prepaid plans do.

How do I know if my VPN is leaking my IP address?

Visit ipleak.net or whatismyipaddress.com while connected to the VPN. If the IP shown is your real one, you have a leak. Enable DNS leak protection in the VPN app and set a private DNS in Android settings to fix it.

Will a VPN slow down my Android phone?

VPNs add encryption overhead, so you may see a small speed drop (10-20% on average). However, a well-configured VPN on a modern phone should not feel laggy. If it’s extremely slow, try a closer server or a lighter protocol like WireGuard.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →