allow applications from anywhere on mac
Source: MacHow2

How To Allow Apps From Anywhere on a Mac (macOS Golden Gate, Tahoe & Sequoia)

If your Mac says that an app cannot be opened because Apple cannot check it for malicious software or the developer cannot be verified, you do not normally need to disable all of macOS’s security checks.

The safest solution is to approve only that app when you try to open it in System Settings > Privacy & Security > Open Anyway.

open app anyway on mac
Source: MacHow2

If you genuinely need to run several unsigned apps, macOS also has a hidden Anywhere setting, but enabling it turns off Gatekeeper’s app assessment system for all downloads.

This guide explains both methods on macOS 27 Golden Gate, macOS 26 Tahoe, macOS 15 Sequoia and older versions of macOS. The steps are the same on Apple Silicon and Intel Macs.

Quick answer: To open one trusted app, try to launch it once, click Done, then go to Apple menu > System Settings > Privacy & Security. Scroll to Security, click Open Anyway, enter your Mac login password and confirm Open.

To reveal the global Anywhere option, run sudo spctl --master-disable in Terminal:

Source: MacHow2

Enter your Mac’s system admin password and then Terminal will confirm that the “Open Anywhere” option is now active:

terminal global install any app on mac setting activated
Source: MacHow2

If you now go back to System Settings > Privacy & Security and scroll down to Security you should see the Anywhere option available.

allow applications from anywhere on mac
Source: MacHow2

Which Method Should You Use?

What you are trying to doBest methodWhat it changes
Open one trusted app from an unknown developerOpen AnywayCreates an exception for that app only
Open several unsigned, legacy or internally developed appsEnable Anywhere temporarilyDisables Gatekeeper assessment for all apps
Open an app that macOS says “will damage your computer” or contains malwareDo not bypass the warningDelete it and obtain a clean copy
Install an app on a work or school MacContact the administratorDevice management may prevent overrides

For almost everyone, the first method is the better choice. Apple warns in its current macOS User Guide that overriding app security is a common way for malware to reach a Mac. Only continue if you know where the app came from and have a good reason to trust it.

First, Check Which Warning You Are Seeing

Not every Mac app error is a Gatekeeper warning, and disabling Gatekeeper will not fix every app that refuses to open.

macOS messageWhat it usually meansWhat to do
“Apple cannot check it for malicious software”The app has not been notarized by AppleUse Open Anyway only if you trust the source
“The developer cannot be verified” or “unknown developer”macOS cannot verify the developer’s identityUse Open Anyway only if you trust the source
The app “was not downloaded from the App Store”Your Mac may be set to allow App Store apps onlySelect App Store & Known Developers, or approve the app individually
The app “will damage your computer” or contains malwaremacOS has detected known malicious content or a revoked authorizationDo not open it; delete it and contact the developer
The app “is damaged and can’t be opened”The download may be corrupt, modified or genuinely damagedDownload a fresh copy from the official source before trying anything else
The app “needs to be updated” or is incompatibleIt may be a 32-bit app or require a different macOS versionGatekeeper is not the underlying problem

An app being unsigned or unnotarized does not prove that it is malicious, but it also means Apple has not been able to perform its normal checks. The warning is not simply proof that the app came from outside the Mac App Store: properly signed and notarized apps can be distributed directly by developers without being blocked.

Method 1: Open One Blocked App Without Disabling Gatekeeper

open app anyway on mac
Source: MacHow2

This is the recommended method on macOS 27 Golden Gate, Tahoe and Sequoia because it leaves Gatekeeper enabled for every other app.

  1. Download the app from the developer’s official website or official project page.
  2. If it came in a DMG file, open the DMG and drag the app into your Applications folder first.
  3. Double-click the app in Applications.
  4. When macOS blocks it, click Done. Do not click Move to Bin/Trash if you intend to review the app.
  5. Open the Apple menu and select System Settings.
  6. Click Privacy & Security in the sidebar and scroll down to the Security section.
  7. You should see a message saying that the app was blocked. Click Open Anyway beside it.
  8. Enter your Mac login password when prompted and click OK.
  9. When the warning appears again, click Open.

The app is now saved as an exception and should open normally in future. Gatekeeper remains active for other downloads.

Important: Apple says the Open Anyway button is available for about one hour after the blocked launch. If it is missing, try to open the app again and return immediately to Privacy & Security.

What Happened to Control-click > Open?

On macOS Sonoma 14 and earlier, you can usually Control-click or right-click an app in Finder, select Open and then confirm that you want to run it.

Apple changed this in macOS Sequoia. On Sequoia and later, the Control-click shortcut no longer overrides Gatekeeper for software that is not correctly signed or notarized. Use System Settings > Privacy & Security > Open Anyway instead.

