How to Set Up a VPN on iPhone

Setting up a VPN on iPhone takes less than five minutes using a provider's App Store app. For advanced users, iOS also has a built-in VPN client that supports L2TP, IKEv2, and IPSec configurations - No third-party app required. This guide covers both methods and explains how to verify your VPN is actually protecting you.

Method 1 - Install a VPN App from the App Store

This is the recommended method for most users. The app handles all configuration automatically.

StepActionWhere
1Open the App Store and search for your VPN providerApp Store › Search
2Download and install the official app (e.g., NordVPN or Mullvad VPN) - Affiliate link - We may earn a commissionApp Store
3Open the app, sign in or enter your account number (Mullvad uses anonymous account numbers)VPN app
4Tap "Allow" when iOS asks to add VPN configurationsiOS permission prompt
5Select a server location and tap ConnectVPN app home screen
6Verify the VPN icon (key icon) appears in the iOS status barTop of screen
7Run a VPN leak test to confirm your IP has changedVPN Leak Test

Method 2 - IOS Built-in VPN (Settings)

Use this method if your workplace or school provides VPN credentials, or if you want to connect to a self-hosted VPN server without installing a third-party app.

StepActionWhere
1Open SettingsiOS Home screen
2Tap General › VPN & Device Management › VPNSettings › General
3Tap "Add VPN Configuration…"VPN screen
4Select type: IKEv2 (recommended), IPSec, or L2TPType field
5Enter Description, Server, Remote ID, username, and password provided by your VPN serviceConfiguration form
6Tap Done, then toggle the VPN connection onVPN screen

How to Verify Your iPhone VPN Is Working

  • Look for the VPN key icon in the iOS status bar - It appears when the tunnel is active.
  • Open Safari and visit our VPN Leak Test - The detected IP should belong to the VPN provider.
  • The country shown should match the VPN server you selected, not your physical location.
  • Enable "Always-on VPN" under Settings › General › VPN & Device Management for managed devices (requires MDM profile in enterprise environments).
  • To prevent leaks when switching between Wi-Fi and mobile data, enable the kill switch in your VPN app's settings.

Choosing the Right Protocol on iOS

ProtocolSpeedReconnect on Network ChangeBest For
WireGuardFastestExcellentDefault choice for iOS apps
IKEv2/IPSecFastExcellent (MOBIKE)Built-in iOS VPN config
OpenVPNGoodGoodCompatibility with self-hosted servers
L2TP/IPSecModerateFairLegacy - Avoid if possible