How to stop your MacBook from turning on when you open the lid
www.theverge.com
In 2016, Apple started including an auto power-on feature for its new MacBook models that activated when you opened the notebook lid or plugged in USB-C power when the lid was open. This is a cool little convenience if you dont want the added step of pressing the power button plus it could get the computer running if, for some reason, that button stops working.But what if you open the lid just to clean the screen or are troubleshooting the computer for some other issue? Or perhaps you are building a slabtop and dont want it to power on just because you plugged it into power? Or what if you dont want to automate everything? In these cases, auto power-on is either a minor inconvenience or a straight-up annoyance.The first MacBooks to get this feature had Intel processors, and it continued over to every new model, including when Apple switched to its own Apple Silicon M-series processors. Theres a Terminal command for the Intel MacBooks that can be used to disable open lid power-on, but when Apple launched the M1 MacBook Air in 2020, that command no longer worked. However, in January 2025, Apple finally added an official way to disable autoboot upon opening the lid of M1 and newer MacBooks.Heres how to disable auto power-on when opening the lid of either type of Mac.Disable auto power-on on an Apple Silicon M-series MacBookYoud think Apple would just add a simple enable power on when opening lid toggle in System Settings, but that would be too easy. Instead, youll have to do a bit of work under the hood of your macOS software by way of a special Terminal command that Apple has sanctioned.The command, according to Apple, will work on all Apple Silicon models running macOS 15 Sequoia. However, weve also successfully tested it on macOS 14.7 Sonoma. For reference, these instructions are for newer models like the 2020 M1 MacBook Air and the 2024 14-inch and 16-inch MacBook Pro models with M4 Pro and M4 Max chips.Heres how to disable autoboot when opening the lid and / or plugging in power while the lid is open on your Apple Silicon M-series MacBook:Log in to your MacBook using an admin account (if youre the only user, you are likely the admin already).Open up the Terminal application from the Applications > Utilities folder. You can get there from Finder by going to the Go menu on the toolbar and selecting Applications.In Terminal, copy and paste ONE of the following commands, depending on what youd like, and then press Return:If you want to disable autoboot when you open the lid or when you plug in a charger while the lid is open:sudo nvram BootPreference=%00If you want to disable autoboot ONLY when you open the lid:sudo nvram BootPreference=%01If you want to disable autoboot ONLY when you plug in a charger:sudo nvram BootPreference=%02Terminal will then ask you for an admin password. Enter your user password (it wont show youre typing). Then press Return.How to get to the Applications folder. Screenshot: The VergeHeres the Terminal window with the command entered. Screenshot: The VergeNow you can shut down the computer, close the lid, and test if it works.To revert your settings back to the defaults, follow the steps above but enter this command instead:sudo nvram -d BootPreferenceDisable auto power-on on an Intel MacBookAre you still rocking a 2016 or newer Intel-based MacBook? If its still working and doing what you need it to do, thats great! But if the darn autoboot is bothering you say, if youre experimenting with building a headless or slabtop MacBook this Terminal command can fix that.Heres how to disable autoboot when opening the lid or plugging in power while the lid is open on your Intel-based MacBook:Log in to your MacBook using an admin account (if youre the only user, you are likely the admin already).Open up the Terminal application from the Applications > Utilities folder. You can get there from Finder by going to the Go menu on the toolbar and selecting Applications.In Terminal, copy and paste the following command into the window and then press Return:sudo nvram AutoBoot=%00Terminal will then ask you for an admin password. Enter your user password (it wont show youre typing). Then press Return.Now, you can shut down the computer, close the lid, and test if it works.To undo your setting back to default, follow the steps above until you get to the Terminal but enter this command instead:sudo nvram AutoBoot=%03Enjoy the lack of autoboot!See More:
0 Comments ·0 Shares ·43 Views