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 16 pro ghost hand

5 Reasons to Skip This Year's iPhone 17 Pro

Thursday July 10, 2025 4:54 am PDT by
Apple will launch its new iPhone 17 series in two months, 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...
apple tv 4k new orange

New Apple TV Expected Later This Year With These New Features

Saturday July 12, 2025 3:09 pm PDT by
A new Apple TV is expected to be released later this year, and a handful of new features and changes have been rumored for the device. Below, we recap what to expect from the next Apple TV, according to rumors. Rumors Faster Wi-Fi Support The next Apple TV will be equipped with Apple's own combined Wi-Fi and Bluetooth chip, according to Bloomberg's Mark Gurman. He said the chip supports ...
iPhone 17 Pro in Hand Feature Lowgo

iPhone 17 Pro Coming Soon With These 16 New Features

Friday July 11, 2025 12:40 pm PDT by
Apple's next-generation iPhone 17 Pro and iPhone 17 Pro Max are only two months away, and there are plenty of rumors about the devices. Below, we recap key changes rumored for the iPhone 17 Pro models. Latest Rumors These rumors surfaced in June and July:A redesigned Dynamic Island: It has been rumored that all iPhone 17 models will have a redesigned Dynamic Island interface — it might ...
macbook pro blue green

M5 MacBook Pro No Longer Coming in 2025

Thursday July 10, 2025 12:38 pm PDT by
Apple does not plan to refresh any Macs with updated M5 chips in 2025, according to Bloomberg's Mark Gurman. Updated MacBook Air and MacBook Pro models are now planned for the first half of 2026. Gurman previously said that Apple would debut the M5 MacBook Pro models in late 2025, but his newest report suggests that Apple is "considering" pushing them back to 2026. Apple is now said to be...
iphone 16 pro pro max

iPhone 17 Pro Models With BOE Displays Will Be Sold in China Only

Thursday July 10, 2025 11:59 pm PDT by
iPhone 17 Pro and iPhone 17 Pro Max models with displays made by BOE will be sold exclusively in China, according to a new report. Last week, it emerged that Chinese display manufacturer BOE was aggressively ramping up its OLED production capacity for future iPhone models as part of a plan to recapture a major role in Apple's supply chain. Now, tech news aggregator Jukan Choi reports...
Apple Watch Ultra 2 Complications

Apple Watch Ultra 3: What to Expect

Sunday July 13, 2025 10:30 am PDT by
The long wait for an Apple Watch Ultra 3 is nearly over, and a handful of new features and changes have been rumored for the device. Below, we recap what to expect from the Apple Watch Ultra 3:Satellite connectivity for sending and receiving text messages when Wi-Fi and cellular coverage is unavailable 5G support, up from LTE on the Apple Watch Ultra 2 Likely a wide-angle OLED display that ...
apple wallet drivers license feature iPhone 15 pro

Apple Says iPhone Driver's Licenses Will Expand to These 8 U.S. States

Tuesday July 8, 2025 11:26 am PDT by
In select U.S. states, residents can add their driver's license or state ID to the Wallet app on the iPhone and Apple Watch, providing a convenient and contactless way to display proof of identity or age at select airports and businesses, and in select apps. Unfortunately, this feature continues to roll out very slowly since it was announced in 2021, with only nine U.S. states, Puerto Rico,...
iPhone 17 Air Colors Thumb 2

iPhone 17 and iPhone 17 Air Rumored to Come in These 9 Colors

Friday July 11, 2025 12:30 am PDT by
The iPhone 17 and iPhone 17 Air will be available in a total of nine color options, according to new information coming out of Asia. The iPhone 17 Air's expected color options. According to the leaker going by the account name "yeux1122" on the Korean blog Naver, accessory manufacturers are now producing camera protector rings for the iPhone 17 and iPhone 17 Air in colors to match their...

Top Rated Comments

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