Apple Explains How to Keep Your Mac From Turning on When Opening Lid - MacRumors
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 Handoff Feature

iOS 27 Introduces New 'iPhone Handoff' Feature

Wednesday September 2, 2026 12:35 pm PDT by
Apple has added a new "iPhone Handoff" feature to iOS 27 that will allow you to switch between two iPhones while using the same phone number on each device. This functionality was briefly mentioned during the WWDC 2026 keynote in June, on a slide that listed hundreds of new features coming in iOS 27 and corresponding software updates, but Apple never shared any further details at the time. ...
Dynamic Island iPhone 18 Pro Feature

iPhone 18 Pro Prices Estimated Ahead of Apple Event Next Week

Thursday September 3, 2026 3:41 am PDT by
Less than a week before Apple debuts new iPhone 18 Pro models, research firm TrendForce has estimated the prices of the devices based on the latest hardware cost environment. TrendForce's price estimates compared to last year's models look like this: Model Starting Price Model Starting Price Change iPhone 17 Pro $1,099 iPhone 18 Pro $...
Apple Foldable Thumb

iPhone Ultra's Very High Price and Features Revealed in New Report

Thursday September 3, 2026 7:33 am PDT by
Ahead of Apple's event on Wednesday, September 9, where it is expected to unveil its first-ever foldable iPhone, Taiwanese research firm TrendForce today outlined the device's estimated price range, features, and some other key details. In the U.S., TrendForce estimated that the foldable iPhone will have a starting price of $2,099 to $2,299 and said the highest-end configurations could...

Top Rated Comments

21 months ago
And why could this not be a preference setting?
Score: 117 Votes (Like | Disagree)
jz0309 Avatar
21 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
21 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
21 months ago
Flippin’ ’eck, what is this, Linux?
Score: 33 Votes (Like | Disagree)
21 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
21 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)