How to Turn Off Gatekeeper Forever on Your Mac

Gatekeeper exists on your Mac to prevent installations of any unauthorized apps on your Mac. These apps contain the ones that have been downloaded from outside the official Mac App Store. If you have not adjusted the settings, you will see a prompt appearing every time you try to install one of these apps. You can then decide what you wish to do with the app, whether to install or not.

If you happen to install a number of these apps and would like for Gatekeeper to not annoy you with a warning message every time you double-click an out-of-store app on your Mac, you can turn off the Gatekeeper feature forever on your Mac.

Here’s how you can go about disabling Gatekeeper forever on a Mac.

Note: Gatekeeper is a security feature in Mac to keep you protected from external unauthorized apps. This article doesn’t advocate that you should turn it off. Instead, it only shows you the way to do it. You should use your own discretion while doing so.

You do not need a third-party app to get the job done as a simple command from Terminal will work.

1. Launch Terminal by clicking on Launchpad in your dock and searching for and clicking on Terminal.

gatekeeper-terminal

2. When Terminal launches, type in the following command and press Enter. It should disable Gatekeeper permanently on your Mac.

sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool NO

gatekeeper-disable

3. You will be asked to enter your password in order to allow the command to make changes to your system. Do so and press Enter.

gatekeeper-password

4. If you entered the correct password for your account, you will not get any confirmation message, and you will simply see your username. That means the trick worked, and Gatekeeper has been turned off forever. From now on whenever you install an app from outside the Mac App Store, you will not be asked whether you wish to open the app or not.

Should you wish to enable the feature in the future, you can do so using a command and the Terminal app. Here’s how to do that.

Again, you will only need the Terminal app and no third-party apps.

1. Click on Launchpad in your dock, search for and click on Terminal, and it will launch for you.

gatekeeper-terminal

2. Type in the following command into Terminal and press Enter. It should enable Gatekeeper on your Mac.

sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool YES

gatekeeper-enable

3. Enter in your account password and press Enter to allow the changes to be made.

gatekeeper-pass

4. After entering the correct password, you will not get a confirmation message or anything like that. Instead, you will see a blank line to enter a new command. That means the command worked, and Gatekeeper is back up and running on your Mac. You will now get prompts whenever you install an app from outside the Mac App Store.

If Gatekeeper has been annoying you by its prompts, you can use the above method to turn it off permanently on your Mac. Please comment below if you have any questions.

Leave a Reply

Yeah! You've decided to leave a comment. That's fantastic! Check out our comment policy here. Let's have a personal and meaningful conversation.