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 17 Pro 3 4ths Perspective Aluminum Camera Module 1

New iPhone 17 Pro Details: Brighter Display, Best Battery Life, and More

Wednesday September 3, 2025 5:33 am PDT by
Apple's iPhone 17 Pro and iPhone 17 Pro Max models will feature a number of significant display, thermal, and battery improvements, according to new late-stage rumors. According to the Weibo leaker known as "Instant Digital," the iPhone 17 Pro models will feature displays with higher brightness, making it more suitable for use in direct sunlight for prolonged periods. The iPhone 16 Pro and...
iPhone 17 Pro Iridescent Feature 2

iPhone 17 Pro Clear Case Leak Reveals Three Key Changes

Sunday August 31, 2025 1:26 pm PDT by
Apple is expected to unveil the iPhone 17 series on Tuesday, September 9, and last-minute rumors about the devices continue to surface. The latest info comes from a leaker known as Majin Bu, who has shared alleged images of Apple's Clear Case for the iPhone 17 Pro and Pro Max, or at least replicas. Image Credit: @MajinBuOfficial The images show three alleged changes compared to Apple's iP...
iphone 16 pro ghost hand

iPhone 17 Pro: 5 Reasons Not to Upgrade This Year

Monday September 1, 2025 4:35 am PDT by
Apple will launch its new iPhone 17 series this month, and the iPhone 17 Pro models are expected to get a new design for the rear casing and the camera area. But more significant changes to the lineup are not expected until next year, when the iPhone 18 models arrive. If you're thinking of trading in your iPhone for this year's latest, consider the following features rumored to be coming to...
iPhone 17 Pro Iridescent Feature 2

iPhone 17 and iPhone 17 Pro Prices Estimated Ahead of Apple Event Next Week

Tuesday September 2, 2025 1:50 pm PDT by
Just one week before Apple is expected to unveil the iPhone 17 series, an analyst has shared new price estimates for the devices. Here are J.P. Morgan analyst Samik Chatterjee's price estimates for the iPhone 17 series in the United States, according to 9to5Mac: Model Starting Price Model Starting Price Change iPhone 16 $799 iPhone 17 ...
iPhone 17 Pro Dark Blue and Orange

iPhone 17 Release Date, Pre-Orders, and What to Expect

Thursday August 28, 2025 4:08 am PDT by
An iPhone 17 announcement is a dead cert for September 2025 – Apple has already sent out invites for an "Awe dropping" event on Tuesday, September 9 at the Apple Park campus in Cupertino, California. The timing follows Apple's trend of introducing new iPhone models annually in the fall. At the event, Apple is expected to unveil its new-generation iPhone 17, an all-new ultra-thin iPhone 17...
iOS 18 on iPhone Arrow Down

Apple Preparing iOS 18.7 for iPhones as iOS 26 Release Date Nears

Sunday August 31, 2025 4:35 pm PDT by
Apple is preparing to release iOS 18.7 for compatible iPhone models, according to evidence of the update in the MacRumors visitor logs. We expect iOS 18.7 to be released in September, alongside iOS 26. The update will likely include fixes for security vulnerabilities, but little else. iOS 18.7 will be one of the final updates ever released for the iPhone XS, iPhone XS Max, and iPhone XR,...
iPhone 17 Pro on Desk Centered 1

Survey: Nearly 70% of Users Plan to Upgrade to iPhone 17

Monday September 1, 2025 8:24 am PDT by
A new survey has found that nearly seven in ten iPhone owners in the United States plan to upgrade to an iPhone 17 model, signaling strong demand ahead of Apple's expected unveiling of the devices at its September 9 keynote. Smartphone price comparison platform SellCell surveyed over 2,000 U.S.-based iPhone users in August to assess upgrade interest and brand loyalty before Apple's event....

Top Rated Comments

icerabbit Avatar
8 months ago
And why could this not be a preference setting?
Score: 117 Votes (Like | Disagree)
jz0309 Avatar
8 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
8 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
8 months ago
Flippin’ ’eck, what is this, Linux?
Score: 32 Votes (Like | Disagree)
CEO Avatar
8 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)
JCCL Avatar
8 months ago
I mean even windows has had this setting since probably Windows 95.
Score: 21 Votes (Like | Disagree)