How to Set Up & Use a VPN on iPhone in 2026
This guide explains how to set up and use a VPN on iPhone through an official app, a supported manual profile or WireGuard configuration. It covers connection settings, reconnect behaviour and troubleshooting. For provider selection, use our iPhone VPN comparison.
When an iPhone VPN can help

A VPN can hide the destinations of traffic routed through its tunnel from the local network or internet provider. HTTPS already protects page contents and many app connections; a VPN adds a different network-routing layer.
Choose it for a specific need such as accessing a workplace network or limiting local-network visibility. It does not make you anonymous, stop account tracking or guarantee access to another regionโs streaming library.
How to Set Up a VPN on iPhone: the App Method (2 Minutes)

For almost everyone, the provider’s own app is the right way to set up a VPN on iPhone. It’s the fastest method, it handles all the technical configuration for you, and it unlocks features – kill switch, auto-connect, split tunnelling – that the manual method can’t offer. Here’s the exact process:
- Install the app from the App Store. Search for your provider (NordVPN, ExpressVPN, Surfshark, etc.) and download the official app. Check the developer name matches the company to avoid copycats.
- Open it and sign in. Log in with the account you created on the provider’s website, or start a subscription in the app. You don’t need to configure anything manually.
- Tap Connect. The app connects to the fastest nearby server by default. The first time, iOS will show a prompt: “[App] would like to add VPN Configurations.”
- Allow the VPN configuration. Tap Allow and confirm with Face ID, Touch ID or your passcode. This adds a VPN profile to iOS – you only do it once per app.
- Confirm the VPN badge. A small VPN icon appears in your status bar (top of the screen). That’s your confirmation the tunnel is active. To pick a country, choose a server from the app’s list before connecting.
That’s the entire process. Once the profile is approved, connecting in future is a single tap. If you ever want to see or remove it, the profile lives under Settings โ General โ VPN & Device Management โ VPN. Everything else in this guide – auto-connect, protocols, kill switch – is configured inside the app you just installed, not in iOS itself.
Manual VPN Setup on iPhone (IKEv2 / IPSec)
iOS has a built-in VPN client, so you can add a connection manually without any app. You’d normally only do this for a work VPN, a router or home server you run yourself, or a provider that gives you manual configuration details. For a commercial VPN, the app is far better – but here’s how the manual route works when you need it:
- Get the configuration details. From your provider’s manual-setup page (or your IT department), collect the server address, remote ID, and your VPN username and password. For IKEv2 you may also get a certificate.
- Open the VPN settings. Go to Settings โ General โ VPN & Device Management โ VPN โ Add VPN Configuration.
- Choose the type. Tap Type and select IKEv2 (recommended – modern and stable), or IPSec/L2TP if your server requires it. IKEv2 reconnects quickly after your phone changes networks, which matters on mobile.
- Enter the details. Fill in a description, the server, the remote ID, and your authentication (username/password or certificate). Save it.
- Toggle it on. Back on the VPN screen, switch the configuration on. The VPN badge appears in the status bar once connected.
The manual method is reliable but bare: there’s no kill switch, no server list, no obfuscation, and no auto-updating server addresses. If a manually configured server goes down, your traffic can quietly fall back to the open connection with no protection. That’s the core reason we recommend the app method for everyday privacy and reserve manual setup for reaching a specific server you control.
How to Use WireGuard on iPhone
WireGuard is the modern VPN protocol that most top providers now use because it’s fast, efficient on battery, and reconnects almost instantly – all of which matter more on a phone than a laptop. On iOS you get WireGuard in one of two ways.
The easy way is through your provider’s app. NordVPN’s NordLynx, and the WireGuard options inside Surfshark and other apps, are all built on WireGuard – you simply select it as the protocol in the app’s settings and connect. There’s nothing else to install, and you keep all the app’s features. For most people this is the right choice.
The manual way uses the official WireGuard app from the App Store, which is useful for a self-hosted server or a provider that supplies a WireGuard config file. Install the app, tap the plus button, and add a tunnel by scanning the QR code your provider generates, importing the .conf file, or entering the details by hand. Once the tunnel is added, flip its toggle to connect. The trade-off is the same as any manual setup: no kill switch or server browser, just a raw, efficient tunnel to the endpoint you configured.
The iPhone VPN Settings That Actually Matter

