Introduced in OS X El Capitan, System Integrity Protection (SIP) (often referred to colloquially as “rootless”) is a profound security feature in macOS. It restricts the privileges of the root user, preventing even the most powerful administrator from modifying protected system files, directories (like /System, /bin, /usr), and pre-installed Apple applications. While SIP is essential for protecting average users against advanced malware, developers, kernel extension creators, and advanced system tweakers sometimes need to disable it to accomplish their work.
Disclaimer: Disabling SIP significantly lowers the security posture of your Mac. Only do this if you are actively developing system-level software or absolutely require a specific legacy modification. You should re-enable it immediately after your work is complete.
Step 1: Boot into macOS Recovery Mode
Because SIP protects the operating system while it is running, you cannot disable it from a normal terminal window within macOS. You must boot into a special, isolated environment: macOS Recovery.
For Intel-based Macs:
- Click the Apple menu and select Restart.
- Immediately press and hold the Command (⌘) + R keys on your keyboard.
- Keep holding them until you see the Apple logo and a progress bar.
For Apple Silicon (M1/M2/M3) Macs:
- Click the Apple menu and select Shut Down. Wait for the screen to go completely black.
- Press and hold the physical Power button (Touch ID button).
- Keep holding it as the screen turns on. It will say “Continue holding for startup options”.
- When it says “Loading startup options…”, release the button.
- Click the Options icon (a gear) and click Continue.
- You may be prompted to select a user and enter your administrator password to unlock the disk.
Step 2: Launch the Recovery Terminal
Once you are in the macOS Recovery interface (you will see a window with options like “Restore from Time Machine” and “Reinstall macOS”):
- Ignore the main window. Look at the menu bar at the very top of the screen.
- Click Utilities.
- From the drop-down menu, select Terminal.
Step 3: Disable SIP using csrutil
The command-line tool used to manage SIP is called csrutil (Configuration Security Root Utility).
- In the Terminal window, type the following command precisely:
csrutil disable
- Press Enter.
- You will see a warning message stating that you have successfully disabled System Integrity Protection and that you must restart your machine for the changes to take effect.
- Type
rebootand press Enter, or click the Apple menu and select Restart.
Step 4: Verify SIP Status
Once your Mac boots back into your normal desktop, you can verify that SIP is actually off.
- Open the normal Terminal application (in Applications > Utilities).
- Run the following command:
csrutil status
The output should explicitly state: System Integrity Protection status: disabled. You now have true, unrestricted root access to the entire file system.
Step 5: Re-enabling SIP (Crucial)
When you have finished installing your driver or making your system modifications, you must turn SIP back on to protect your Mac.
- Repeat Steps 1 and 2 to boot back into macOS Recovery and open the Terminal.
- Type the following command:
csrutil enable
- Restart your Mac. SIP is now fully restored, but any files you placed in restricted directories while it was disabled will generally remain intact.