How to set up a VPN on iPhone and iPad

Protect your iPhone or iPad on any Wi-Fi or cellular network. The steps are the same on iOS and iPadOS.

Before you start

  • An account with a VPN provider you trust
  • Your Apple Account password, Face ID or Touch ID
  • For the manual method: server, remote ID and sign-in details from your provider
  • iOS or iPadOS kept up to date (Settings → General)

Not sure which provider to use yet? Start with how to choose a trustworthy VPN.

Where to find VPN settings on iPhone and iPad
  1. Settings
  2. General
  3. VPN & Device Management
  4. VPN

Tip: once a VPN is added, a VPN switch also appears near the top of the main Settings screen for quick on and off.

Set up a VPN on iPhone with your provider's app

The provider's app is the easiest option and usually includes a kill switch, DNS leak protection and modern protocols such as WireGuard.

  1. Get the official app

    Open the App Store, search for your provider and tap Get. Check the developer name.

  2. Sign in

    Open the app and sign in with your VPN account.

  3. Allow VPN configurations

    Tap Allow when iOS asks to add VPN configurations, then confirm with Face ID, Touch ID or your passcode.

  4. Connect

    Tap Connect. A VPN badge appears in the status bar or in Control Center.

  5. Turn on Connect On Demand

    In the app's settings, enable auto-connect (often called Connect On Demand) so the VPN starts on untrusted networks automatically.

Set up a VPN manually in iPhone Settings

Use this method for IKEv2, IPSec or L2TP details from your provider or employer.

iPhone Add Configuration screen with Type set to IKEv2 and fields for description, server, remote ID, username and password
Illustration: Settings → General → VPN & Device Management → VPN → Add VPN Configuration. Menu names and layout may differ slightly on your device.
  1. Open VPN settings

    Go to Settings → General → VPN & Device Management → VPN and tap Add VPN Configuration.

  2. Enter the details

    • Type: IKEv2 (or as specified)
    • Description: any name
    • Server and Remote ID: from your provider
    • User Authentication: Username, then your user name and password
  3. Save and connect

    Tap Done, then turn on the Status switch. It changes to Connected.

How to check the VPN is working on iPhone

  1. Check the status

    Settings → VPN shows Connected, and the VPN badge appears in the status bar or Control Center.

  2. Check the IP address

    Compare the IP address shown in your provider's app before and after connecting; it should change to the VPN server's address.

  3. Run the app's leak test

    Use the DNS leak test built into most reputable VPN apps. Only your provider's DNS servers should appear.

For a complete set of leak tests, see how to check if your VPN is working.

Recommended iPhone and iPad VPN settings

SettingWhere to find itWhy it matters
Connect On DemandProvider app settings, or the ⓘ button next to the VPN in SettingsConnects automatically on untrusted Wi-Fi.
Kill switchProvider app settings (name varies)Blocks traffic outside the tunnel.
Private Wi-Fi AddressSettings → Wi-Fi → ⓘ next to the networkUses a different hardware address on each network.
Limit IP Address TrackingSettings → Wi-Fi → ⓘ next to the networkReduces tracking in Mail and Safari.

Fixing common iPhone VPN problems

ProblemWhat to try
The VPN keeps disconnectingTurn on Connect On Demand, use IKEv2 or WireGuard, and turn off Low Power Mode while testing.
“Unable to connect to server”Check the server address and remote ID, switch servers, or switch between Wi-Fi and cellular to rule out a blocked network.
Two VPN configurations conflictGo to Settings → General → VPN & Device Management → VPN and delete configurations you no longer use.
Some apps do not work while connectedTry another server. If an app blocks VPN connections, pause the VPN only while using it.

iPhone and iPad VPN questions

Does iPhone have a built-in VPN?

iOS includes a VPN client for IKEv2, IPSec and L2TP connections, but no VPN service. Most people use their provider's app.

Is iCloud Private Relay the same as a VPN?

No. iCloud Private Relay hides your IP address mainly for Safari browsing. A VPN covers traffic from all apps.

Does a VPN work on cellular data?

Yes. It encrypts traffic on cellular data as well as Wi-Fi, and IKEv2 and WireGuard reconnect quickly when you switch networks.

Sources and official documentation

If your screen differs from our description, the official documentation takes precedence.

Ready to protect your connection?

Follow our step-by-step guide to choose a trustworthy provider, set up your device and confirm that your VPN is working.

GET VPN