"App Is Damaged and Can't Be Opened" on Mac: How to Fix It
Quick answer
The app is rarely broken: Gatekeeper blocked it because it couldn't verify where it came from. If you trust the source, try System Settings > Privacy & Security > Open Anyway first. If that button doesn't show up, remove the quarantine flag in Terminal with xattr -d com.apple.quarantine followed by the app's path.
In this article
You double-click an app you just downloaded and macOS throws this at you: “AppName” is damaged and can’t be opened. You should move it to the Trash. Scary wording, mostly a false alarm.
I run into this one regularly. Almost always with apps from outside the App Store, and some of them are really good apps. A lot of great Mac software is only sold on the developer’s own site, so “not from the App Store” doesn’t mean “dangerous”. It just means macOS is going to be suspicious.
What actually happened: Gatekeeper, the part of macOS that checks apps on first launch, couldn’t verify the app. Maybe the developer didn’t notarize it with Apple, maybe its certificate expired, maybe the download got cut off. Every file you download through a browser or AirDrop gets a “quarantine” tag, and Gatekeeper looks at that tag before letting the app run.
So the fix depends on one question: do you trust where this app came from?
1. Re-download it from the official site
Takes a minute, and it rules out the boring cause: a corrupted or interrupted download.
- Drag the app to the Trash.
- Go to the developer’s own website (not a mirror or a download portal) and download the latest version.
- Move it to your Applications folder before opening it.
Still “damaged”? Move on to step 2.
2. Use Open Anyway in Privacy & Security
This is Apple’s official way to allow one app that Gatekeeper blocked.
- Try to open the app once and close the warning. The button below only shows up after that first attempt, and only for about an hour.
- Open System Settings > Privacy & Security.
- Scroll down to the Security section. You should see a line saying the app was blocked, with an Open Anyway button.
- Click Open Anyway, enter your login password, then click OK.

The app is now saved as an exception, and it opens normally from then on.
No Open Anyway button? That can happen with this specific “damaged” message. The quarantine flag is the problem, so remove it directly.
3. Remove the quarantine flag in Terminal
One command. It tells macOS this app is no longer a fresh download to inspect.
-
Make sure the app is in your Applications folder.
-
Open Terminal (Applications > Utilities, or Spotlight).
-
Click Copy on the command below, paste it into Terminal, and don’t press Return yet. It already ends with the space you need:
xattr -d com.apple.quarantine -
Drag the app from Finder into the Terminal window. Its full path appears after the command.
-
Press Return. If macOS asks for permission, allow it.
-
Open the app again.
Dragging the app beats typing the path. App names with spaces need escaping in Terminal, and the drag does it for you.
If Terminal answers No such xattr: com.apple.quarantine, the flag isn’t there. Clear all the app’s extended attributes instead:
xattr -cr /Applications/AppName.app
(Copy it, then replace /Applications/AppName.app by dragging your app in, same as before.)
Still not opening?
At that point it’s probably not Gatekeeper:
- Check the app supports your macOS version. macOS 27 runs on Apple silicon Macs only, and some older apps were never updated for it. The developer’s site or release notes will say.
- Look for an update. An expired developer certificate is a common reason for this error, and a newer build usually fixes it.
- Contact the developer. If their app shows this error on a clean download, they’d want to know. It usually means a signing or notarization problem on their side.
What not to do
- Don’t turn off Gatekeeper for everything. Some guides tell you to disable it system-wide with a Terminal command. It’s overkill for one app and easy to forget to turn back on.
- Don’t run commands from random forums that you don’t understand, especially ones that use
sudo. The two commands above only touch the one app you point them at.
FAQ
Is the app really damaged?
Almost never. The message usually means macOS couldn't verify the app's signature or notarization, often because it was downloaded from outside the App Store. A truly corrupted download is possible too, which is why re-downloading from the official site is worth trying.
Is it safe to remove the quarantine attribute?
It's safe for an app you trust, from the developer's own site. It isn't a way to make sketchy downloads safe. Removing the flag only skips the check macOS does on first launch for that one app.
Why can't I just right-click and choose Open anymore?
Apple removed that shortcut in macOS Sequoia. Since then, the only built-in way to approve an unverified app is the Open Anyway button in System Settings > Privacy & Security.
Where is the Open Anyway button?
In System Settings > Privacy & Security, scroll down to the Security section. It only appears after you've tried to open the app once, and it goes away after about an hour.
Should I turn off Gatekeeper completely?
No. It protects every app you open, and you'd have to remember to turn it back on. Fixing the one app you trust, with Open Anyway or xattr, gets the same result without lowering security for everything else.
What if it's an App Store app that says it's damaged?
Delete it, restart your Mac, and download it again from the App Store. If the error comes back, sign out of the App Store and back in before reinstalling.