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

Installation steps

  1. 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.
  2. 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.
  3. Connect once manually to confirm the account works and pick a nearby server for everyday use.
  4. 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.
  5. Check the kill switch behaviour (next section).
  6. 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:

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:

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:

  1. Visit a leak-test page such as mullvad.net/check, ipleak.net or dnsleaktest.com.
  2. Confirm the IP address shown is the VPN server’s, not your home address.
  3. Confirm the DNS servers shown belong to the VPN, not your broadband provider.
  4. 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

Sources and verification

Every factual claim on this page is registered and independently checked (two independent sources for legal, numeric and security claims). How this works: fact-checking. Spotted an error? Tell us.

The Mullvad desktop app's kill switch is built in, always active from the moment you connect until you disconnect, and cannot be turned off in the settings.

  • Mullvad VPN — Using the Mullvad VPN app (Windows, macOS, Linux) vendor · accessed 2026-12-01
  • Mullvad VPN — Security audit report for our app available (Atredis Partners, October 2022) vendor · accessed 2026-12-01

On macOS, traffic may leak outside the VPN during system startup before the Mullvad service starts, because macOS does not let a system service specify start-up order; Mullvad recommends not enabling 'Open at Login' for apps you do not want to leak.

  • Mullvad VPN — Using the Mullvad VPN app (Windows, macOS, Linux) vendor · accessed 2026-12-01
  • Mullvad VPN — Security audit report for our app available (Atredis Partners, October 2022) vendor · accessed 2026-12-01
  • Mullvad VPN (GitHub) — Mullvad VPN app — known issues (documented boot-up leaks) vendor · accessed 2026-12-01