Sick of your MacBook starting when you open the lid? Apple has just revealed a fix

- Apple says you can prevent your MacBook from automatically turning on
- This normally happens when you open the lid or connect the power cable
- The Terminal-based solution is aimed at more advanced users
It’s been a familiar part of owning any of the best MacBooks for years: open the lid or connect your charger when it’s powered off and your laptop will automatically start up, without you having to press the power button. But that situation doesn’t work for everyone, and Apple has now explained how you can bypass this behavior if you want to.
In a new support document, Apple explains the process for turning off this feature. Once it’s disabled, your MacBook will only load up when you press a button or the trackpad.
That said, it’s not a particularly simple process – there’s no toggle to change in the Settings app, for example. So it’s likely more of a power-user solution than anything else.
You may like
According to the support document, you’ll first need to ensure your Mac has an Apple silicon chip and is running macOS Sequoia or later. Next, open the Terminal app (located in the Utilities folder) and type one of the following commands, then press Return:
- To stop your laptop from turning on when you open the lid or connect the power cable, type sudo nvram BootPreference=%00
- To prevent the laptop starting up only when you open the lid, type sudo nvram BootPreference=%01
- Or to prevent startup only when you connect the power cable, type sudo nvram BootPreference=%02
To finish off, type your administrator password and press Return. To undo the commands and restore your MacBook to its previous way of working, just type sudo nvram -d BootPreference and press Return.
A power-user fix
That gives you a few options to customize your MacBook’s startup behavior as you wish. While it’s not the simplest fix, it does at least give you a bit more control over your laptop. With the automatic startup disabled, your MacBook should only load up if you press a key or the trackpad.
Why would you want to stop your MacBook from booting up when you open the lid? You might simply want to inspect your laptop, for example, or take photos of it if you want to sell it. Having it power on when you open the lid means you then have to turn it off again, something you wouldn’t need to bother with if you could just disable that behavior in the first place.
Sign up for breaking news, reviews, opinion, top tech deals, and more.
As always with the Terminal, make sure you know what you’re doing before you start entering commands. If you do, this could be a helpful way to gain a little more control over the way your MacBook works.
You might also like
Apple says you can prevent your MacBook from automatically turning on This normally happens when you open the lid or connect the power cable The Terminal-based solution is aimed at more advanced users It’s been a familiar part of owning any of the best MacBooks for years: open the lid…
Recent Posts
- Elon Musk claims federal employees have 48 hours to explain recent work or resign
- xAI could sign a $5 billion deal with Dell for thousands of servers with Nvidia’s GB200 Blackwell AI GPU accelerators
- Race to 100TB HDD heats up as Seagate pulls rug under Western Digital, Toshiba feet by acquiring HAMR-specialist
- The 20 Best Barefoot Shoes for Running or Walking (2025)
- New video leak may have revealed the full Nothing Phone 3a and Phone 3a Pro design
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010