Method 2: Allow Apps From Anywhere on a Mac

open app anywhere setting on mac
Source: MacHow2

The Anywhere option has been hidden by default since macOS Sierra. On current versions of macOS, a Terminal command reveals the option, but you must still confirm the change manually in System Settings.

Only use this method when approving apps one by one is impractical, such as when testing your own software, using a trusted internal app suite or running several older open-source tools. Turn Gatekeeper back on when you have finished.

On macOS 27 Golden Gate, Tahoe and Sequoia

  1. Open System Settings > Privacy & Security and leave that window open.
  2. Open Terminal. The quickest way is to press Command + Space, type Terminal and press Return.
  3. Copy and paste this command exactly, then press Return:sudo spctl --master-disable
  4. Enter the password for an administrator account and press Return. Terminal does not display dots, asterisks or any other characters while you type the password. This is normal.
  5. On recent macOS versions, Terminal should report:Globally disabling the assessment system needs to be confirmed in System Settings.
  6. Return to System Settings. Click another section in the sidebar and then click Privacy & Security again to refresh it. Closing and reopening System Settings also works.
  7. Scroll down to Security and open the menu beside Allow applications from.
  8. Select Anywhere and confirm the change with your login password or Touch ID if requested.
allow applications from anywhere on mac
Source: MacHow2

You do not need to restart the Mac. Apps that Gatekeeper previously rejected should now be allowed to launch, although other macOS protections and compatibility requirements can still block an app.

On macOS Sonoma and Earlier

The same command is used:

sudo spctl --master-disable

On Sonoma and earlier releases, the command normally changes the Gatekeeper policy directly and makes Anywhere available under System Settings > Privacy & Security. On Monterey and older versions, the path is System Preferences > Security & Privacy > General.

Apple’s Xcode help documents the spctl commands and the status check used below.

How To Check Whether Gatekeeper Is On or Off

check if gatekeeper enabled on mac
Source: MacHow2

Open Terminal and run:

spctl --status

The result tells you whether app assessment is active:

assessments enabled

means Gatekeeper is on, while:

assessments disabled

means the Mac is allowing apps from anywhere.

On macOS Sequoia and later, running sudo spctl --master-disable by itself does not complete the change. If the status still says assessments enabled, return to Privacy & Security and manually select Anywhere.

How To Turn Gatekeeper Back On

activate gatekeeper on mac
Source: MacHow2

The most reliable way on macOS 27, Tahoe and Sequoia is:

  1. Open System Settings > Privacy & Security.
  2. Scroll to Security.
  3. Change Allow applications from from Anywhere to App Store & Known Developers. Depending on your macOS version, Apple may label this App Store and identified developers.
  4. Enter your login password if asked.
  5. Run spctl --status in Terminal and check that it returns assessments enabled.

This setting allows apps from the Mac App Store and properly signed developers while restoring Gatekeeper’s normal checks.

On macOS Sonoma and earlier, you can also re-enable Gatekeeper with:

sudo spctl --master-enable

On Sequoia and later, that command may return This operation is no longer supported. If it does, use the Privacy & Security setting above. You do not need to disable System Integrity Protection or start the Mac in Recovery.

<!– SCREENSHOT 5: App Store & Known Developers selected after re-enabling Gatekeeper. Suggested filename: enable-gatekeeper-mac.png. Alt: App Store and Known Developers Gatekeeper setting on a Mac. –>

Is It Safe To Allow Apps From Anywhere?

Leaving Anywhere enabled is less secure because macOS no longer applies its normal Gatekeeper assessment before an app launches. Gatekeeper normally checks whether downloaded software:

  • Comes from an identified developer.
  • Has a valid code signature and has not been altered.
  • Has been notarized by Apple and checked for known malicious content.
  • Has had its developer certificate or authorization revoked.

Disabling Gatekeeper does not turn off System Integrity Protection, XProtect, FileVault or macOS privacy permissions. However, those protections are not a substitute for Gatekeeper, and selecting Anywhere does not make an app safe.

Before overriding a warning, I recommend checking that:

  • The file came directly from the developer’s official site or official GitHub release page, not a download mirror, advert or unsolicited link.
  • The app name, version and supported macOS versions match the developer’s documentation.
  • A published SHA-256 checksum matches your download, if the developer provides one.
  • The app’s request for Accessibility, Full Disk Access, Screen Recording or administrator privileges makes sense for what the app does.
  • There is no newer signed or notarized version available.

If you suspect that you have already opened something malicious, disconnect from sensitive accounts and run a scan with a reputable tool. Our Malwarebytes for Mac review explains what its free malware scanner can and cannot do.

Why Is “Anywhere” Missing From My Mac?

