Set up a VPN on macOS
Short answer: download your provider’s macOS app from its own website or the App Store, sign in, enable auto-connect and kill switch features, then check your new IP address with a leak test. macOS has one documented weakness you should know about: traffic can leak during the seconds between the Mac starting up and the VPN service starting.
Before you start
- A paid or free account with a provider you have chosen for the right reasons — see how to choose a VPN without being sold one.
- Your Mac’s macOS version. Providers publish minimum versions on their download pages.
- About ten minutes.
Installation steps
- Download the app from the provider’s website (or the Mac App Store if the provider says that version is current). Check the publisher name before opening the file.
- Install and sign in. macOS will ask for permission to add a system extension or VPN configuration — this is normal, because a VPN must install a system-level component to route your traffic. Approve it in System Settings when prompted.
- Connect once manually to confirm the account works and pick a nearby server for everyday use.
- Enable auto-connect. Most apps have a setting such as “Launch at login” plus “Auto-connect” or “Always-on”. Turn both on so the tunnel comes up without you remembering.
- Check the kill switch behaviour (next section).
- Verify it worked with a leak test — see the end of this page.
Always-on and the kill switch
The two features sound similar but do different jobs:
- Auto-connect / always-on reconnects the VPN for you whenever the Mac starts or the network changes.
- Kill switch blocks internet traffic while the tunnel is down, so nothing leaks through your normal connection in the gap.
How this works varies by app, so use your provider’s own documentation. A useful concrete example is the Mullvad app: its kill switch “is always on and cannot be turned off in the settings” — it blocks internet from the moment you connect until you disconnect, and a separate optional “Lockdown mode” continues blocking even after you deliberately disconnect. Other providers make the kill switch a setting you enable or disable; check what yours does when you disconnect on purpose as well as when the connection fails.
The documented boot-time leak on macOS
Mullvad’s 2022 security audit report (by Atredis Partners) and the app’s published known-issues document describe a limitation that is still relevant:
- There is a window during startup on macOS where traffic can leave the device before the VPN’s system service has started, even with launch-at-login and auto-connect enabled.
- This happens because “macOS does not allow a system service to specify dependencies or in which order they need to start” — the VPN app cannot force macOS to start it before the network comes up. Leaks during shutdown were fixed, but the startup window on macOS could not be fully mitigated.
Mullvad’s practical advice for its own app applies generally: do not enable “Open at Login” for applications you would not want to leak traffic; start them manually after the VPN has connected. Some system services may still leak before the VPN service starts.
If this window matters for your situation, a router-level VPN (see our router guide) avoids it entirely, because the tunnel is up before any device — Mac included — touches the network.
Check it worked
Run a leak test while connected:
- Visit a leak-test page such as mullvad.net/check, ipleak.net or dnsleaktest.com.
- Confirm the IP address shown is the VPN server’s, not your home address.
- Confirm the DNS servers shown belong to the VPN, not your broadband provider.
- Disconnect and reconnect your Wi-Fi once, then reload the page — the IP should stay the VPN’s, proving auto-connect and the kill switch held up.
If any test shows your real address, work through your provider’s kill switch settings, then see our dedicated leak test guide.
What this does NOT protect you from
- The startup window described above — no macOS VPN app can fully rule it out.
- Apps you deliberately exclude via split tunneling, if you turn that on.
- What you do while logged in: a VPN hides your traffic from the local network and your ISP, not your identity from the sites you sign into.
Not legal advice. Using a VPN is lawful in the UK, but this page is not legal advice, and the law differs in detail between England & Wales, Scotland and Northern Ireland. If your freedom or livelihood depends on it, take advice from a qualified UK lawyer or a Citizens Advice bureau.
Sources
- Mullvad VPN — Using the Mullvad VPN app (Windows/macOS/Linux), last updated September 2026 (accessed 1 Dec 2026).
- Mullvad VPN — Security audit report for our app available (Atredis Partners, October 2022) (accessed 1 Dec 2026).
- Mullvad VPN — known-issues.md in the mullvadvpn-app repository (accessed 1 Dec 2026).
- Mullvad VPN — Am I leaking? check page (accessed 1 Dec 2026).