macOSSecurityDeveloper Tools

macOS SIP: Check, Disable, and Restore System Integrity Protection

Understand what SIP protects, check its status, and only for a trusted technical task, change it from macOS Recovery before restoring the safer default.

·Updated ·8 min read·计算中...
macOS SIP: Check, Disable, and Restore System Integrity Protection

The short answer

System Integrity Protection (SIP) is a core macOS safeguard. Leave it enabled for normal use. It blocks even the root user and ordinary apps from changing protected parts of the system, attaching to protected processes, or weakening key runtime protections.

Some advanced development, legacy-driver, or system-research tasks may explicitly require a temporary change. If that is your case, use the exact instructions supplied by the trusted software vendor, make the smallest change that solves the problem, and restore SIP as soon as the task is finished. Do not disable SIP merely to make an unknown app launch: Gatekeeper's per-app exception is usually the safer path.

Apple requires SIP changes to be made from macOS Recovery, not from an ordinary logged-in macOS session. Apple's SIP documentation is the source of truth if your Mac or macOS version behaves differently.

What SIP protects

SIP, introduced in OS X El Capitan, protects important system locations and runtime behavior. In practical terms, it helps prevent software—even software running with administrator privileges—from silently changing the operating system itself.

Among other protections, SIP restricts changes to system-owned locations such as /System, /bin, /sbin, and most of /usr. It also limits code injection and debugging against protected Apple processes. Third-party tools should normally use supported user or developer locations instead; for example, Homebrew installs to its own prefix rather than modifying macOS system files. See the Homebrew guide before treating a permissions error as a reason to alter SIP.

Check SIP before changing anything

In a normal Terminal window, run:

csrutil status

If the result says that System Integrity Protection is enabled, that is the recommended state. A permissions error by itself does not mean SIP is the cause. First check the tool's official installation guide, its macOS compatibility, and whether it needs a supported extension or a different install path.

When changing SIP can be justified

Consider a temporary change only when all of these are true:

  • You know exactly which trusted tool or development task needs it.
  • The vendor's current documentation specifically requires it.
  • There is no supported setting, updated version, or narrower workaround.
  • You have a backup and a clear plan to turn SIP back on.

For normal app installation, custom themes, cleaning tools, or a generic “permission denied” error, disabling SIP is usually the wrong fix. It broadens the blast radius of a mistake or malicious software.

How to temporarily disable SIP

Disabling SIP lowers macOS's built-in protection. Do this only for a trusted, documented technical requirement, and do not download or run unfamiliar software while it is disabled.

  1. Save your work and restart into macOS Recovery.
    • On an Apple silicon Mac, shut down the Mac, then press and hold the power button until startup options appear. Choose Options, then Continue.
    • On an Intel Mac, restart and immediately hold Command-R until Recovery starts.
  2. From the Recovery menu bar, choose Utilities > Terminal.
  3. Run the following command:
csrutil disable
  1. Restart normally.
  2. Complete only the specific, trusted task that required the change.

On modern Macs, security policy can include more than SIP. Do not change Startup Security settings or run additional csrutil options unless the current documentation for your specific task requires them.

Restore SIP immediately afterward

Restart into macOS Recovery again, open Utilities > Terminal, and run:

csrutil enable

Restart normally, then verify the result in Terminal:

csrutil status

The expected result is that SIP is enabled.

Safer alternatives for common problems

Problem Safer first step
An app is blocked when you open it Verify the publisher and use the one-time Open Anyway path in Privacy & Security; see the Gatekeeper guide.
A command cannot write to a system location Check the tool's supported install location or use a user-owned directory.
You need a CLI tool or package Install it in a normal package-manager prefix with Homebrew, rather than under protected system paths.
A driver or extension will not load Follow the vendor's current macOS instructions; this may involve a supported security approval rather than disabling SIP.

Where to go next

SIP is not an inconvenience to remove from a new Mac checklist. Treat it as a high-impact diagnostic setting: change it only for a known reason, for the shortest possible time, then restore the default.

Subscribe to FreeMac

Weekly picks: free Mac software reviews, trusted source updates, alternatives, and low-friction guides.