open app anywhere setting on mac
Source: MacHow2

This is normal. Apple hides the Anywhere choice by default to discourage users from switching off Gatekeeper across the whole Mac.

If it still does not appear after running the command:

  1. Check that Terminal returned the message telling you to confirm the change in System Settings.
  2. Refresh Privacy & Security by selecting another section and returning to it.
  3. Make sure you used two ordinary hyphens before master-disable. A formatted long dash copied from another page will not work.
  4. Confirm that your account is an administrator under System Settings > Users & Groups.
  5. Check whether the Mac is managed by an employer, school or other organization. Apple notes that app-source settings may be unavailable on managed Macs.

Do not disable System Integrity Protection to make the option appear. SIP is a separate security feature, and turning it off does not solve the normal Gatekeeper confirmation process.

Why Is “Open Anyway” Missing?

The most common reasons are:

  • You have not tried to open the app yet.
  • More than about an hour has passed since macOS blocked it.
  • You are not looking at the Security section near the bottom of Privacy & Security.
  • The Mac is managed and app overrides have been restricted.
  • The warning is for known malware, a revoked app or a genuinely damaged file rather than an unidentified developer.

Try to launch the app again, click Done and immediately return to Privacy & Security. If macOS says the app will damage your Mac, do not try to force it open.

What If the App Still Will Not Open?

If Open Anyway or Anywhere does not solve the problem, Gatekeeper may not be responsible. Check the following:

  • Download the app again from its official source in case the file is corrupt.
  • Move the app from the DMG or Downloads folder into Applications before launching it.
  • Check that the app supports your version of macOS and either Apple Silicon or Intel, as appropriate.
  • Remember that macOS Catalina and later cannot run 32-bit Mac apps.
  • Install Rosetta if macOS prompts for it when opening an Intel app on an Apple Silicon Mac.
  • Look for a newer installer if the app depends on an obsolete system extension, kernel extension or driver.
  • Ask the developer why the app is unsigned or not notarized rather than using commands that remove all of its extended attributes.

Commands such as xattr -cr are often suggested online, but they can remove quarantine and other extended-attribute information from an app. The built-in Open Anyway control is more targeted, easier to understand and preferable for a normal one-app exception.

FAQ

Can I allow apps from anywhere on a Mac without Terminal?

You can allow one trusted app without Terminal by using System Settings > Privacy & Security > Open Anyway. On current macOS versions, revealing the global Anywhere choice requires the Terminal command before you can confirm it in System Settings.

Does this work on M1, M2, M3, M4, M5 and M6 Macs?

Yes. Gatekeeper works at the macOS level, so the steps are the same on Apple Silicon and Intel Macs. An app can still fail if it is incompatible with your Mac’s processor or macOS version.

Why does sudo spctl --master-disable say it must be confirmed in System Settings?

This is expected on macOS Sequoia and later. The command only makes the Anywhere choice available; Apple requires you to select it manually under Privacy & Security > Security.

Is “developer cannot be verified” the same as malware?

No. It means macOS cannot verify the developer or notarization status. The app may be legitimate, but Apple cannot confirm that it is unmodified or free of known malicious content, so you should verify its source before opening it.

Should I open an app that macOS says will damage my Mac?

No. That is more serious than an unidentified-developer warning. Delete the file, download a new copy from the developer’s official site and contact the developer if the warning continues.

Does selecting Anywhere also give apps Full Disk Access?

No. Gatekeeper approval and privacy permissions are separate. An app must still request access to protected features such as the camera, microphone, Accessibility, Screen Recording or Full Disk Access. Review each request individually.

Will the Anywhere setting remain after restarting the Mac?

Yes, it normally remains selected until you change it or a management policy changes it. For that reason, switch back to App Store & Known Developers as soon as you have finished installing or testing the trusted app.

Can I still right-click an app and select Open?

That shortcut generally works on macOS Sonoma and earlier. Apple removed the Gatekeeper Control-click override for incorrectly signed or unnotarized software in macOS Sequoia, so use Open Anyway on Sequoia, Tahoe and macOS 27.

Is Gatekeeper the same as antivirus software?

No. Gatekeeper checks the origin, signature, notarization and integrity of downloaded software when it is opened. XProtect provides separate built-in malware detection, while third-party security apps may add continuous scanning and other protections.

Conclusion

If you only need to run one blocked app, use Open Anyway and leave Gatekeeper enabled. The hidden Anywhere setting is useful for developers, internal software and some legacy tools, but it changes the policy for every app on the Mac and should only be enabled temporarily.

Once you have finished, return to System Settings > Privacy & Security and select App Store & Known Developers, then use spctl --status to confirm that assessments are enabled again.