unbraid

Guides · Published · Updated on

Why your VPN slows down your internet on Android

A VPN can slow down your internet when its server is busy, the path to it is slow, or the phone or server can’t process traffic fast enough. Start with a fair comparison: run the same speed test with the VPN off and then on, on the same network, a few times each.

If both runs are about equally slow, the VPN isn’t the main problem; try another network or another test server. If speed drops further with the VPN on, the sections below help you find out why. With Android’s Block connections without VPN on, turning the VPN off leaves you with no connection, so turn that off for the test; the kill switch guide shows where it is.

Where the slowdown comes from

Possible cause A clue What to try
The VPN server is busy Slower at some times of day than others Another server, and compare
The round trip to the server is long A far server is slower than a near one A nearer server, and compare
The protocol Speed stays well below your normal result on every server Another protocol, if your app has one
Packets are too big for the path Small pages load, large downloads stall The packet size section below
Your line or Wi-Fi Slow with the VPN off too Not the VPN: try another network
Battery limits Downloads pause when the screen is off Battery settings, below

These are clues, not proof. The way to know is to change one thing and test again.

A longer round trip can slow a download when the connection can send only so much data before it needs a reply. Then a single connection can leave part of a fast line unused, and a nearer server may help. The bandwidth-delay product is the name for that relationship, and RFC 6349 describes how it limits TCP throughput.

A busy server shares its connection among everyone on it, so your share shrinks when it’s crowded.

Protocol and encryption

Each packet is wrapped and encrypted, which costs some processing on the phone and the server. Protocols do this differently. The WireGuard paper reports higher throughput than OpenVPN and IPsec in its tests, which ran on Linux computers over gigabit Ethernet, and the project’s performance page calls its own benchmarks old. Your phone and network may give a different result, so if your VPN app offers more than one protocol, test each on the same server.

Battery limits on the phone

Android’s Doze and App Standby defer background network activity when the phone sits unused or an app hasn’t been used recently. If a download pauses when the screen goes off, check the battery settings for the app doing the download as well as for the VPN app, and repeat the test with the screen on. Phone makers can add their own limits; the guide on a VPN that keeps disconnecting shows where those settings usually are.

When small transfers work and large ones stall

Every network link has a largest packet it will carry, its MTU. On Ethernet that’s 1,500 bytes, and some paths allow less. A VPN wraps each packet in extra headers, so the tunnel has to use smaller packets than the network under it. The WireGuard paper’s example uses 1,500 for the network interface and 1,420 for the tunnel.

When a packet is too big for the path, it can be split or dropped. With IPv6, routers drop it and tell the sender. If small pages load and large downloads stall, packet size could be the problem.

Leave the MTU at its default unless your VPN app or provider gives you a setting and instructions for it. Android uses its own default when a VPN app sets none (setMtu). If you manage your own WireGuard config, look for the MTU line, change it in small steps and test after each.

How to measure fairly

  1. Use one tool, and the same test server if it lets you pick. A tool that picks a server by location may choose a different one when the VPN changes your apparent location.
  2. Stop other downloads and keep the phone in the same place.
  3. Run it a few times with the VPN off, then a few times with it on, and compare the middle results.
  4. Change one thing, such as another VPN server or protocol, and test again.

Tools measure differently. M-Lab’s ndt7 test, for example, uses one TCP connection in each direction, so on some paths it reads lower than a test that opens several at once. Compare numbers from the same tool only.

For lag in games and calls rather than download speed, see VPN lag in games.

What to change

Try servers in a few places, starting near you. If your VPN app shows server load, pick a few low ones to test. If the VPN is slow only at certain times, test another server at that time.

If your VPN app has more than one protocol, test each. Double or multi-hop servers send traffic through two servers, which adds a second trip.

If a large download, an update or a video app doesn’t need the VPN, leave that app out of it. Look for Split tunneling or Excluded apps in your VPN app. The excluded app uses the connection your phone would normally use, which can include a VPN on your router, and it still shares your Wi-Fi or mobile data with the apps on the VPN. With Block connections without VPN on, Android can cut the excluded app off. What split tunneling is explains the idea.

With a WireGuard config, AllowedIPs decides which destination addresses go through the tunnel. That works by address, not by app; WireGuard AllowedIPs explains it.

Send one app over your normal connection in unbraid

unbraid is a split tunneling VPN client for Android. It has no servers of its own: you sign in to a supported provider or add your own server, and each app can use its own exit, Direct (your normal connection) or Block.

To take a heavy app off the VPN, open Apps, tap the app and choose Direct. It uses your normal internet connection while your other apps keep their routes. Android normally leaves it outside unbraid. It stays inside, still on your normal connection, if Filter its lookups is on under the app’s routes or if Android’s Block connections without VPN is on. An app that only follows a Direct default also stays inside. While an app is inside, a rule under Websites can still send a download’s address through a VPN exit, so check that list if the speed doesn’t change. VPN for one app only shows the reverse setup.

To give one app a different exit, tap the app in Apps, then More locations, and pick a location. A video app can use a server in your own country while the browser keeps another. In the location picker, open a country’s menu and tap Show under Servers; where the provider reports load, lower loads come first.

To compare exits, connect, open Stats and tap Turn on stats if asked. Then use Test a route’s speed in the Live section, or Speed test in the Routes section, pick a route and tap GO. Download and upload take about ten seconds each, through M-Lab’s test servers. unbraid asks before your first test, because M-Lab publishes each result with the exit’s public address. M-Lab allows 40 tests a day, and can refuse sooner when many people share a VPN address. ALL tests up to ten of your routes at once and shows how they share your connection; each route counts as a test once it starts receiving data. Each exit can use a different M-Lab server, so to measure what the VPN costs, use one outside tool and the same test server for the runs with the VPN on and off.

You can download unbraid for Android 13 or newer on 64-bit ARM phones.

Questions

Why is my VPN slower on mobile data? Compare Wi-Fi and mobile data with the VPN off first, then repeat both with it on. Mobile speeds change with signal and with how busy the cell is.

Is a bigger MTU faster? Leave the default. A packet too large for the path may be dropped, which makes things slower.

How do I know traffic is really in the tunnel? How to check your VPN is working walks through the tests.

Bring your own VPN

unbraid is a VPN client with no servers of its own. You sign in with an account you already have, or add your own server. It has built-in support for AirVPN, ExpressVPN, IVPN, Mullvad, NordVPN (affiliate link), Private Internet Access, Proton VPN (Free included), Surfshark (affiliate link) and Windscribe. For CyberGhost, you import config files from your account, with step-by-step help in the app.

We earn a commission if you subscribe through a link marked (affiliate link). It helps keep unbraid free. If you're about to subscribe to a VPN service, thank you for considering doing it through one of them.