There are two ways to put a VPN on an Android phone. You install your VPN provider's app and tap Connect, or you type server details into Android's own VPN settings. For almost everyone, the app is the right answer. It takes about five minutes and you don't need to know what a protocol is.
The manual route is for people who were handed a server address and a username by an employer, a school or their own router. I'll cover both, and point out where the menus move around depending on your phone maker and Android version.
Option 1: Use your VPN provider's app (recommended)
Commercial VPN services build their own Android apps, and those apps handle the server list, the protocol, the kill switch and the updates for you. If you haven't picked a service yet, our best VPN for Android roundup is a good place to start, and it's worth being wary of free VPN apps before you grab whatever is at the top of the search results.
- Install the app. Open the Google Play Store, search for your provider by its exact name, and check the developer name on the listing matches the company. Copycat apps with similar icons do exist.
- Open it and sign in (or create an account and pick a plan).
- Tap Connect. The first time, Android shows a "Connection request" dialog asking whether you trust the app to set up a VPN. Tap OK. You only see this once per app.
- Check the key icon. A small key appears in the status bar while the VPN is connected.
- Look through the app's settings. The two worth turning on straight away are the kill switch, if the app has one, and auto-connect on untrusted Wi-Fi.
That's genuinely it. The app now appears in Android's VPN screen too, which matters for the always-on setting further down.
If the Play Store doesn't show your provider's app at all, it may have been removed in your country's store, or your device may not have Google Play. Our guide to installing a VPN without Google Play covers the official alternatives.
Option 2: Add a VPN profile manually in Settings
Android has a built-in VPN client. You don't need an app for it, but you do need connection details from whoever runs the server: a server address, the VPN type, and either a pre-shared key, a certificate, or a username and password.
Which VPN types Android still supports
Starting with Android 12, Google stopped shipping the old built-in PPTP and L2TP/IPSec options for new profiles. What's left are three IKEv2/IPSec variants:
- IKEv2/IPSec MSCHAPv2 (username and password)
- IKEv2/IPSec PSK (a pre-shared key)
- IKEv2/IPSec RSA (a certificate)
If your admin only gave you PPTP or L2TP details, you'll need a third-party app or a different server setup. NAS maker QNAP has a short note on the change if you want to show it to whoever runs the server. WireGuard and OpenVPN aren't built in either; they use their own apps, which we cover in separate WireGuard and OpenVPN guides.
On a Pixel or stock Android phone
- Open Settings → Network & internet → VPN. On some older versions VPN sits under an Advanced section on that screen.
- Tap the + (add) icon at the top right.
- Enter a name, pick the Type, then fill in the server address and the key, certificate or username and password you were given.
- Tap Save.
- Tap the new profile and tap Connect.
This matches Google's own Android Help page on VPNs, which also says that if you can't find VPN under Network & internet, search for "VPN" in Settings. That search tip is the most useful thing on this page, honestly. Phone makers love moving this menu.
On a Samsung Galaxy
- Open Settings → Connections → More connection settings → VPN.
- Tap the ⋮ menu or the + icon (it depends on the model) and choose Add VPN profile.
- Enter the details and tap Save.
Samsung's phones ask for a screen lock (PIN, pattern or password) before they'll save a VPN profile. If yours is set to swipe, you'll be prompted to set one up. There's more detail in our post on where the VPN settings are on a Galaxy.
Other brands
Xiaomi, OnePlus, Oppo, Motorola and others mostly follow one of the two patterns above, with their own labels (things like "Connection & sharing" or "More connections"). The Settings search box finds it faster than guessing.
Make it stay on
By default a VPN only runs while you've switched it on. Android 7.0 and later can keep it running all the time with Always-on VPN, and can optionally block any traffic that tries to go around it.
- Go back to the VPN screen (Settings → Network & internet → VPN, or the Samsung path above).
- Tap the gear icon next to your VPN app or profile.
- Turn on Always-on VPN, and if you want the strict version, Block connections without VPN.
The strict option has side effects (hotel Wi-Fi login pages, for one), so read our always-on VPN guide before you flip it.
Check that it's actually working
Connected isn't the same as protected. Once the key icon shows up:
- Open a browser and search "what is my IP". The location should match the VPN server, not your real one.
- Run a DNS leak check too. Our guide on checking your VPN for leaks on Android walks through it.
If something goes wrong
- It connects but nothing loads: disconnect, switch servers, and try again. If it persists, try a different protocol in the app's settings.
- It keeps dropping: often battery optimization killing the app in the background. Set the VPN app's battery usage to unrestricted in its App info screen.
- A manual profile won't connect: double-check the VPN type. Picking PSK when the server expects MSCHAPv2 is the most common mix-up, and it fails without a helpful error.
One last thing. VPNs are restricted or illegal in a few countries, and in others only government-approved services are allowed. If you're traveling, check the local rules before you rely on one. Check an official or reputable source for the country you're in.