How to Turn Off or Bypass Zscaler on a Mac (When Tamper Protection Locks It)
Why turning off or uninstalling Zscaler Client Connector on a managed MacBook fails under Tamper Protection and MDM, and how to safely bypass specific broken domains per host with SWG bar.
SWG bar · Updated
If you are trying to turn off, disable, or uninstall Zscaler on a work Mac because it is breaking git, npm, Docker, Claude Code, Cursor, WebSockets, or certificate-pinned apps, you will usually hit a locked Turn Off button asking for an IT One-Time Password (OTP)—that is Zscaler’s Tamper Protection enforced by your company’s MDM.
Instead of fighting LaunchDaemons or breaking corporate VPN/SSO, the cleanest approach on an authorized Mac is per-domain bypass: keep Zscaler Client Connector (ZCC) running normally while routing only the specific broken hostname directly over your Mac’s physical interface using SWG bar (swgbar bypass enable <domain>).
1. Why you cannot simply quit, kill, or uninstall Zscaler on a managed Mac
On a MacBook enrolled in Jamf, Kandji, or Intune, Zscaler Client Connector is protected at three separate layers:
- App Profile Tamper Protection: Clicking More → Turn Off Internet Security or Logout prompts for an admin password generated in the Zscaler Mobile Portal.
- Protected macOS System Extensions & LaunchDaemons: Running
killall Zscalerorsudo launchctl unloadeither fails with permission errors or triggers macOSKeepAlive/ MDM auto-remediation within seconds. - Disconnecting Zscaler breaks corporate access: Even if ZIA is stopped, Zscaler Private Access (ZPA) internal apps, private Git servers, and Okta/Entra device-posture checks immediately fail.
2. Check whether Zscaler is actually decrypting the failing domain
Before bypassing or changing configs, confirm whether Zscaler SSL inspection (and not a corporate firewall block) is causing the issue:
- Open SWG bar → Domains or run
swgbar probe <domain>to verify whether the hostname is Confirmed intercepted byZscaler Root CA(or your organization’s custom Zscaler intermediate CA). - Or paste any terminal SSL error into our free SWG & SSL Error Decoder for an instant diagnosis.
3. Better alternatives to turning off Zscaler globally
| Method | Requires Zscaler OTP / Admin? | Keeps ZPA & corporate SSO alive? | Best for |
|---|---|---|---|
| Per-domain bypass with SWG bar | No (local Mac user on authorized networks) | Yes — only the chosen hostname bypasses Z-Tunnel | Broken pinned apps, developer APIs, WebSockets, or local testing without touching ZCC (Zscaler SSL inspection guide) |
| Export & trust Zscaler Root CA in CLI tools | No | Yes (traffic remains inspected) | Fixing unable to get local issuer certificate in Git, npm, Python, Docker, Claude Code, or Cursor when policy requires inspection |
| Request Zscaler Admin Portal bypass | Yes (IT ticket) | Yes | Permanent team-wide exclusion under Policy → SSL Inspection → Do Not Inspect or macOS App Profile Hostname Bypass |
4. Step-by-step: Bypass a single domain without disabling Zscaler
- Install SWG bar (macOS 14+ Apple silicon, 14-use-day free trial) and approve its macOS Network Extension when prompted.
- Open SWG bar → Domains, select the exact failing hostname (check multi-domain SSO, API, and CDN bypass if an app spans multiple domains), and click Enable next to Bypass SWG—or run
swgbar bypass enable <domain>. - Wait for status Bypassing, restart the failing browser tab or CLI command, and confirm the public certificate chain with
swgbar probe <domain>. - Need to revert immediately? Run
swgbar bypass disable <domain>or toggle it off in the menu bar.
If your company network requires all outbound traffic to pass through Zscaler, use our Git & npm SSL fix guide or Python & Docker SSL fix guide to configure Zscaler Root CA cleanly without disabling TLS verification.