If the VPN on your iPhone switches itself back on after you turn it off, the usual cause is Connect On Demand, a setting inside the VPN configuration that tells iOS to start the VPN by rule. To turn it off, open Settings > General > VPN & Device Management > VPN, tap the (i) next to the configuration, and switch off Connect On Demand.
If that switch is already off, something else is starting the VPN: the VPN app's own auto-connect setting, a security app with a VPN built in, or a profile from your employer or school.
Why an iPhone VPN turns itself on

An iPhone starts a VPN because something on it holds a rule that says when to connect. That rule can sit in four places.
- Connect On Demand. Apple's deployment guide says VPN On Demand "lets Apple devices automatically establish a connection on an as-needed basis". iOS checks the rules whenever the phone's network connection changes, and one of Apple's examples is a rule that requires the VPN on an unknown Wi-Fi network. The setting is off until an app or a profile turns it on, and some VPN apps do. While it is on, the VPN can come back whenever the phone joins a network, even after you switch it off in Settings.
- The VPN app's own auto-connect setting. A VPN app can have an auto-connect setting of its own, for example one that connects on a network the phone doesn't know. The name differs from app to app; it may be called Auto-connect, Always-on or Trusted networks.
- A security app with a VPN built in. A security suite can bundle a VPN that has an automatic setting of its own. If the VPN icon appears and you never installed a VPN app, look here first.
- A work or school profile. A configuration profile from an employer or school can carry VPN settings. On a supervised device it can also switch on Always On VPN, which Apple says "automatically activates with no user interaction" and stays active until the profile is removed.
How to stop your iPhone VPN from turning on
Work through these in order, starting with the usual cause.

1. Turn off Connect On Demand
- Open the Settings app.
- Go to General > VPN & Device Management.
- Tap VPN.
- Find the VPN configuration that keeps connecting and tap the (i) next to it.
- Switch off Connect On Demand.
If you switch the VPN off on the VPN screen and leave Connect On Demand on, iOS can reconnect it the next time the phone joins a network.
2. Turn off auto-connect in the VPN app
If Connect On Demand was already off, or the VPN comes back when you open the app, the app itself is starting the connection.
- Open the VPN app.
- Go to its Settings or Preferences.
- Look for a setting such as "Auto-connect", "Always-on" or "Trusted networks".
- Turn off every setting that connects the VPN for you.
3. Delete VPN configurations you don't use
An old configuration can still hold its rules, so delete the ones you no longer use.
- Go to Settings > General > VPN & Device Management.
- Tap VPN to see every configuration on the phone.
- Tap the (i) next to one you don't recognize or no longer use.
- Tap Delete VPN and confirm. Repeat for the others.
4. Check for a work or school profile
- Go to Settings > General > VPN & Device Management. Apple's iPhone User Guide says the profiles installed on the phone are listed there.
- Tap a profile to see what it contains.
- If the profile comes from your employer or school, ask the IT administrator before you change anything. Apple notes that deleting a profile also deletes the settings, apps and data that came with it.
5. Check security apps
- Think of any security app you installed around the time the VPN icon first appeared.
- Open it and look for a VPN or "web protection" feature.
- Turn the feature off, or delete the app if you don't need it.
How to tell which VPN is turning on
With more than one VPN on the phone, the VPN screen shows which one is running.
- Go to Settings > General > VPN & Device Management > VPN.
- Each configuration appears under a name set by the app or profile that created it.
- The one shown as connected is the one to fix with the steps above.
Our guide on how to know if you have a VPN covers more ways to check.
What if you can't turn it off?
If an employer or school manages the phone, you may not be able to switch the VPN off or delete it. Apple's deployment guide says Always On VPN needs a supervised device and stays active, "including across restarts", until its profile is uninstalled. Ask the IT department that manages the phone.
How Tegant handles auto-connect

Tegant is our own app, so this part is the maker's account. Tegant has no auto-connect feature. It connects when you tap the button on its main screen and disconnects when you tap the button again.
Tegant also has no kill switch, and it won't bring the VPN up for you on public Wi-Fi, so it is the wrong app if you want a VPN that is always on.
Tegant runs on the WireGuard protocol, and XRay is Premium only. Our guide on how to choose a VPN for iPhone lists what else to compare, and the Tegant home page has the full feature list.
Get Tegant VPN. Available on iPhone, iPad, Mac and Android.