The basic steps to enable a VPN on iPhone
To turn on a VPN on your iPhone, you first need a VPN app installed from the App Store. Open Settings, tap VPN & Device Management (or just VPN on older iOS versions), then tap Add VPN Configuration. Select IKEv2, IPSec, or L2TP depending on what your VPN provider supports — most consumer VPN apps handle this automatically. Enter the server address, account name, and password your VPN provider gave you, then save. Once saved, go back to Settings > VPN and toggle the switch on to connect.
If you're using a VPN app like ExpressVPN, NordVPN, or Surfshark, the process is simpler: download the app, log in with your account, and tap the connect button inside the app itself. The app manages the technical setup for you. Either way — whether you configure it manually or use an app — your iPhone will show a VPN indicator (a small "VPN" label) in the status bar at the top when you're connected.
Key Takeaways
- Most people use a VPN app from the App Store rather than configuring one manually in Settings, because the app handles the technical details.
- Manual VPN setup in Settings requires the server address, account name, and password from your VPN provider, and works with IKEv2, IPSec, or L2TP protocols.
- Once connected, a small "VPN" label appears in your iPhone's status bar so you can see at a glance whether the VPN is active.
- Some VPN apps let you set the connection to turn on automatically when you join certain WiFi networks or when you leave home.
Using a VPN app versus manual configuration
A VPN app is the easier choice for most people. You download it, create or log into your account, and tap a button to connect. The app updates automatically when the VPN provider changes their servers or security settings. Apps like ExpressVPN, NordVPN, Surfshark, and ProtonVPN all work this way on iPhone.
Manual configuration in Settings is useful if your workplace or school provides a VPN, or if you're setting up a VPN your IT department manages. In those cases, your IT contact will give you the server address, protocol, and login details. You enter them once in Settings, and then you can toggle the VPN on and off without opening an app. This method also uses less battery than running a separate app.
What happens when your VPN is on
When your VPN is active, all traffic from your iPhone — web browsing, email, messaging apps, everything — goes through an encrypted tunnel to the VPN server before reaching the internet. Websites you visit see the VPN server's address instead of your real IP address. Your internet service provider can see that you're using a VPN but cannot see which websites you visit or what you do on them.
This matters most on public WiFi networks, where someone on the same network could otherwise intercept unencrypted data. On your home network or a cellular connection, the risk is lower, but a VPN still hides your browsing from your ISP. Keep in mind that the VPN provider itself can see your traffic, so choose a provider with a clear privacy policy you trust.
Automatic VPN connection based on location or network
Many VPN apps let you set rules for when the VPN turns on automatically. Open the VPN app's settings and look for options like "Connect on Untrusted Networks" or "Auto-Connect." Some apps can turn on the VPN whenever you join a public WiFi network, or whenever you leave home and switch to cellular.
If you configured a VPN manually in Settings, you cannot set automatic connection rules through Settings itself. You would need to use a third-party automation app like Shortcuts to trigger the VPN based on location or network, which is more complex. Most people find it simpler to just tap the app button when they need it, or to leave the app's auto-connect feature on all the time.
Checking that your VPN is actually working
The simplest check is to look at your iPhone's status bar. If you see a small "VPN" label at the top of the screen, your VPN is connected. You can also open the VPN app itself — it will show a connected or active status, usually with a green indicator or the word "Connected."
To verify that your real IP address is hidden, visit a website like whatismyipaddress.com or ipleak.net in Safari while the VPN is on. The IP address shown should belong to the VPN provider's server, not your home or ISP. If you see your real IP address, the VPN is not working — disconnect and reconnect, or restart the app. If the problem persists, contact your VPN provider's support.
Troubleshooting a VPN that won't connect
If your VPN app shows an error or won't connect, first try closing the app completely and reopening it. Then toggle your WiFi or cellular off and back on. If that does not work, restart your iPhone — this fixes most temporary connection problems.
Check that you have the correct password and account details. If you recently changed your VPN password on the provider's website, the app may not have updated. Log out of the app and log back in with your current password. If you configured the VPN manually in Settings, double-check that the server address and credentials match what your provider gave you. Some VPN servers go offline or change addresses, so visit your provider's website to confirm the server is still active. If none of these steps work, contact your VPN provider — they can tell you whether the problem is on their end or with your phone's configuration.
VPN and battery life, speed, and other trade-offs
A VPN uses more battery than no VPN because your phone is encrypting and decrypting all traffic. The difference is usually small — maybe 5 to 15 percent more battery drain depending on how much data you use — but it is noticeable if you leave the VPN on all day. If battery life matters, turn the VPN on only when you need it, such as on public WiFi.
Your internet speed may also drop slightly because traffic has to travel through the VPN server before reaching you. The slowdown depends on the VPN provider's server quality and how far away the server is. If you connect to a VPN server in another country, the speed drop is usually more noticeable than if you connect to a server near you. Some apps let you choose which server to connect to — picking one geographically close to you can reduce the slowdown.
Frequently Asked Questions
Can I use a VPN on cellular data, or only on WiFi?
You can use a VPN on both cellular and WiFi. The VPN works the same way either way — it encrypts your traffic and routes it through the VPN server. Some people turn on the VPN only on public WiFi and leave it off on their home network or cellular, since the risk is lower on those connections.
Will a VPN stop ads or block malicious websites?
A basic VPN only encrypts your traffic and hides your IP address. It does not block ads or filter malicious sites. Some VPN providers offer additional features like ad blocking or malware protection, but you need to enable those separately in the app settings. Check your VPN app's menu to see what extra features are available.
What if a website blocks me when I use a VPN?
Some websites block traffic from known VPN servers to prevent account abuse or enforce geographic restrictions. If a site blocks you, try disconnecting the VPN and accessing the site normally. You can also try connecting to a different VPN server — some providers have servers that websites do not yet block, though this is not may provide to work.
Does turning on a VPN make my iPhone more secure against hackers?
A VPN protects your data in transit — it encrypts what you send and receive so someone on the same WiFi network cannot intercept it. It does not protect you against malware, phishing, or someone who gains access to your phone itself. Use a VPN as one part of security, along with a strong passcode, keeping iOS updated, and being careful what you download.
Can I use a VPN and iCloud+ at the same time?
Yes. iCloud+ includes iCloud Private Relay, which is Apple's version of a VPN for Safari browsing. You can use both iCloud Private Relay and a separate VPN app at the same time, though using both adds extra encryption layers and may slow your connection more than using one alone. Most people choose one or the other, not both.