Gatekeeper is a built-in macOS security feature that controls which apps are allowed to run on your Mac, and yes, you should use it—it is enabled by default and provides a first line of defense against malware. It works by checking that apps are signed by a registered Apple Developer and notarized by Apple before they run, and you can adjust its strictness in System Settings if you need to run software from outside the App Store.
What Is Gatekeeper?
Gatekeeper is a security technology introduced in OS X Mountain Lion (2012) that sits between you and the apps you try to open. Its job is to verify that the software you run comes from a known source and hasn’t been tampered with. It is not an antivirus scanner—it doesn’t look for malicious code inside an app. Instead, it checks two things:
- Developer ID signature: the app is signed with a certificate from a registered Apple Developer, so Apple knows who made it.
- Notarization: the developer submitted the app to Apple for a security scan, and Apple approved it (required for all software distributed outside the App Store since macOS Catalina, 2019).
If an app fails either check, Gatekeeper blocks it with a warning that says the app “cannot be opened because the developer cannot be verified” or “macOS cannot verify that this app is free from malware.”
How Gatekeeper Works on Your Mac
When you double-click an app, Gatekeeper checks its code signature and notarization ticket. If everything is valid, the app opens normally. If not, you see a dialog with options to move the app to the Trash or open it anyway (the “Open Anyway” button appears in System Settings > Privacy & Security after you try to open the app once).
Gatekeeper also protects against “quarantined” files—anything downloaded from the internet, email, or messaging apps gets a quarantine attribute (com.apple.quarantine) that triggers the check. Files you create locally or copy from another Mac you own are not quarantined, so they bypass Gatekeeper entirely.
How to Adjust Gatekeeper Settings
You can change how strict Gatekeeper is in System Settings (or System Preferences on older macOS). The relevant pane is Privacy & Security, scroll down to the Security section. You’ll see a radio button with three options:
- App Store: only apps from the Mac App Store run (strictest).
- App Store and identified developers: allows apps signed and notarized by Apple (default).
- Anywhere: allows any app, even unsigned ones (hidden on Apple Silicon; requires disabling SIP to reveal).
To open a single blocked app without changing the global setting, right-click the app and choose Open, then click Open in the confirmation dialog. On Apple Silicon Macs, you can also go to System Settings > Privacy & Security and click Open Anyway next to the app’s name after the first failed launch.
Gatekeeper on Apple Silicon vs Intel
Apple Silicon Macs (M1 and later) have additional protections. They enforce signed system volume and secure boot, and they require all kernel extensions to be approved. Gatekeeper on these Macs also checks that the app is notarized for the correct architecture. On Intel Macs, you can still set the “Anywhere” option, but on Apple Silicon that option is removed—you must right-click or use “Open Anyway” for individual apps. This is a deliberate trade-off: more security, less flexibility.
Common Gatekeeper Problems and Fixes
Users often see ““app” is damaged and can’t be opened” even for legitimate apps. This usually happens when the quarantine attribute is corrupted or the app was downloaded with a broken notarization ticket. Fixes:
- Right-click the app and select Open once—this sometimes re-validates the signature.
- Remove the quarantine attribute with
xattr -dr com.apple.quarantine /path/to/appin Terminal (only do this for apps you trust). - Re-download the app from the official source—a partial download can break the signature.
- Check the app’s developer—if it’s from an unknown developer, the warning is expected.
Should You Turn Gatekeeper Off?
In most cases, no. Keeping the default setting (“App Store and identified developers”) gives you a good balance of safety and flexibility. Turning Gatekeeper off entirely (if you can) exposes you to unsigned, unnotarized software that could contain malware. The only reason to lower the bar is if you regularly install open-source or homebrew software that isn’t notarized—but even then, you can run those apps with the right-click “Open” method without disabling the global protection. If you’re a developer testing your own apps, you can use codesign and notarytool to notarize them, or temporarily allow your own signed builds via System Settings.
Frequently Asked Questions
How do I know if Gatekeeper is on?
Go to System Settings > Privacy & Security and look at the “Allow applications downloaded from” section. If it’s set to “App Store and identified developers” (the default), Gatekeeper is active. If you see “Anywhere,” it’s off (this option only appears on Intel Macs after disabling SIP).
Why does my Mac say the app is damaged when it’s not?
This usually means the app’s quarantine attribute is corrupted or the download was incomplete. Try right-clicking and choosing Open, or re-download the app. If it’s a known app from a reputable developer, you can also remove the quarantine attribute in Terminal, but only if you trust the source.
Can Gatekeeper be bypassed?
Yes, but not easily. You can right-click and choose Open, or use the “Open Anyway” button in System Settings. On Intel Macs, you can disable Gatekeeper entirely by running sudo spctl --master-disable in Terminal (requires disabling SIP first). On Apple Silicon, the “Anywhere” option is hidden, so you must use the per-app method.
Does Gatekeeper protect against all malware?
No. Gatekeeper only checks signatures and notarization at launch. It doesn’t scan for viruses, and it doesn’t protect against malware that arrives via a legitimate signed app (like a compromised developer). You still need common sense and possibly a separate antivirus tool for full protection.
Is Gatekeeper the same as XProtect?
No. XProtect is Apple’s built-in malware scanner that runs in the background and removes known malware. Gatekeeper is a gatekeeper—it decides whether to let an app run in the first place. They work together: Gatekeeper blocks suspicious apps, XProtect cleans up if something slips through.
What should I do if I really need to run an unsigned app?
First, verify the source—if it’s a small open-source tool, it’s probably fine. Right-click the app and choose Open to bypass the warning once. If you need to run it repeatedly, you can add it to your “Open Anyway” list in System Settings. Avoid disabling Gatekeeper globally unless you fully understand the risk.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Infinity Essence in Sailor Piece: Farming and Uses
- Apollo.io Alternatives for Sales Prospecting
- Deploy AI Agents in a Service Desk With Human Oversight
- AIM and Yahoo Profiles: When Did You Last Look?
- Best Smartwatch Under ₹5,000 in India: What to Buy
- Chat History vs Saved Memory in AI Assistants