Installing the app is only half the job. A VPN that isn’t configured to stay on protects you only when you remember to tap Connect. These are the settings, all found inside your provider’s app, that turn a VPN from “installed” into “actually protecting you”:
- Auto-connect. Tells the app to connect automatically on launch, on untrusted Wi-Fi, or on cellular. This is the single most valuable setting on a phone, because it removes the human step of remembering.
- Kill switch / network protection. Blocks internet access if the VPN tunnel drops, to reduce accidental traffic outside the tunnel; implementation varies by app. iOS handles this slightly differently from desktop (more on that below), but reputable apps implement it via on-demand rules.
- Protocol. Set this to WireGuard (or the app’s WireGuard-based option) or IKEv2 for the best speed and battery life on iOS.
- Split tunnelling (where offered). Lets specific apps bypass the VPN – useful for a banking app that flags foreign IPs, but remember anything you exclude is visible to your network again.
- Threat/ad protection. Many iOS VPN apps include DNS-level blocking of trackers, ads and malicious domains. It’s worth enabling for a cleaner, lighter mobile browsing experience.
Set these once and the app largely runs itself. The two that make the biggest day-to-day difference are auto-connect and the kill switch – their behaviour still depends on the app and profile, so verify it on your device.
On-demand reconnect versus managed Always On VPN
Appleโs system-enforced Always On VPN requires supervised devices. It is a managed-device feature, not a promise that every personal iPhone app can provide.
Personal apps may offer auto-connect, on-demand rules or a kill switch. Their behaviour depends on the provider, profile and iOS version. Follow the appโs current documentation and test reconnect behaviour; do not treat it as equivalent to enforced Always On VPN.
Reference: Apple VPN deployment overview.
iCloud Private Relay and VPN apps

Apple describes Private Relay as protecting Safari browsing through two separate relays. It maintains an approximate location and does not offer arbitrary country selection. See Appleโs Private Relay explanation.
A VPN app can route traffic from more apps through its tunnel, depending on configuration. Neither option guarantees anonymity or streaming access. Compare the scope of the feature you enable rather than assuming every connection is protected.
Is Using a VPN on iPhone Safe and Legal?
Yes on both counts, with a couple of sensible caveats. Using a VPN is legal in the vast majority of countries, including the US, UK, Canada, Australia and across the EU. A handful of countries – such as China, Russia, Iran and a few others – restrict or ban unapproved VPNs, so if you travel there, check local rules first. Using a VPN to commit an actual crime is of course still illegal; the tool itself is not.
On safety, a reputable VPN app from the App Store is safe to install and use. Apple’s review process weeds out the most obvious bad actors, and quality providers have their no-logs claims independently audited so there’s a paper trail behind the privacy promise. The risk isn’t VPNs in general – it’s specifically shady free ones, which we cover next.
One iPhone-specific point worth knowing: a VPN encrypts what you send over the network, but it can’t hide your physical location from the cellular network itself, because that comes from which towers your phone talks to. It also doesn’t stop apps you’re logged into from identifying you through your account. Treat a VPN as strong protection for your network traffic – which is exactly what it’s designed for – rather than total anonymity.
Choose a provider before following the setup steps
This guide explains installation and configuration rather than ranking providers. For device allowances, provider features and plan selection, open our Best VPN for iPhone comparison. Then return here with the provider you selected.
Using a free plan for this walkthrough
You can follow the app method with an ongoing free plan if it supports your iOS version. Check its data allowance, country selection, device limit and privacy policy. A provider-funded free tier is different from an unknown app or a time-limited paid trial.
The instructions below do not guarantee compatibility with every provider. Use the current official guide for the app you install.
Check these iPhone features before setup
Confirm supported iOS versions, permitted protocols and reconnect options in your providerโs official iPhone guide. See the provider-selection checklist if you have not chosen a plan.
Fixing Common iPhone VPN Problems

Most iPhone VPN issues have quick fixes. Work through these in order for the problem you’re seeing:
- VPN won’t connect. Switch to a different server, then try changing the protocol (to WireGuard or IKEv2) in the app’s settings. If it still fails, delete the app’s VPN profile under Settings โ General โ VPN & Device Management and reconnect to let the app recreate it.
- It keeps disconnecting. Turn on the app’s auto-connect and “reconnect” options so iOS re-establishes the tunnel after network changes. A nearby, less-crowded server also holds the connection more steadily.
- Everything feels slow. Connect to a server geographically closer to you and switch to WireGuard. Distant servers and heavy protocols are the usual cause of a sluggish mobile connection.
- The “VPN” badge is stuck on. If you disconnected in the app but the status-bar badge remains, toggle Airplane Mode on and off, or restart the phone. If a leftover manual profile is the cause, remove it in VPN & Device Management.
- An app or website blocks you on the VPN. Some banking apps flag foreign VPN IPs. Use split tunnelling to exclude that one app, or connect to a server in your home country.
- You can’t remove a VPN configuration. Go to Settings โ General โ VPN & Device Management, tap the profile, and delete it there. If it was installed by an app, deleting the app also removes its profile.
Checking speed and battery impact

