macOS Cannot Verify That This App Is Free From Malware: How to Fix It
If you’ve ever tried to open an app on your Mac and been stopped by a message saying “macOS cannot verify that this app is free from malware”, you’re not alone. This is one of the most common security warnings Mac users encounter — and it can feel confusing, especially when you downloaded the app from a source you trust.
In this guide, we’ll explain exactly what this warning means, why macOS shows it, and — most importantly — how to fix it safely. We’ll also cover when you should not bypass the warning, and how to keep your Mac protected going forward.
What Does “macOS Cannot Verify That This App Is Free From Malware” Mean?
This error message is triggered by a built-in macOS security feature called Gatekeeper. Gatekeeper acts as a digital bouncer for your Mac — it checks every app you try to open to make sure it meets Apple’s security standards before allowing it to run.
When you see this warning, it means Gatekeeper couldn’t confirm one or both of the following:
- Developer ID Signature: The app was not signed by an Apple-registered developer, meaning there’s no cryptographic proof the software hasn’t been tampered with.
- Apple Notarization: The app wasn’t submitted to Apple’s automated malware-scanning process, called Notarization, which verifies that an app is free of known malware.
Seeing this message does not automatically mean the app is dangerous. It simply means macOS cannot confirm it is safe.
Why Does This Error Appear? Common Causes
There are several reasons why macOS may block an app with this warning:
- Downloaded from outside the App Store: Apple’s Gatekeeper is most strict with apps downloaded directly from the internet or third-party websites.
- Missing, invalid, or corrupted digital signature: If an app’s signing certificate has expired or been revoked, Gatekeeper will flag it.
- App was not notarized: Some legitimate developers choose not to go through Apple’s notarization process.
- Unidentified or unregistered developer: The app’s creator hasn’t enrolled in the Apple Developer Program.
- Older app version: Apps created before Apple introduced the Gatekeeper Developer ID system may not have the required signatures.
- Your macOS security settings: By default, macOS is set to only allow apps from the App Store or identified developers.
Is It Safe to Open the App?
Before bypassing any security warning, ask yourself:
- Did I download this app from the developer’s official website or a trusted source?
- Is this a well-known application with a large user base and positive reputation?
- Did I intentionally download this app — or did it appear unexpectedly?
If you answered yes to the first two and no to the last, it’s likely safe to proceed. If you’re unsure of the source, do not bypass the warning — trust Gatekeeper and delete the file.
⚠️ Important: Malware can lead to data theft, financial fraud, ransomware infections, and privacy breaches. Always verify the source of any app before overriding macOS security settings.
How to Fix “macOS Cannot Verify That This App Is Free From Malware”
There are several methods to open a blocked app. We’ve arranged them from safest to most drastic — always start with Method 1 before moving on.
Method 1: Right-Click (Control-Click) to Open
This is the safest way to bypass Gatekeeper for a single app without changing any system-wide settings.
- Open Finder and navigate to the app.
- Right-click (or hold Control and click) on the app icon.
- Select Open from the context menu.
- Click Open again in the dialog box that appears.
This grants a one-time exception to Gatekeeper specifically for this app. The next time you open the app, it will launch normally.
Method 2: Use “Open Anyway” in System Settings
After trying to open the app (and being blocked), macOS will show an “Open Anyway” button in your Security settings — but only for approximately one hour after the blocked attempt.
- Click the Apple menu (🍎) in the top-left corner.
- Go to System Settings (or System Preferences on older macOS versions).
- Click Privacy & Security.
- Scroll down to the Security section — you should see a message about the blocked app.
- Click Open Anyway.
- Enter your administrator password when prompted.
- Click Open to confirm.
On macOS Sequoia (15) and later, Apple added an extra step: after clicking “Open Anyway,” you’ll need to authenticate with your password or Touch ID before the app is granted an exception.
Method 3: Remove the Quarantine Attribute via Terminal
When you download a file from the internet, macOS automatically adds a hidden metadata tag called the quarantine attribute (com.apple.quarantine). Removing this attribute tells Gatekeeper to stop blocking the file. Use this method only if you are confident the app is safe.
Step 1. Open Terminal — go to Applications > Utilities > Terminal, or press ⌘ Space and search for “Terminal”.
Step 2. Run the following command, replacing the path with the actual location of your app:
For example, if the app is in your Applications folder:
Press Enter and provide your administrator password if prompted. The app should now open without the security warning.
Method 4: Disable Gatekeeper System-Wide (Last Resort — Not Recommended)
This is the most drastic option and is strongly discouraged for everyday use. Disabling Gatekeeper removes macOS’s app verification checks entirely — meaning every app, including malicious ones, can run without any warnings. Only use this if you have a specific technical need and know exactly what you’re doing. Re-enable Gatekeeper immediately after opening the app.
Step 1. Open Terminal and run:
Step 2. Press Enter, type your administrator password, then restart your Mac.
On newer macOS versions, also go to System Settings > Privacy & Security and set “Allow apps downloaded from” to Anywhere.
Step 3. Once done, immediately re-enable Gatekeeper with:
Press Enter, enter your password, and restart your Mac again.
How to Verify an App’s Signature Before Opening It
Before bypassing Gatekeeper, you can inspect an app’s code signature directly in Terminal. This confirms whether the app was signed by a legitimate registered developer.
Check the code signature:
Check if the app is notarized by Apple:
If the output returns accepted with the source listed as Notarized Developer ID, the app has passed Apple’s checks. If it returns rejected, exercise extra caution before proceeding.
How to Keep Your Mac Protected After Bypassing Gatekeeper
Bypassing a security warning comes with responsibility. Here are the best practices to stay safe:
- Always re-enable Gatekeeper after using the system-wide disable method.
- Download apps from official sources — always prefer the Mac App Store or the developer’s own website.
- Keep macOS up to date — Apple regularly updates XProtect (the built-in malware database) and the Malware Removal Tool (MRT) through system updates.
- Regularly check your Downloads folder and delete any files you don’t recognize.
- Use two-factor authentication on your Apple account to prevent unauthorized access.
- Use a trusted VPN when downloading apps on public Wi-Fi, to reduce the risk of man-in-the-middle attacks tampering with downloads.
- Run periodic malware scans using reputable macOS security software.
Frequently Asked Questions
Is this error always a sign of malware?
No. The message means macOS cannot confirm the app is safe — not that it is definitely malicious. Many legitimate apps from trusted developers trigger this warning simply because they haven’t been submitted for Apple’s notarization process.
What is Apple Gatekeeper?
Gatekeeper is a built-in macOS security technology that checks apps for a valid Developer ID signature and Apple notarization before allowing them to run. It was introduced in OS X Mountain Lion (10.8) and has been strengthened significantly in each subsequent macOS release.
What is Apple Notarization?
Notarization is Apple’s automated process of scanning an app for known malware before it reaches users. When a developer submits their app and it passes, Apple attaches a notarization ticket that Gatekeeper verifies when you try to open it.
Why does the “Open Anyway” button disappear?
macOS only displays the “Open Anyway” button for about one hour after the initial blocked attempt. If you don’t see it, try opening the app again to reset the timer, then go back to System Settings > Privacy & Security.
Can I permanently disable Gatekeeper?
Technically yes, but it is strongly not recommended. Permanently disabling Gatekeeper leaves your Mac with significantly reduced protection against malware. Use the per-app exception methods (Control-click or “Open Anyway”) instead — they are safer and just as effective.
Conclusion
The “macOS cannot verify that this app is free from malware” error is Apple’s way of keeping your Mac safe from potentially harmful software. In most cases, it’s not a sign that the app is actually dangerous — it’s simply Gatekeeper doing its job by enforcing Apple’s security standards.
If you trust the source of the app, you can safely bypass the warning using the right-click method or the “Open Anyway” button in System Settings. For more control, the Terminal command xattr -d com.apple.quarantine gives you a clean, targeted fix. Only disable Gatekeeper system-wide as an absolute last resort — and always re-enable it immediately with sudo spctl --master-enable.
Staying protected on macOS means keeping Gatekeeper active, downloading apps from trusted sources, and keeping your system up to date. When in doubt, trust the warning — Apple’s security system exists for a very good reason.
Source reference: NordVPN Blog — macOS Cannot Verify This App Is Free From Malware