Guide

How to Open a Blocked App on macOS

A step-by-step guide to open a blocked app on macOS, including where to find Terminal, how xattr com.apple.quarantine works, and what to do after you run the command.

Why macOS Blocks Some Downloaded Apps

If you see a message that a macOS app cannot be opened, it usually means macOS added a security check to that download. Apple does this to make you pause before opening apps that came from the internet.

This is often called an app being blocked by Apple, but in many cases it simply means the app is new, not yet recognized on that Mac, or still marked with a quarantine flag after download.

If you trust the app and downloaded it from the source you intended, the steps below show how to open a blocked app on macOS.

Open Terminal First

Terminal is a built-in macOS app where you can type commands. You need to open Terminal before you can run the command that removes the quarantine flag from the app.

  • Open Finder, then go to Applications > Utilities > Terminal.
  • Or press Command + Space to open Spotlight Search, type Terminal, and press Enter.

Screenshot placeholder

Screenshot: Spotlight search opening Terminal

Show Spotlight with Terminal typed in so beginners can recognize the fastest way to open it.

Screenshot placeholder

Screenshot: Terminal window

Insert a simple Terminal screenshot here so users know what the app should look like after it opens.

Run This Command

Paste this command into Terminal. Replace App Name.app with the real name of the app you want to open.

Terminal command

Copy, paste, then replace App Name.app with the actual app name.

xattr -dr com.apple.quarantine "/Applications/App Name.app"

For example, if the app is named Sample Tool.app, that part of the command should match the exact name shown in Finder.

Screenshot placeholder

Screenshot: Command pasted into Terminal

Insert a screenshot of the full command already pasted into Terminal so users can compare spacing, quotes, and the app path.

What Each Part of the Command Means

xattr

This is the macOS command used to read or remove extended file attributes.

-dr

This tells macOS to remove the attribute recursively.

com.apple.quarantine

This is the quarantine flag macOS adds to some downloaded apps.

"/Applications/App Name.app"

This is the path to the app you want to unblock.

If the App Is Not in Applications

The first example uses /Applications/App Name.app because that is where many Mac apps are stored after installation.

If your app is somewhere else, replace that part of the command with the real location of the app.

xattr -dr com.apple.quarantine "/path/to/App Name.app"

This second example shows the same command with a different path. The important part is that the quoted path matches where the app actually lives on your Mac.

Screenshot placeholder

Screenshot: App in Applications folder

Add a Finder screenshot here that shows the app inside Applications so users can match the app name and path.

What Happens After You Run It

  1. 1Press Enter to run the command.
  2. 2Wait for Terminal to finish.
  3. 3Open the app again.

If the command works, Terminal may not show much output. That is normal.

This is the normal flow for how to open blocked app on Mac: run the command, let Terminal finish, then try opening the app again.

Related guides

Need an easier way to install plugins and tools?

If you're looking for a simpler way to manage plugin installation without manually copying files and folders, check out our plugin installer tool.

Visit the product page