How to turn off or uninstall a VPN on Windows, Mac, Linux and Android

To only turn a VPN off, press Disconnect in its app or use the switch in the system's VPN settings; if it comes back by itself, that is Always-on, On Demand or autostart. Removing a VPN takes three things: the program, the VPN profile in the system's settings, and what the program leaves behind (an adapter, a service, autostart). Order matters: first disconnect, turn off the kill switch and autostart, quit from the tray, and only then uninstall. Otherwise the internet may stay closed with nothing left to open it. Below are the steps for each system, how to check that nothing is left, and how to remove Veli.

Updated

How to remove Veli on each system. First disconnect and choose “Quit” in the menu of the tray icon (on a Mac, the menu bar icon): on exit Veli takes away its tunnel, DNS and firewall rules.

Download Veli for free
On this page

Only turn it off, without removing

If you just want the VPN off for now, there is no need to uninstall anything. Switch it off where it was switched on: in the app, or in the system's VPN settings for a connection made in the system itself.

  1. 1

    In the app

    Press its Disconnect button. Quitting from the tray or the menu bar also disconnects, as long as the app quits normally and is not killed.

  2. 2

    Windows 11

    Quick settings (Win + A) → the VPN tile, or Settings → Network & internet → VPN → Disconnect. This list shows connections made in Windows; most VPN apps are switched off in the app.

  3. 3

    Mac

    System Settings → VPN → the switch next to the service, or the VPN icon in the menu bar.

  4. 4

    Android

    Disconnect in the app, or tap the VPN notification. The system list is in Settings → Network & internet → VPN on most phones (on Samsung: Connections → More connection settings → VPN).

  5. 5

    iPhone and iPad

    Settings → VPN → the switch, or in the app.

A VPN that turns itself back on

  • Android: Always-on VPN. Settings → VPN → the gear next to the app → turn off “Always-on VPN” (and “Block connections without VPN”).
  • iPhone: Connect On Demand. Settings → General → VPN & Device Management → VPN → the info button next to it → turn off Connect On Demand.
  • Windows, Mac, Linux: the app starts with the system and connects. Turn off its autostart or auto-connect in its own settings.
  • A profile from work or school: it is managed by the organization, and only they can turn it off for good.

Before you uninstall

  1. 1

    Save what you need

    Keys, links, .conf and .ovpn files. Many clients can export them; after the uninstall they are gone, and a subscription's device slot may stay taken.

  2. 2

    Disconnect

    With the program's button, not by killing it: it puts back routes and DNS while it is running.

  3. 3

    Turn off the kill switch and Always-on

    Rules of a kill switch can outlive the program. The same goes for Always-on VPN on Android.

  4. 4

    Turn off autostart

    In the program's settings, on a Mac and Linux especially: there the startup entry can stay after the program is gone.

  5. 5

    Cancel the plan separately

    Uninstalling doesn't cancel a paid subscription. It is cancelled on the service's site, in the App Store or in Google Play.

Windows 10 and 11

  1. 1

    The program

    Settings → Apps → Installed apps → the three dots next to it → Uninstall. If the uninstaller offers to delete settings or data, that is where the keys are.

  2. 2

    The profile in Windows

    Settings → Network & internet → VPN: expand the connection → Remove. These are profiles made in Windows itself (IKEv2, L2TP, SSTP) or added by programs.

  3. 3

    The adapter

    Device Manager → View → Show hidden devices → Network adapters: remove what belongs to the program. Don't touch WAN Miniport, they are Windows' own.

  4. 4

    The proxy

    Settings → Network & internet → Proxy: “Use a proxy server” should be off if you didn't set it.

  5. 5

    Restart

    Drivers and services go away for good.

Windows: PowerShell, what is left
Get-VpnConnection | Format-Table Name, ServerAddress
Get-PnpDevice -Class Net | Format-Table Status, FriendlyName -AutoSize
Get-Service | Where-Object Name -match 'vpn|wireguard|amnezia|openvpn|sing-box'
Get-CimInstance Win32_StartupCommand | Format-Table Name, Command

VPN profiles, adapters (Unknown means not present now), services and autostart. All four only show, nothing is changed.

Windows: PowerShell as administrator, remove a profile
Remove-VpnConnection -Name "NAME" -Force

The name is from the first list. Profiles for all users need -AllUserConnection.

Mac

Dragging the app to the Trash removes only the app. The VPN profile, the helper and the startup entry live elsewhere, so start with the app's own uninstall if it has one.

  1. 1

    Uninstall from the app

    Look in its menu or settings for “Uninstall” or “Remove helper”. App Store apps don't have helpers: for them the Trash is enough, plus the next step.

  2. 2

    The VPN configuration

    System Settings → VPN → the info button next to the service → Remove Configuration.

  3. 3

    A profile

    System Settings → General → Device Management: remove the VPN's profile if there is one. If you can't, your company installed it.

  4. 4

    Autostart and extensions

    System Settings → General → Login Items & Extensions: switch off and remove what belongs to the app, network extensions too.

  5. 5

    The app

    Move it from Applications to the Trash and empty it. Data stays in ~/Library/Application Support: delete its folder if you want no keys left.

