Guides · Published · Updated on
Does a VPN cause lag in games on Android?
A VPN can cause lag in games. Your game traffic goes through the VPN server before it reaches the game server, and that can add time, especially if the VPN server is far away or busy.
To see what your VPN costs, play in the same game region on the same Wi-Fi, once with the VPN off and once with it on, and note the ping the game shows. Repeat if the number jumps around. If the game shows packet loss, note that too: a game can stutter while its average ping looks fine. With Android’s Block connections without VPN on, turning the VPN off leaves the game with no connection, so turn that setting off for the test; the kill switch guide shows where it is.
Ping and speed
Download speed tells you how much data arrives each second. Ping tells you how long a message takes to get a reply. A game sends small messages all the time, so a speed test can look fine while the game takes longer to respond.
Cloudflare describes latency as the time data takes to travel, and the round trip as the time there and back. The ping a game shows is a round trip between your phone and the game server.
Why a VPN adds lag
Distance is one cause. In Cloudflare’s example, a request reaches a server in Columbus, Ohio from Cincinnati in about 5 to 10 ms, and from Los Angeles in about 40 to 50 ms. With a VPN, your traffic travels from the phone to the VPN server and from there to the game server.
The VPN server’s place on that path counts too. If you’re in Rotterdam and the game server is in Amsterdam, a VPN server in Frankfurt sends the traffic east and back again. A busy server can also make packets wait, which shows up as a ping that jumps around. Each packet is also encrypted and decrypted, which takes some work on the phone and the server.
What to try when ping rises
| What you see | What to try |
|---|---|
| Ping rises with the VPN on | A server nearer to you or to the game server, then compare |
| Ping spikes, often at busy times | Another server in the same place, then compare |
| Stutter on mobile data | Another protocol, if your VPN app offers one |
| The game works fine on your normal connection | Leave the game out of the VPN |
Can a VPN lower your ping?
It can, if the VPN server happens to take a quicker path to the game. Riot Games, explaining why it built its own network for League of Legends, wrote that internet providers route traffic along the lowest-cost path, not the lowest-latency one. In the same article, Riot describes a connection from San Francisco to Portland that went through Los Angeles, Denver and Seattle. A VPN server on a more direct path can lower ping in a case like that.
Riot’s own troubleshooting page asks you to turn VPNs and proxies off while you look into high ping. Compare the game’s ping both ways before you decide.
How to measure
Use the ping the game shows, if it has one. Test with the VPN off and on, on the same network and in the same game region, a few times each.
A separate ping app measures the trip to whatever server you point it at. That tells you about the path to that server, not to the game’s, and a game server may not answer ordinary pings at all. Run both tests from the same spot, and if you’re on Wi-Fi, move closer to the router first. Riot’s mobile troubleshooting gives the same advice.
What to change
Try one change at a time and test after each.
Choose a server near you, or near the game server if you know where it is. A game’s region setting tells you roughly where its servers are. If your VPN app shows ping or server load, use it to pick servers to test. Two servers in one city can behave differently when one is busy.
Try another protocol if your VPN app has several. WireGuard runs over UDP. OpenVPN can use UDP or TCP. The WireGuard paper includes a ping comparison with OpenVPN and IPsec, measured between Linux computers on a wired network, so your phone may behave differently. Compare the game’s ping with each option.
If the game works on your normal connection and gains nothing from the VPN, leave it out of the VPN. That’s split tunneling.
One VPN at a time, and games that limit VPNs
Android runs one VPN app at a time in each profile, so you can’t run a second VPN app just for games. Look for app exclusions in your VPN’s settings instead. With Android’s Block connections without VPN on, an app left out of the VPN app can lose its connection; the kill switch guide explains why. Why Android runs one VPN at a time has the details.
Some games don’t support VPNs, and their rules can differ. Check your game’s rules before you play through a VPN. For a lag test, staying in your usual game region keeps the comparison fair.
Keep the game off the VPN with unbraid
unbraid is a split tunneling VPN client for Android. It has no servers of its own: you sign in to a supported VPN provider or add your own server, and each app can use its own exit, Direct (your normal connection) or Block.
- Add a connection. On first setup unbraid asks for one; later, go to Settings, Providers & servers, Add connection.
- Set the game to Direct. Open Apps, tap the game and choose Direct. It then uses your normal internet connection. Other apps keep the routes they had.
- Connect. In Routes, tap the power button and accept Android’s VPN request if it appears.
- Check the game’s ping again.
An app you set to Direct is normally left outside unbraid by Android. 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. A game that only follows a Direct default route also stays inside unbraid. While the game is inside, a rule under Websites can still send one of its addresses through a VPN exit, so check that list if the ping doesn’t change.
If the game has a lower ping through a VPN, give it a route of its own. In Routes, tap +, then Route, and choose a location near the game’s servers. Then assign the game to that route in Apps. Other apps can use other countries at the same time; two VPNs at once explains how.
When you choose a location, open the menu next to a country and tap Show under Servers. Where the provider reports load, each server shows it, lowest first. For NordVPN you can also change the Protocol in the picker.
To compare exits, connect, open Stats, and tap Turn on stats if asked. Then tap Test a route’s speed in the Live section, pick a route and tap GO. The ping shown is the median of five connection attempts to an M-Lab test server through that exit, with the lowest and highest beside it. It’s a ping to the test server, not to your game, so read the game’s own ping for lag. unbraid asks before your first test, because M-Lab publishes the result with the exit’s public address.
You can download unbraid for Android 13 or newer on 64-bit ARM phones.
Questions
Which protocol should I try? The ones your VPN app offers. Compare the game’s ping with each.
Will split tunneling fix the lag? If the VPN is what adds the lag, sending the game over your normal connection removes that part. Lag from Wi-Fi or the game server stays, so test with the VPN off first.
Why does a game refuse to start with my VPN on? Some apps check for a VPN. Why some apps don’t work with a VPN explains what they check and how to leave one app out.
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.