How to Set Up a VPN on Your Phone: Android and iPhone Steps That Work
A VPN encrypts your phone’s internet traffic and routes it through a server run by the VPN provider, so the Wi-Fi network you are on – a cafe hotspot, a hotel network, an airport lounge – cannot see what you are doing. It takes about five minutes to set up, and on both Android and iPhone there are two ways to do it: install your provider’s app, or enter the connection details by hand in Settings.
What a VPN does — and what it does not
A VPN hides your traffic from the local network and from your internet provider, and it hides your real location from the websites you visit. That makes it genuinely useful on public Wi-Fi, where anyone on the same network could otherwise snoop on unencrypted traffic.
It does not make you anonymous. Your VPN provider can still see your traffic, which is why the provider you choose matters more than any setting. A VPN also does not protect you from malware, phishing links or weak passwords — it is one layer of protection, not a replacement for the rest. If you have not already worked through the basics, our guide to the privacy and security settings to change today is the place to start.
Before you start: pick a provider first
Almost every VPN setup starts with choosing a provider, because the app route — the one most people should use — needs that provider’s app. A few things worth checking before you pay:
- A clear no-logs policy that has been independently audited, not just claimed on a marketing page.
- Apps for both Android and iPhone, so the same subscription covers every phone you own.
- A kill switch (sometimes called “block connections without VPN”), which cuts your internet if the VPN drops, so nothing leaks outside the tunnel.
- A free trial or money-back guarantee, so you can test speeds on your own network before committing.
Be wary of completely free VPN apps: running servers costs money, and if you are not paying, your data is often the product. A reputable paid provider is the safer bet for something that sees all of your traffic.
How to set up a VPN on Android with an app
This is the route most people should take. It works on Pixel, Samsung Galaxy and other Android phones, and it takes about two minutes.
- Install your provider’s app from the Google Play Store and sign in with your account.
- Tap Connect (or pick a server location first, if you want to appear in a specific country).
- Accept the connection request. Android will show a prompt asking whether the app may set up a VPN connection — tap OK. This is Android’s own permission, and no reputable app can skip it.
- Check the status bar. A small key icon appears when the VPN is active. If you see it, you are protected.
That is the whole setup. The app handles the encryption and the server choice from here on.
How to set up a VPN on iPhone with an app
The iPhone route is almost identical:
- Install your provider’s app from the App Store and sign in. Check that the developer name shown is the company you chose.
- Tap Connect in the app.
- Tap Allow when iOS asks whether the app may add VPN configurations, then confirm with Face ID, Touch ID or your passcode. Without this step the app cannot route any traffic.
- Check the status bar. A VPN icon appears at the top of the screen, and Settings shows the VPN as Connected.
You can also switch the VPN on and off from the main Settings screen, where a VPN row appears once at least one configuration exists.
How to set up a VPN manually on Android
Use the manual route only if someone has given you server details — usually your employer, your school, or a VPN provider that does not offer an app. You will need the server address, the VPN type and your login details before you start.
- Open Settings > Network & internet > VPN. (On Samsung Galaxy phones the path is Settings > Connections > More connection settings > VPN.)
- Tap the + (Add VPN) button.
- Enter the name, type and server address you were given, then your username and password.
- Tap Save, then tap the new entry and tap Connect.
One thing to know: on Android 12 and later, a new manual profile can only use IKEv2/IPsec. Older types such as PPTP and L2TP are no longer offered for new profiles, so if your provider only supports those, use its app instead.
How to set up a VPN manually on iPhone
Again, only use this route if you have been given server details by an employer, school or provider.
- Go to Settings > General > VPN & Device Management > VPN.
- Tap Add VPN Configuration and choose the type — usually IKEv2, though some setups still use IPsec or L2TP.
- Fill in the server address, Remote ID and your login details, then tap Done.
- Switch the new entry on to connect.
To remove a profile later, tap the info icon next to it and choose Delete VPN.
Two settings that keep you protected
Setting up a VPN is the easy part. These two settings decide whether it actually protects you day to day.
On Android: turn on Always-on VPN. Go to Settings > Network & internet > VPN, tap the gear icon next to your VPN, and switch on Always-on VPN. Android will then start the VPN whenever the phone boots. On the same screen, switch on Block connections without VPN — this is the kill switch, and it stops apps sending anything while the VPN is down.
Also check the VPN app’s battery setting (Settings > Apps > [your VPN app] > Battery) and set it to Unrestricted, because Android’s battery optimisation can otherwise stop the app in the background and silently drop the connection.
On iPhone: turn on Connect On Demand. Go to Settings > General > VPN & Device Management > VPN, tap the info icon next to your VPN, and switch on Connect On Demand. The phone will then reconnect the VPN automatically whenever you join a network, instead of waiting for you to remember.
How to check your VPN is actually working
Do not just trust the icon. After connecting, open your browser and search for “what is my IP” — the location shown should match the VPN server you picked, not your real location. If it shows your home city while the VPN claims to be connected elsewhere, disconnect, reconnect, and check again. If it still fails, the app may need an update, or the server you picked may be overloaded — try a different server location.
When should you use a VPN?
Turn it on whenever you are on Wi-Fi you do not control: cafes, hotels, airports, public hotspots and shared office networks. It is also worth using on mobile data if you want your carrier to see less of your browsing. At home, on your own trusted Wi-Fi, the benefit is smaller — your home network is already private — though many people simply leave the VPN on all the time for simplicity. If you do, pick a server close to you so speeds stay fast.
A VPN is not a magic shield, but on public Wi-Fi it is one of the highest-value settings on your phone. Set it up once, switch on Always-on or Connect On Demand, and it protects you without you having to think about it again. For more ways to lock down your phone, see our guides to passkeys and the privacy and security settings to change today.
Sources checked: Android Authority — How to set up a VPN on Android, Windows, and other platforms, Security.org — How to Set Up a VPN on Android