Mac: Terminal, what is left
scutil --nc list
systemextensionsctl list
ls /Library/LaunchDaemons /Library/LaunchAgents ~/Library/LaunchAgents /Library/PrivilegedHelperTools

VPN configurations, system extensions, startup files and helpers. Look for the program's or its maker's name; don't delete what you don't recognise.

Linux

Remove the program the way it was installed: from the package manager, Flatpak, Snap, or by deleting the AppImage. Connections live in NetworkManager and are removed separately.

Linux: Terminal
sudo apt remove PACKAGE
sudo dnf remove PACKAGE
sudo pacman -R PACKAGE
flatpak uninstall APP_ID

Take the line of your system. With apt, purge instead of remove also deletes the system settings of the package.

Linux: Terminal, profiles and leftovers
nmcli connection show
nmcli connection delete NAME
systemctl list-unit-files | grep -iE 'vpn|wg-quick|openvpn|sing-box|xray'
ls ~/.config/autostart

VPN connections of NetworkManager, services and autostart. A service is turned off with sudo systemctl disable --now NAME. Configs of WireGuard are in /etc/wireguard.

Android and iPhone

  • Android. Settings → Network & internet → VPN → the gear next to the app: turn off Always-on VPN and “Block connections without VPN”, then Forget VPN. After that Settings → Apps → the app → Uninstall. If the button is grey, take the app off the list of device administrators in the security settings.
  • Android, work phone. A VPN in the work profile is put there by the company, and only it can remove it.
  • iPhone and iPad. Settings → General → VPN & Device Management → VPN → the info button → Delete VPN, a profile there the same way. Deleting an app removes the configuration it made.
  • Browser. VPN extensions are removed in the list of extensions, and an extension with its own proxy stops working along with it.

What you see after the uninstall, and what to do

  • No internet

    WhyThe kill switch, DNS, proxy or a route stayed

    What to doInstall the program again, turn the kill switch off, quit, uninstall; or undo it by hand

  • The VPN icon or connection is still in the settings

    WhyThat is the system's profile, not the program

    What to doRemove the profile in the VPN settings

  • The adapter is in the list of networks

    WhyThe driver stayed

    What to doDevice Manager with hidden devices shown

  • The program comes back after a restart

    WhyIts service, scheduled task or helper is alive

    What to doTurn off autostart, remove the service

  • “Remove” is grey or asks for a password you don't know

    WhyA company profile or device management

    What to doAsk the company's admins

  • Uninstall ends with an error

    WhyThe program is running or its tunnel is up

    What to doQuit from the tray, restart, try again; or install the same version over it and uninstall

  • The money is still charged

    WhyThe subscription lives apart from the program

    What to doCancel it on the service's site or in the store

Sources

How we write and check

In Veli

How to remove Veli on each system

First disconnect and choose “Quit” in the menu of the tray icon (on a Mac, the menu bar icon): on exit Veli takes away its tunnel, DNS and firewall rules. On Windows: Settings → Apps → Installed apps → “Veli Client” → Uninstall; the start with Windows is removed along with it, and the box “Delete the application data” removes profiles and keys too. On Linux and a Mac first turn off “Start at login” in Settings → System. Then on Linux sudo apt remove veli for the .deb, which takes the system component with it; for the AppImage press Settings → Advanced → “System component” → “Remove” and delete the file. On a Mac remove the system component the same way, then move Veli Client to the Trash. On Android: like any app, after turning off Always-on VPN.

Profiles and keys stay in the data folder; its path is in Settings → About, and it can be deleted by hand. What Veli installed on your own server keeps running there: to take it off, delete the server in the app with “Also stop and remove the VPN on the server itself” ticked. On a router there is “Remove from the router”, which puts the router back as it was.

FAQ

How do I completely remove a VPN from Windows 11?

Disconnect and quit it, uninstall it in Settings → Apps → Installed apps, then remove its connection in Settings → Network & internet → VPN and its adapter in Device Manager. Restart at the end.

How do I remove a VPN profile from a Mac?

System Settings → VPN → the info button next to it → Remove Configuration. If it came with a device profile, remove that in General → Device Management.

Does deleting the app remove the VPN?

On a phone, yes. On a computer the connection in the system, the adapter, the helper and autostart can stay.

Why can't I delete the VPN on my phone?

Always-on VPN is on, the app is a device administrator, or a company manages the phone. Turn the first two off; with the third ask the company.

Does uninstalling a VPN cancel the subscription?

No. Cancel it on the service's site or in the store where you bought it.

Is it safe to delete a VPN?

Yes. Your traffic simply goes the usual way, and the provider sees it again. Turn off the kill switch first so that the internet doesn't stay closed.

Easy to install, easy to remove

Veli is a free client for Windows, macOS, Linux and Android with no sign-up. The uninstaller takes away the tunnel, the startup entry and, if you ask, the data.