Signal strength, app activity, protocol, server route and reconnect attempts can affect speed and battery use. This guide does not report measured battery percentages or name a universally fastest protocol.
Start with the providerโs supported automatic setting. Compare the same routine and network conditions with and without the connection. If performance changes, check signal quality and supported server/protocol alternatives before buying another plan.
Using Your iPhone VPN While Travelling (eSIM & Roaming)
An iPhone VPN really earns its place the moment you leave home, so it’s worth setting up properly before you travel rather than fiddling with it at the airport. The two situations that trip people up are public Wi-Fi abroad and eSIM data, and both are easy to handle once you know what to expect.
On foreign public Wi-Fi – hotels, airports, cafรฉs – your iPhone is exactly as exposed as it is at home, arguably more so on unfamiliar networks. Turn on your VPN app’s auto-connect for untrusted Wi-Fi before you leave, and check how it behaves on the networks you actually use. One quirk to know: many hotel and airport networks use a “captive portal” (the sign-in page that appears when you connect). If your VPN connects too aggressively it can block that page, so let the portal load and sign in first, then let the VPN take over.
If you use a travel eSIM for cheap local data, the good news is a VPN works over it exactly as it does over any cellular connection – the eSIM is just another data line to iOS. Install and sign into your VPN app as normal, and enable auto-connect on cellular so your eSIM traffic is protected too. Combining an eSIM for affordable data with a VPN for privacy is one of the best setups for iPhone travellers: you get local rates without handing your browsing to an unfamiliar foreign carrier.
Two final travel tips. First, if you’re visiting a country that restricts VPNs, download and set up the app before you arrive, since VPN sites and app listings are sometimes blocked locally. Second, to reach your home streaming library while away, simply connect to a server back in your home country – access may still depend on licensing, your account and the serviceโs VPN restrictions. Set all of this up the night before you fly, and your iPhone stays private and useful from the moment you land.
Frequently Asked Questions
How do I set up a VPN on my iPhone?
Install a reputable VPN app from the App Store, open it and sign in, then tap Connect. When iOS asks to add a VPN configuration, tap Allow and confirm with Face ID or your passcode. A VPN badge appears in the status bar. The whole process takes about two minutes.
Does iPhone have a built-in VPN?
iOS has a built-in VPN client for adding a connection manually under Settings, General, VPN and Device Management, but it doesn’t come with a VPN service. You still need a provider, and for everyday use their app is far better than the manual setup.
Is iCloud Private Relay the same as a VPN?
No. Private Relay protects Safari browsing and has a different routing model. It is not a replacement for every VPN use case and does not offer arbitrary country selection. VPN app coverage also depends on routing and configuration.
Can I keep a VPN always on with an iPhone?
Appleโs managed Always On VPN requires supervised devices. On a personal iPhone, reconnect or on-demand features depend on the app and profile; they are not equivalent to system-enforced Always On VPN.
Which VPN protocol is best on iPhone?
Use the providerโs supported automatic setting as a starting point. Compare available protocols on your device if you encounter a problem. WireGuard, IKEv2 and OpenVPN can serve different supported configurations; no protocol guarantees the best speed or battery result.
Are free VPNs safe on iPhone?
Some established providers offer ongoing free plans, but free does not automatically mean safe. Check the developer, privacy policy, funding model and plan limits. App Store presence alone is not a security guarantee.
Will a VPN drain my iPhone battery?
Battery impact depends on signal quality, network changes, protocol, app behaviour and usage. Compare the same routine with and without the connection. This guide does not provide a measured battery percentage.
Is it legal to use a VPN on an iPhone?
Yes, in the large majority of countries including the US, UK, EU, Canada and Australia. A few countries such as China and Russia restrict unapproved VPNs, so check local rules before travelling. The tool is legal; using it for an actual crime is not.
Why does my iPhone VPN keep turning off?
Usually because auto-connect isn’t enabled, so iOS doesn’t re-establish the tunnel after a network change or reboot. Turn on the app’s auto-connect and reconnect settings, and choose a stable nearby server, to keep it connected.
Can I use one VPN on my iPhone, iPad and Mac?
Yes. Most providers allow several simultaneous connections on one account, and Surfshark allows unlimited devices. Install the same provider’s app on each Apple device and sign in with the same account.
The Bottom Line
Choose the correct app or profile, approve the configuration, connect and verify it on your own device. Reconnect and kill-switch features depend on the provider and iOS version; they do not guarantee protection for every connection.
For choosing a paid plan, return to the iPhone VPN comparison.
Saurabh VPN Expert writes and reviews VPN guides for VPN Expert Guide, covering privacy, streaming, regional access, and device setup. Our articles draw on provider documentation and published product information, with updates when important details change.
Meet our testing team →Last updated: October 12, 2026