How to set up a VPN on Mac: app and System Settings
The easiest way to set up a VPN on a Mac is to install your VPN provider's app, sign in and press connect. If your work, school or provider gave you settings instead of an app, you add them in System Settings > Network, then turn the VPN on or off from System Settings > VPN or the VPN status menu in the menu bar.
Below are both routes with Apple's own labels, plus how to switch the VPN off and the one setting that makes it keep switching itself back on. The manual steps follow the current Mac User Guide (macOS 27). If your Mac runs an older version, Apple's guide has a version picker at the top of each page.
Which route you need
Ask one question first: did your VPN come with an app, or with a list of settings?
- An app. Most consumer VPN subscriptions work this way. The app adds the VPN configuration for you and gives you a connect button. Use route 1.
- Settings or a settings file. Workplaces, schools and some routers hand out a server address, an account name and a password, or a VPN settings file. Use route 2.
Apple says the information you need for the manual route comes from "the network administrator for your organization or your VPN service provider". That includes the type of VPN connection, the server address, the account name and any authentication settings, such as a password or a certificate.
Route 1: set up a VPN on Mac with an app
- Download your VPN provider's Mac app, from the Mac App Store or from the provider's own website.
- Open the app and sign in, or create your account in the app if it offers that.
- Press the app's connect button.
- If you are asked to allow the app to add a VPN configuration, follow the prompts and allow it, since the VPN cannot start without it.
- Pick a server location in the app if you want one, or leave the default.
That is the whole setup. From then on you connect and disconnect from the app. Many apps also add their own icon to the menu bar.
One reason the app route is the norm: the protocols built into macOS's manual setup are L2TP, IPSec and IKEv2. Services that run on other protocols, such as WireGuard, ship their own app to handle the connection. Our post on WireGuard vs OpenVPN explains the difference between the common protocols.
Route 2: set up a VPN in System Settings
If you received a VPN settings file, Apple says you can just double-click it to set up the connection. If you received settings to type in, follow Apple's steps:
- Choose Apple menu > System Settings, then click Network in the sidebar. You may need to scroll down.
- Click the Action pop-up menu, choose Add VPN Configuration, then choose the type of VPN connection you were told to use.
- Enter a name for the VPN in the Display Name field. This is the name you will see when you connect.
- If you are setting up L2TP over IPSec, click the Configuration pop-up menu and select a configuration. If you do not need more than one, use the Default configuration.
- Enter the settings you were given. Apple says these vary by type and may include the server address, account name, password and authentication method.
- If your administrator gave you extra settings, enter them. L2TP over IPSec has Options, TCP/IP, DNS and Proxies. Cisco IPSec and IKEv2 have DNS and Proxies.
- Click Create.
To change any of this later, open Apple menu > System Settings, click VPN in the sidebar, then click the Info button next to the VPN service. That is where you edit the server address, account name and password, or click Remove configuration to delete it.
How to turn on a VPN on Mac
For a VPN you added in System Settings, you have two switches.
From System Settings
- Choose Apple menu > System Settings, then click VPN in the sidebar.
- Turn the VPN service on.
From the menu bar
Apple's VPN status menu lets you connect, disconnect and see how long you have been connected. To show it, open System Settings, click Menu Bar in the sidebar, then select the VPN checkbox. Then:
- Click the VPN status menu in the menu bar.
- Choose the VPN you want to connect to.
The same menu has Show Time Connected, which shows how long the VPN has been on, and Show Status While Connecting.
For an app-based VPN, open the app and press connect, or use the app's own menu bar icon.
How to turn off a VPN on Mac
Use whichever switch matches how you set it up.
- VPN app: open the app and press disconnect. If you want it fully off, quit the app as well, so it cannot reconnect when your Mac wakes up.
- System Settings: choose Apple menu > System Settings, click VPN in the sidebar, then turn the VPN service off.
- Menu bar: click the VPN status menu and choose the VPN you want to disconnect from.
To remove a manual VPN for good, go to System Settings > VPN, click the Info button next to it and click Remove configuration. To remove an app-based VPN, uninstall the app. If you are leaving a paid service, deleting the app does not end the subscription. Our guide on how to cancel a VPN subscription covers that part.
Common snags
The VPN turns itself back on. Check the Connect on demand setting. Apple describes it as "Automatically start the VPN connection when needed", so with it on, macOS can start the VPN again after you switch it off. Turn it off in System Settings > VPN, under the Info button for that service. VPN apps often have a similar setting, usually called something like auto-connect, in the app's own settings.
There is no VPN icon in the menu bar. The VPN status menu only appears once you select the VPN checkbox in System Settings > Menu Bar. To hide it again, deselect the checkbox, or Command-click the icon and drag it out of the menu bar.
You do not know which VPN type to pick. Do not guess. The type must match what the server uses, so ask whoever gave you the settings.
Some traffic skips the VPN. For L2TP connections, Apple lists an option called "Send all traffic over VPN connection". Work VPNs sometimes leave it off on purpose, so check with your administrator before changing it.
You want to check that it is working. Look at your IP address with the VPN on and off. Our post on how to tell if your VPN is working walks through the checks.
Frequently asked questions
How do I use a VPN on my Mac?
Install your VPN provider's app, sign in and press connect. If you were given settings instead, add them under System Settings > Network with Add VPN Configuration, then turn the VPN on in System Settings > VPN.
Where are the VPN settings on a Mac?
Choose Apple menu > System Settings, then click VPN in the sidebar. To add a new VPN by hand, Apple's steps start under Network in the sidebar, with the Action pop-up menu and Add VPN Configuration.
How do I turn off the VPN on my MacBook?
Press disconnect in your VPN app, or go to System Settings > VPN and turn the service off. If the VPN keeps coming back, turn off Connect on demand for that service, or the auto-connect setting in your VPN app.
Is the setup different on a MacBook Air or MacBook Pro?
No. The steps are the same on any Mac running the same version of macOS. What can differ is the macOS version, so if a label does not match, use the version picker at the top of Apple's guide.
Can I set up a VPN on a Mac for free?
Yes, adding a VPN in System Settings costs nothing, but you still need a VPN server to connect to. Before you pick a free service, read our take on whether free VPNs are safe.
Secria VPN on a Mac
If you want to try a VPN without paying, Secria VPN Free works on iPhone, iPad, Mac and Android with a free Secria account, no card needed. You can create the account with a @secria.me address and a password, then connect on free servers in Frankfurt and Dallas, one device at a time.
Every plan, Free included, gets the same encryption: WireGuard with an ML-KEM-1024 post-quantum key added to every session, on by default. You also get a kill switch, Stealth mode for networks that block VPNs, and DNS blocking that helps block ads and trackers. Servers are RAM-only. No activity logs: we do not record browsing, DNS queries or traffic contents. Paid plans add every location, Multi-Hop, split tunneling and 5 devices. See Secria VPN.
Secria fact-checks every post against primary sources. Spotted something wrong or out of date? Email hq@secria.me and we will correct it.