Gatekeeper on Mac: what it blocks and how Open Anyway works
Gatekeeper is the macOS check that runs the first time you open downloaded software, to make sure only trusted software runs on your Mac. If it blocks an app because macOS can't verify that it is free of malware, the Open Anyway button in System Settings, Privacy & Security lets you confirm that you want to open it. Use it only if you are certain the app comes from a trustworthy source and has not been tampered with. If you are not certain, get the app directly from its developer instead. The button matters only after you have tried to open the app and macOS has held it back.
01What Gatekeeper on Mac does
Gatekeeper on Mac is built into macOS. It verifies three things: the developer is identified, Apple notarized the software, and nobody has altered it. Notarization is a scan by Apple, explained below.
By default, all software is checked for known malicious content the first time it is opened, regardless of how it arrived on the Mac. Gatekeeper also asks for your approval before opening downloaded software for the first time. The point is to make sure you have not been tricked into running a program you took for a plain data file.
Two smaller jobs sit next to this. It tracks where files written by downloaded software came from. It also guards against malicious add-ons shipped inside harmless-looking apps.
02Where the Gatekeeper setting is
Gatekeeper is a security technology, not an app you open. You meet it as an alert, and you set it in System Settings. Choose Apple menu, then System Settings, then click Privacy & Security in the sidebar (you may need to scroll down). The setting there is called Allow applications from, and it gives you two choices.
| Setting | What it allows |
|---|---|
| App Store | Apps only from the Mac App Store. This is the most secure setting against malware |
| App Store and identified developers | Apps downloaded from the App Store and from developers identified by Apple |
You can also override Gatekeeper to open software it blocked, unless a device management service restricts it. For one app, that override is the Open Anyway button, covered below. If a system administrator or an IT department manages your Mac, some settings may not be available to you. The other switches are on the Mac security settings page.
03Notarization: what the word means
Notarization is a malware scanning service provided by Apple. A developer sends software to Apple. If Apple finds no known malware, it issues a notarization ticket, a record that the scan passed. So "notarized" means Apple checked the app for malicious software and none was detected. By default, macOS Catalina and later requires software to be notarized.
It does not mean the app is good or that it will never turn bad. Apple can issue a revocation ticket for an app known to be malicious, even if it was notarized before. In other words, Apple can withdraw its approval later. These checks run in the background more often than XProtect signature updates. The signature side of macOS protection is on the XProtect page.
04What the alerts mean
macOS uses several alerts here, and Apple notes the wording you see can differ from its examples. Read the wording, because each one needs a different reaction.
| Alert | What it means | What to do |
|---|---|---|
| macOS asks for your approval before opening | First-open request for downloaded software | Check where you got the app |
| macOS can't verify that the app is free of malware | The developer can't be verified and the app hasn't been notarized by Apple | Only this case is a candidate for Open Anyway, and only if you are certain of the source |
| The app will damage your computer | macOS found malicious content, or the app's authorization was revoked | Stop. Do not override |
| The app can't be opened and is moved to the Trash | macOS detected known malware | Let it go. You may be asked to share a copy with Apple |
| The app can't be opened because it was modified or damaged | The app might be broken, corrupted or tampered with | Download a fresh copy from the developer |
05How Open Anyway works and when it is safe
Open Anyway is the way to open one app that Gatekeeper held back. Here is the safe order.
- Ask where the file came from. Get software directly from the developer or another reliable source, not through an ad or a link.
- Try to open the app and read the alert against the table above. Only the "can't verify that the app is free of malware" alert is a candidate. For "will damage your computer" or known malware, stop.
- Decide if you are certain the app is from a trustworthy source and has not been tampered with. Only then might you temporarily override your Mac security settings to open it.
- Choose Apple menu, then System Settings, then click Privacy & Security in the sidebar (you may need to scroll down). Scroll down on that screen and click the Open Anyway button to confirm your intent to open or install the app.
- The warning appears again. If you are absolutely sure, click Open. The app is then saved as an exception to your security settings and opens with a double-click from then on.
The risk is the one Apple names: running software that has not been signed and notarized may expose your computer and personal information to malware.
An older trick has closed. Right-clicking an app and choosing Open used to get some unnotarized programs past Gatekeeper. On macOS 26 that no longer works, because the app file is not notarized and will be blocked. If a disk image tells you to launch the app through Terminal instead, that is a way to sidestep Gatekeeper, and a reason to stop.
06Can you turn Gatekeeper off?
Apple says Gatekeeper can be completely turned off, if necessary, but it gives no steps for it, so none are given here. For a normal Mac it is not a good idea: software that has not been signed and notarized may expose your computer and personal information to malware. If you need to open one app, use Open Anyway above and leave Gatekeeper on.
07What Gatekeeper on Mac does not catch
Gatekeeper checks software at the door. Two situations get around it. Signed, in this list, means the app carries a valid developer signature.
- Signed and notarized malware. One stealer, a program that copies passwords and files, was both signed and notarized, so the user did not need to bypass the standard protections. Another signed stealer evaded Gatekeeper and XProtect for quite some time.
- Commands you run yourself. Scripts launched through Terminal are not subject to the Gatekeeper checks that apply to apps opened through Finder. Nothing is downloaded for a scanner to look at, and there is no unsigned app for Gatekeeper to flag.
What to do about both: do not paste commands into Terminal because a website, a video call or a chat told you to, and get programs from their developer rather than through an ad or a link. Checks after launch are mapped on how macOS detects malware.
Gatekeeper's main check comes at first open.
08The short version
Gatekeeper on Mac is the first-open check for downloaded software. It looks for an identified developer, Apple notarization and an unaltered app. Open Anyway saves one app you are sure about as an exception to your security settings. When the alert names damage or malware, the answer is no. If something already feels off, go to the virus check. To see how malware tries to reach your Mac, read can Macs get viruses.
FAQ
What is the Gatekeeper on a Mac?
It is a macOS technology designed to help ensure that only trusted software runs on your Mac. It checks that downloaded software comes from an identified developer, is notarized by Apple and has not been altered.
Where is Gatekeeper on Mac?
It has no app of its own. Its setting lives in System Settings under Privacy & Security, where Allow applications from limits your Mac to the App Store or identified developers. The Open Anyway button is on the same Privacy & Security screen.
Can I turn Gatekeeper off on my Mac?
Apple says it can be completely turned off, if necessary, but gives no steps, and for most people leaving it on is the right call. For one app you trust, the narrower choice is Open Anyway. Running software that is not signed and notarized may expose your computer and personal information to malware.
How do I check if someone is monitoring my Mac?
Gatekeeper does not answer that. Look at what starts by itself in System Settings, General, Login Items & Extensions, and at which apps may monitor your keyboard under Privacy & Security. Steps are on the virus check page.
Is it safe to use Open Anyway?
Only if you are certain the app comes from a trustworthy source and has not been tampered with. If the alert says the app will damage your computer, stop.
Does Gatekeeper stop all malware?
No. Malware that is signed and notarized passes its checks, and a command you run yourself in Terminal never reaches them. Apple can later revoke notarization.
Related guides
Sources
- Apple Support, safely open apps on your Mac
- Apple Platform Security, Gatekeeper and runtime protection
- Apple Platform Security, protecting against malware
- Apple Support, Privacy & Security settings
- Apple Support, pop-ups and malware on Mac
- Objective-See, The Mac malware of 2025
- Jamf Threat Labs, DigitStealer analysis
- AV-TEST, Mac test under Sequoia
- Moonlock, mid-2026 macOS threat report
- Microsoft Defender Experts, ClickFix on macOS
- Artificial Immunity