Apple Explains How to Keep Your Mac From Turning on When Opening Lid - MacRumorsOpen MenuShow RoundupsShow Forums menuVisit ForumsOpen Sidebar
Skip to Content

Apple Explains How to Keep Your Mac From Turning on When Opening Lid

Apple designed Macs with Apple silicon chips to automatically turn on and start up when the Mac's lid is opened or when the Mac is connected to power, but there is a workaround in macOS Sequoia if you don't like this behavior.

m3 macbook pro blue
In a new support document, Apple provided separate instructions on how to prevent an Apple silicon Mac from turning on when the lid is opened or when it's connected to power. Both processes require the Terminal app. Apple's instructions:

1. Make sure that your Mac laptop with Apple silicon is using macOS Sequoia or later.
2. Open the Terminal app, which is in the Utilities folder of your Applications folder.
3. Type one of these commands in Terminal, then press Return:
- To prevent startup when opening the lid or connecting to power: sudo nvram BootPreference=%00
- To prevent startup only when opening the lid: sudo nvram BootPreference=%01
- To prevent startup only when connecting to power: sudo nvram BootPreference=%02
4. Type your administrator password when prompted (Terminal doesn't show the password as it's typed), then press Return.

If you use these commands to change your Mac's behavior and want to undo it, you can open up Terminal and enter sudo nvram -d BootPreference.

Popular Stories

iPhone 18 Pro and Pro Max Feature

'Apple Upgrade' Program Reportedly Launching Next Week

Tuesday July 21, 2026 8:30 am PDT by
Apple and Klarna are partnering on a new "Apple Upgrade" leasing program set to launch in the U.S. on Tuesday, July 28, according to Bloomberg's Mark Gurman. The program will allow you to finance most iPhone, iPad, Mac, and Apple Watch models, with a 24-month term for iPhones and Apple Watches and a 36-month term for iPads and Macs. Customers will be able to pay off the device early during...
iPhone 18 Pro Deep Red Feature

iPhone 18 Pro Launching in Two Months With These 12 New Features

Tuesday July 21, 2026 6:22 am PDT by
It is now mid-July, and that means the iPhone 18 Pro and iPhone 18 Pro Max are now just two months away. The devices are expected to look similar to the iPhone 17 Pro and iPhone 17 Pro Max, but there will still be many year-over-year changes, with rumored features including a smaller Dynamic Island, 5G via satellite, and more. Apple is expected to unveil the iPhone 18 Pro, iPhone 18 Pro Max, ...
iPhone 18 Pro Deep Red Feature

iPhone 18 Pro Launching in Two Months With These 12 New Features

Friday July 17, 2026 10:39 am PDT by
It is now mid-July, and that means the iPhone 18 Pro and iPhone 18 Pro Max are now just two months away. The devices are expected to look similar to the iPhone 17 Pro and iPhone 17 Pro Max, but there will still be many year-over-year changes, with rumored features including a smaller Dynamic Island, 5G via satellite, and more. Apple is expected to unveil the iPhone 18 Pro, iPhone 18 Pro Max, ...

Top Rated Comments

19 months ago
And why could this not be a preference setting?
Score: 117 Votes (Like | Disagree)
jz0309 Avatar
19 months ago
4 years later ... and you have to use Terminal ...
maybe MacOS Death Valley will have a setting when it comes out ...
Score: 48 Votes (Like | Disagree)
Itinj24 Avatar
19 months ago
The thumbnail for this article should have most certainly been the pic of Federighi opening the MacBook. Huge missed opportunity lol.




Attachment Image
Score: 35 Votes (Like | Disagree)
mazz0 Avatar
19 months ago
Flippin’ ’eck, what is this, Linux?
Score: 33 Votes (Like | Disagree)
19 months ago
Now if only there were a fix for MacBooks turning external displays on while they’re asleep (even with Power Nap disabled) and connected via thunderbolt…
Score: 22 Votes (Like | Disagree)
ThomasJL Avatar
19 months ago
Steve Jobs released the Macintosh in 1984 with a GUI so users wouldn't ever have use a command prompt. But here we are 41 years later in 2025, and under Tim Cook's so-called "leadership," users have to use a command prompt.

Jobs should have never made Cook CEO. Jobs should have made Scott Forstall CEO.

Forstall was responsible for leading the development of Mac OS X (and iOS). If Clueless Cook hadn't fired Forstall, Forstall would've still been at Apple. The absurd situation of users having to use a command prompt in 2025 for basic functionality would've never happened if Forstall was still in charge of Mac OS.
Score: 21 Votes (Like | Disagree)