You download an app, double-click it, and macOS stops you cold: "<App> is damaged and can’t be opened. You should move it to the Trash," or "<App> can’t be opened because it is from an unidentified developer." It feels like the download failed — but 9 times out of 10 the file is fine. What you’re seeing is Gatekeeper, macOS’s built-in check on apps from outside the App Store. This guide walks through the safe fixes in order, and — just as important — how to tell a harmless block from a warning you should actually respect.
First, what the message really means
Every app you open from outside the App Store is checked by Gatekeeper and Apple’s notarization system. If the developer hasn’t paid to sign and notarize the app with Apple, macOS refuses to open it normally and shows one of these:
- "…is from an unidentified developer" — the app isn’t signed/notarized. Common for open-source tools, older apps, and small utilities. Usually safe to open manually.
- "…is damaged and can’t be opened. You should move it to the Trash." — despite the wording, the file is rarely actually damaged. This almost always means the quarantine flag macOS attaches to downloads is blocking it — typical after downloading an unsigned app, or an app that was moved from another Mac.
- "Apple could not verify ‘<App>’ is free of malware" — the modern (macOS Sequoia/Ventura+) wording of the same block.
The fix is the same idea in every case: tell macOS "yes, I trust this one." Here’s how, from safest to most technical.
Fix 1 — Right-click → Open (the safe one to try first)
This is the Apple-sanctioned way to open an unsigned app you trust. It does not disable any security — it just makes an exception for that single app.
- In Finder, find the app (usually in your Applications folder — drag it there first if it’s still in Downloads).
- Control-click (or right-click) the app icon.
- Choose Open from the menu.
- A dialog appears with an Open button that the normal double-click didn’t offer. Click Open.
From then on, that app launches normally with a double-click. If you only see "Move to Trash" and no "Open" button, go to Fix 2.
Fix 2 — System Settings → "Open Anyway"
On macOS Ventura, Sonoma, and Sequoia, Apple moved the override into Settings.
- Try to open the app once (double-click) so macOS records the block.
- Open System Settings → Privacy & Security.
- Scroll down to the Security section. You’ll see a line like "<App> was blocked to protect your Mac."
- Click Open Anyway, then authenticate with Touch ID or your password.
On older macOS (Monterey and earlier) this lives in System Preferences → Security & Privacy → General, with an Open Anyway button that appears for about an hour after the block.
Fix 3 — Clear the "damaged" quarantine flag (Terminal)
If you specifically get "is damaged and can’t be opened" with no Open button anywhere, the download’s quarantine attribute is the culprit. One Terminal command removes it. Only do this for an app you got from a source you trust.
- Open Terminal (Applications → Utilities, or Spotlight search "Terminal").
- Type
xattr -dr com.apple.quarantine(with a trailing space — don’t press Return yet). - Drag the app from Finder onto the Terminal window — it fills in the exact path.
- Press Return. If there’s no error, the app now opens with a normal double-click.
The full line looks like: xattr -dr com.apple.quarantine /Applications/Example.app
Before you override: is it actually a threat?
Gatekeeper is annoying, but it’s catching real risks too. Pause and override only if all of these are true:
- You went and got the app on purpose from the developer’s official site or a reputable source — you weren’t pushed to it by a pop-up, a "your Mac is infected" ad, or a fake "update Flash / update your browser" prompt.
- It’s the app you expected — not a random "installer" or "player" you never heard of that a website insisted you needed.
- Nothing is pressuring you — real malware on Macs in 2026 almost always relies on talking you into opening it. If a site is rushing you, that’s the red flag, not Gatekeeper.
If any of those feel off, don’t override — delete the download. Want the fuller picture on Mac security and what actually infects Macs today? See Do Macs get viruses?
Still won’t open after all three fixes?
If none of the above works, the download really may be corrupt — or the app genuinely isn’t compatible with your Mac:
- Re-download it from the official source. An interrupted download can leave a truly damaged file.
- Check compatibility. Very old apps (or Intel-only apps without the Rosetta translation layer) may refuse to run on Apple-silicon Macs. The App Store or developer page lists the minimum macOS version.
- Update macOS. Some apps require a newer macOS than you’re running (System Settings → General → Software Update).
The catch nobody mentions: an old Mac that can’t update
Sometimes the app is fine and your Mac simply can’t run current software safely — it’s stuck on an old macOS that no longer gets security updates, so more and more apps refuse to install. If you’re fighting "damaged app" and "unsupported version" errors constantly, that’s usually the real signal.
An Apple-silicon MacBook clears all of it — it runs the latest macOS, opens modern apps without a fight, and stays supported for years. A clean, tested M1 MacBook Air starts at $569.99 at LuxuriousComputers (see the M1 Air), and our rotating Apple clearance deals go lower when we have overstock. Every Mac ships tested and backed by our own one-year warranty.
FAQ
Does "Open Anyway" turn off my Mac’s security?
No. It creates an exception for that one app only. Every other app is still checked by Gatekeeper and XProtect as normal.
Why does macOS say "damaged" when the app clearly isn’t?
It’s a blunt catch-all message. In most cases the file is intact — macOS is refusing it because it’s unsigned and carries the download quarantine flag. Fix 1 or Fix 3 resolves it.
Is the xattr Terminal command safe?
The command itself only removes the quarantine tag — it doesn’t modify the app. The risk is entirely about trusting the app you run it on. Use it only for software from a source you trust.
I got this on an app from the App Store — now what?
App Store apps are pre-notarized, so this block shouldn’t appear. If it does, delete the app and re-download it from the App Store; the copy on disk is likely corrupt.