Disable Gatekeeper El Capitan: Full Guide
In this article
To disable Gatekeeper in OS X El Capitan, open System Preferences > Security & Privacy > General and select “Anywhere” under “Allow apps downloaded from.” If “Anywhere” is missing or grayed out, you can re-enable it with a Terminal command (sudo spctl --master-disable), which is the more common method for El Capitan.
What Gatekeeper Does in El Capitan
Gatekeeper is a security feature introduced in OS X Mountain Lion and refined in later versions. It checks the digital signature and notarization status of apps before allowing them to run. In El Capitan (10.11), Gatekeeper offers three levels of control:
- Mac App Store – only apps downloaded from the Mac App Store run.
- Mac App Store and identified developers – the default; allows apps signed with a Developer ID and notarized by Apple.
- Anywhere – disables Gatekeeper checks; any app can run, regardless of signature.
When you try to open an app that fails Gatekeeper, you see a message like “‘AppName’ can’t be opened because it is from an unidentified developer.” Disabling Gatekeeper removes this block entirely.
Why You Might Want to Disable It
Most users disable Gatekeeper to run software that is not signed with an Apple Developer ID or not notarized. This includes older applications, open-source tools, or custom-built scripts. In El Capitan, Apple also tightened the requirement that even Developer ID apps be notarized, so some legitimate apps that haven’t been updated may trigger the warning. If you trust the source of the app, disabling Gatekeeper is a straightforward way to bypass the restriction.
How to Disable Gatekeeper via System Preferences
The simplest method works only if the “Anywhere” option is visible. Here’s how:
- Open System Preferences from the Apple menu.
- Click Security & Privacy.
- Click the General tab.
- Click the lock icon in the bottom-left corner and enter your administrator password.
- Under Allow apps downloaded from, select Anywhere.
If “Anywhere” is not present, it means the option has been hidden (often by a previous policy or by upgrading from an older version). You can restore it with the Terminal command below.
How to Disable Gatekeeper via Terminal
The Terminal method is the most reliable on El Capitan. It uses the spctl (System Policy Control) tool to change the global Gatekeeper setting.
- Open Terminal (in /Applications/Utilities/).
- Type the following command and press Enter:
sudo spctl --master-disable - Enter your administrator password when prompted. You won’t see characters as you type.
- Close Terminal. The “Anywhere” option will now appear in System Preferences, and Gatekeeper is disabled.
To re-enable Gatekeeper later, use sudo spctl --master-enable. That restores the default “Mac App Store and identified developers” setting.
How to Open a Single App Without Disabling Gatekeeper
If you only need to run one unsigned app, you don’t have to disable Gatekeeper globally. Instead, right-click (or Control-click) the app in Finder and select Open from the context menu. Then click Open in the confirmation dialog. This adds a one-time exception for that app, leaving Gatekeeper active for everything else.
Security Considerations and Risks
Disabling Gatekeeper removes a significant layer of protection. Apps that are not signed or notarized have not been checked by Apple for known malware. On El Capitan, which no longer receives security updates, running unsigned software increases your exposure to vulnerabilities. If you disable Gatekeeper, you should only download apps from sources you trust completely, and consider re-enabling it after you’ve installed what you need. For most users, the right-click “Open” method is a safer compromise.
Common Problems and Troubleshooting
- “Anywhere” still missing after Terminal command: Make sure you ran
sudo spctl --master-disableexactly. Check that you have admin rights. Then restart System Preferences (close and reopen). - App still blocked after disabling: Some apps have additional quarantine attributes. Remove the quarantine flag with
xattr -d com.apple.quarantine /path/to/App.app. - Terminal says “command not found”: You’re likely not in the correct shell or path. Type
/usr/sbin/spctlinstead of justspctl. - Cannot change the setting because it’s grayed out: Click the lock icon first and authenticate. If still grayed out, a configuration profile may be enforced by your organization.
Frequently Asked Questions
Is disabling Gatekeeper safe?
It reduces security. Gatekeeper is designed to block unsigned and un-notarized apps, which are more likely to contain malware. If you disable it, you assume the risk of running software that hasn’t been reviewed by Apple. It’s safer to use the right-click “Open” method for individual apps.
Will disabling Gatekeeper affect all users on my Mac?
Yes. The spctl --master-disable command changes the system-wide setting, affecting every user account on the Mac. The System Preferences method also applies globally.
How do I re-enable Gatekeeper after disabling it?
Open Terminal and run sudo spctl --master-enable. This restores the default setting. You can also go to System Preferences > Security & Privacy > General and select “Mac App Store and identified developers.”
Does disabling Gatekeeper also disable SIP (System Integrity Protection)?
No. Gatekeeper and SIP are separate security features. SIP protects system files from modification, while Gatekeeper controls which apps can run. Disabling Gatekeeper does not affect SIP.
Why is the “Anywhere” option not showing in El Capitan?
Apple hid the “Anywhere” option in later versions of El Capitan (10.11.4 and later) to encourage users to keep Gatekeeper enabled. The Terminal command sudo spctl --master-disable restores it.
Can I disable Gatekeeper without administrator password?
No. Both the System Preferences method and the Terminal command require administrator privileges. If you don’t have the admin password, you cannot disable Gatekeeper.