How to Disable Boot on Lid Open on MacBook Pro (2016 & Later Models)
The newest MacBook Pro models default to automatically powering on when the laptops lid is opened, or when the Mac is connected to power. This may be desirable to some users, but not everyone may be pleased with an automatically booting MacBook just when the display lid is lifted open.
With a visit to the command line of Mac OS, you can turn off the power on / boot on Lid Open feature on the latest MacBook Pro models with Touch Bar.
Disable Boot on Lid Open / Power Connection on MacBook Pro (2016+)
- Open the Terminal, which is found in /Applications/Utilities/, and then enter the following command syntax exactly:
- Hit return and authenticate with the admin password (necessary due to sudo)
- Exit Terminal when finished
sudo nvram AutoBoot=%00
With AutoBoot turned off, when the MacBook Pro lid is opened, it will no longer boot the computer or turn the computer on simply by opening the lid. Additionally, connecting the power cable will not automatically boot the Mac. Instead, the behavior is like it was on earlier Macs, which can open the lid of a Mac without turning the computer itself on.
Return to Default Setting of Booting on Lid Open with MacBook Pro
To return to the new default setting of booting automatically when the lid opens or when the power is connected, return to the command line and issue the following command syntax:
sudo nvram AutoBoot=%03
Hitting return and authenticating will complete the change. You can also reset Mac NVRAM to return the setting to default.
If you’re not sure what setting is enabled, using “nvram -p” will print the nvram settings that have been or can be configured.
This is a handy tip similar to adjusting whether or not the new MacBook Pro makes a boot sound effect or not. Thanks to a thread on MacRumors forums for the appropriate AutoBoot syntax.
Greetings
I have both Apple Mac Pro M3 pro and Dell Windows Professional for my Job both are exactly the Same Dell as soon as you open the lid it will laptop will turn back on and you can not change this option even with windows
Such a ridiculous problem with Apple! Is exist thousands of configuration there but for this big problem, there is no!
What do they doing exactly?
Yes I did it and the Mac stops starting on lid opening and now when I open it I get the battery % showing for one second.
Hi folks,
I just tried this (changing sudo nvram AutoBoot value from %03 to %00) and it had no effect on the auto boot once I open the lid of my 2021 MacBookPro 16″ running Monterey 12.4
Fortunately, it did not seem to mess anything up.
If anyone hears of a solution that works don’t be shy to post it here or on Apple Community discussions. Everyone’s input is always appreciated.
Thank you and have a great Apple day ! ;-)
In case anyone tries this on a MacBook Pro M1 running Monterey, here is what happened:
I noticed that my Mac did not have AutoBoot when I ran nvram -p, but I ran the sudo nvram AutoBoot=%00, and opening the lid still booted up. I removed the AutoBoot setting (since it wasn’t there to begin with) using nvram -d AutoBoot.
I noticed another value, auto-boot, that was set to true. So I ran sudo nvram auto-boot=false. When I rebooted, my Mac was toast! A circle with an exclamation (!) and the support recover URL.
Following the directions, I had to hook up a second MacBook, and download an Apple configuration tool, and try the revive process (very slow) and if that didn’t work, restore.
The revive was taking forever. So I went logged into the dead Mac’s recovery area (press and hold the fake power button until options come up). I launched Terminal, and ran nvram auto-boot=true — and my MacBook worked again. No need for reviving or recovering. Whew. I will just need to live with the power-up when the lid is raised or when any key is pressed.
I called Apple and it doesn’t work because Apple computers after 2016 don’t have the NV software and that’s why it won’t work.
This doesn’t work on a 2020 MacBook Pro running Big Sur.
Mine isnt working, i cant type anything where it shows password
There won’t be any indicator of typed letters, since it is a password prompt. Just type and press enter.
I called Apple and they said computers newer than 2016 don’t have the NV system and that’s why it doesn’t work
I do this and it stops the boot when lid open, but in it’s place I now get the battery symbol come up with the percentage of battery charge. Has anyone else experienced this happening? Thanks
My MBP is doing the same. But I don’t dislike the feature because I feel like its a nice thing to have.
Tim Cook has ruined everything good about Apple. In the news* Apple to produce their own processors! I guess they want more control over reducing processor power/speed to force you to upgrade. I miss Jobs…
Agreed! Apple continues to become more like Windows was long ago when I left them for Apple. Making stupid changes to both the hardware and the OS. I am now considering buying a Windows laptop again! Never thought I would be saying THAT! Funny how things have come full circle.
Wow! This is so much how I feel about Apple right now, I thought I wrote it!
I agree. Apple is making changes thinking they are simplifying, ok make the changes but give people the option, that’s what made apple great years ago, being able to customize. if my 4k Mac Book is going to be this buggy and annoying I might as well bought a 2k HP, which I was seriously considering….
Same conclusions. They don’t care about mac users: useless touchbar, stupid coloured tags, smaller keyboard keys to move up and down in texts, disappearance of the “save as command”, automatic switching on of the mac, and so on…
Cook’s mad race to Windows.
OK, Windows has improved a lot recently, why not give it a try?
My question is how are we supposed to clean our keyboards and trackpads if this auto boot happens on a kb press or a touchpad press…v annoying. :(
Turn it off while open…
It turns right back on, you must not own one
Easy! You simply download an application called KeyboardCleanTool from folivora.ai
When the app is open, it turns off your keyboard input and lets you wipe your computer down without actually typing anything. Best of all, it’s free!
Sorry, but that just sounds absurd to me. So now you are suggesting I run additional software to help me do something so simple that I should be able to do it when the machine is off. Because Apple is using software to keep the machine always on. LOL
Just open a new Notepad or terminal – you’ll get a bunch of gibberish no doubt. Exit w/o saving when done cleaning.
Just need one of these for the ridiculous new features for the 2018 models. Would love to disable “boot on keyboard press” and “boot on touchpad press”.
… yes!!! how do I get my keyboard to stop waking my stem on touch!
–A
I have tried the tip as this auto boot annoyed me – but I had so many strange problems after that change. I tried to revert but then other problems started like extreme dark logon screen and I had to press on button several times to get Mac to boot.
I finally reset NVRAM with the boot while holding down CMD+Option+P+R. Now it works again. I looked and the NVRAM output after reset. No Autoboot variable exist. Maybe tip to revert should be to delete the variable instead.
My conclusion: I can not recommend this tip – but your milage may vary.
Thanks for sharing how to disable boot on open lid MacBook pro. The step by step guide is very useful. I am sure that iOS app developers must have done a great job on this.
More stupid crap from Apple to make Steve continue to roll over in his grave.
They do have a power button: the touch ID is a physical button.
but how am I supposed to boot the laptop then, as these machines don’t have a power button??
they do have a power button it is the fingerprint scanner
I don’t know anyone who bought and kept the new MacBook Pro. I read so much bad reviews for it I just couldn’t buy one myself. Don’t need a gimmick bar. I need power and battery.