Home > Wiki Tips

What is Gatekeeper & How to Disable Gatekeeper on Ventura?

Updated on Monday, April 8, 2024

iBoysoft author Jenny Zeng

Written by

Jenny Zeng
Professional tech editor

Approved by

Jessica Shee

English Deutsch

Fails to Meet Gatekeeper Policy? (Enable/Disable Gatekeeper)

Summary: This post describes what Gatekeeper on Mac is, Mac Gatekeeper settings, and ways to enable Gatekeeper, turn off Gatekeeper, and bypass Gatekeeper. It also explains why and how to fix if the Mac update fails to meet Gatekeeper.

Guide to Gatekeeper on Mac

What's your first acquaintance with macOS Gatekeeper? It could start from the error reading "the package installassistant.pkg fails to meet Gatekeeper policy." after downloading macOS Sonoma, Ventura, Monterey, Big Sur, Catalina, etc.

Maybe you received a warning saying one of the following:

Or you found CoreServicesUIAgent won't close the verifying window when trying to open an app downloaded outside of the App Store.

If you are curious about how to disable Gatekeeper to allow apps downloaded from anywhere on Mac or what to do when a Mac update fails to meet Gatekeeper policy, this post gets you covered.

Guide to Gatekeeper on Mac:

What is Gatekeeper on Mac?

Gatekeeper is a default Mac security feature that validates the authenticity and integrity of an application's codes and verifies the downloaded software before you can open it to reduce the risks of malware infection. Apps downloaded from the App Store are completely free of malware and thus can always pass Gatekeeper.

Applications unavailable in the App Store, if notarized by Apple, will also satisfy MacBook Gatekeeper. Otherwise, a safe application may get a warning and be blocked from launching. Gatekeeper also works closely with Apple's anti-virus technology XProtect to prevent malware from running on your Mac. Besides, there's MRT to remove malicious software launched on your Mac.

Where is Gatekeeper on my Mac?

Mac Gatekeeper isn't an app or file that you can search with Spotlight. Its feature is integrated into the General tab of the Security & Privacy pane in System Preferences or System Settings, where you are given two options that allow apps to be downloaded from:

The default Gatekeeper settings in Security & Privacy pane

App Store

If this is selected, only apps downloaded from the App Store can be launched.

App Store and identified developers

This has been the default setting since macOS Mountain Lion. It enables you to open apps downloaded from the App Store and certified Apple developers.

Anywhere

This option has been hidden by default since macOS Sierra. When it's present, the Gatekeeper will be turned off, and you can launch all applications.

How to enable Gatekeeper on Mac?

Gatekeeper is enabled by default on Mac. But if you disabled Gatekeeper on Mac to install applications, it's advisable to re-enable it once the app is in place. You can either go to System Preferences or enable Gatekeeper with Mac Terminal.

How to enable Gatekeeper in System Preferences:

On macOS Monterey or earlier:

  1. Open the Apple menu > System Preferences.
  2. Click on Security & Privacy.
  3. Tap on the lock and enter your account password.
  4. Select "App Store and identified developers" under "Allow apps downloaded from:". 

On macOS Ventura or later:

  1. Open the Apple menu > System Settings.
  2. Select Privacy & Security.
  3. Select "App Store and identified developers" under "Allow apps downloaded from:". 

How to enable Gatekeeper on Mac Terminal:

  1. Open Finder > Applications > Utilities > Terminal.
  2. Enter the following command:sudo spctl --master-enable
  3. Hit Enter and input your password if asked.
  4. Press Enter.

If you are still unsure whether Gatekeeper is enabled, you can check Gatekeeper status on Mac using Terminal.

How to check Gatekeeper status on Mac:

  1. Launch Terminal from the Applications > Utilities folder.
  2. Enter the following command and hit Enter.spctl --status

How to temporarily bypass Gatekeeper?

If your Mac is popping up the error "Cannot be opened because it is from an unidentified developer.", you can temporarily bypass Gatekeeper without it being disabled.

  1. Right-click on the app icon.
  2. Choose Open.
  3. Click Open again. You will still receive the message, but it won't stop you from launching the app now.

How to disable Gatekeeper on Mac?

You can also turn off Gatekeeper on Mac to open apps from an unidentified developer, though you're more recommended to bypass Gatekeeper instead. Since the Allow downloads from "Anywhere" option in the Security & Privacy pane is missing by default, you can only disable Gatekeeper on Mac with Mac Terminal.

The Gatekeeper error message saying tha an app cannot be opened because it is from an unidentified developer on Mac

How to disable Gatekeeper on M1 Mac and Intel Mac (including macOS Sonoma/Ventura/Monterey/Big Sur/Catalina/Mojave/High Sierra...)

  1. Open Terminal from Finder > Applications > Utilities.
  2. Input this command and hit Enter.sudo spctl --master-disable
  3. Enter your password and press Enter again.

 Tips: If the command doesn't work, try: sudo spctl --global-disable

Now you have disabled Gatekeeper on Mac, and you will find the option "Anywhere" enabled if you go back to the Security & Privacy pane.

The Anywhere option shows up after disabled Gatekeeper on Mac

Mac update failed to meet Gatekeeper

Many users encountered a Gatekeeper error when trying to install Monterey saying that "the package installassistant.pkg fails to meet Gatekeeper policy." In this case, the users likely updated from the Software Update pane in System Preferences, but their Macs only acknowledge the package downloaded from the App Store. Thus, downloading macOS Monterey or another release from the App Store solves the problem.

the package installassistant.pkg fails to meet gatekeeper policy when installing macOS Monterey

If Gatekeeper won't let you install the macOS Sonoma beta installer, try disabling Gatekeeper with the method mentioned above. Then reenable it after the installation is complete.

FAQ about Gatekeeper on Mac

A

There are two ways to know whether Mac Gatekeeper is enabled:
1. Go to Security & Privacy in System Preferences, if it's set to download apps from the App Store and App Store and identified developers, the Apple Gatekeeper is enabled.
2. Open Mac Terminal, execute the command: spctl --status, then Terminal will show you if Gatekeeper is enabled.

A

Gatekeeper is safe and a security feature in macOS aiming to reduce the possibility of a user installing malware.

A

It's safe to temporarily disable Gatekeeper on Mac. It's best to re-enable Gatekeeper after installing the app that Gatekeeper blocked to avoid malware in the future.

A

Gatekeeper keeps your Mac away from harmful software by examining the applications you downloaded from the web.