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 Dark Blue and Orange

When Is iPhone 17 Coming Out?

Thursday July 24, 2025 9:11 am PDT by
Apple's iPhone 17 series is expected to debut in September 2025. This release follows Apple's recent trend of introducing new iPhone models annually in the fall. To unveil the iPhone 17, iPhone 17 Air, iPhone 17 Pro, and iPhone 17 Pro Max, Apple is expected to hold its annual iPhone announcement event during the week of September 8, 2025, with September 9 or 10 emerging as the most likely...
iPhone 17 Pro on Desk Centered 1

iPhone 17 Pro Launching in Two Months With These 16 New Features

Saturday July 26, 2025 5:50 am PDT by
Apple's iPhone 17 Pro and iPhone 17 Pro Max should launch in late September, and there are plenty of rumors about the devices. Below, we recap key changes rumored for the iPhone 17 Pro models, as of July 2025:Aluminum frame: iPhone 17 Pro models are rumored to have an aluminum frame, whereas the iPhone 15 Pro and iPhone 16 Pro models have a titanium frame, and the iPhone X through iPhone 14...
iPhone 17 Pro on Desk Centered 1

Tipster: iPhone 17 Pro to Feature 8x Zoom, Pro Camera App, and More

Sunday July 27, 2025 7:35 am PDT by
Apple's upcoming iPhone 17 Pro models will have several new camera-related features, according to an anonymous tipster who contacted MacRumors today. The tipster claimed to be familiar with an iPhone 17 Pro commercial that is allegedly being produced by a film company that has publicly listed Apple as one of its clients. MacRumors has not independently confirmed any of the information shared ...
watchOS 11 Thumb 2 1

Apple Releases watchOS 11.6

Tuesday July 29, 2025 10:13 am PDT by
Apple today released watchOS 11.6, the sixth update to the operating system that runs on the Apple Watch. watchOS 11.6 comes more than two months after Apple released watchOS 11.5. The update is compatible with the Apple Watch Series 6 and later, all Apple Watch Ultra models, and the Apple Watch SE 2. watchOS 11.6 can be downloaded on a connected iPhone by opening up the Apple Watch app and...
macOS Sequoia Feature

Apple Releases macOS Sequoia 15.6

Tuesday July 29, 2025 10:22 am PDT by
Apple today released macOS Sequoia 15.6, the sixth major update to the macOS Sequoia operating system that launched last September. macOS Sequoia 15.6 comes a over two months after the launch of macOS Sequoia 15.5. Mac users can download the ‌‌‌macOS Sequoia 15.6 update through the Software Update section of System Settings. It is available for free on all Macs able to run macOS 15. ...
iOS 18

Apple Releases iOS 18.6 With Photos Bug Fix

Tuesday July 29, 2025 10:17 am PDT by
Apple today released iOS 18.6 and iPadOS 18.6, the sixth updates to the iOS 18 and iPadOS 18 operating systems. iOS 18.6 and iPadOS 18.6 come more than two months after the release of iOS 18.5 and iPadOS 18.5. The new software can be downloaded on eligible iPhones and iPads over-the-air by going to Settings > General > Software Update. iOS 18.6 addresses a Photos-related bug that could...
iPhone 17 MagSafe UnclePan

Here's Another Look at the iPhone 17 Pro's Alleged New MagSafe Design

Tuesday July 29, 2025 8:09 am PDT by
Another image of the iPhone 17 Pro's rumored new MagSafe design has surfaced. Unfortunately, though, the image's quality is pretty low. A user known as "UnclePan" on Chinese social media platform Weibo this week shared an image of third-party MagSafe cases that are apparently for the iPhone 17, iPhone 17 Air, iPhone 17 Pro, and iPhone 17 Pro Max. On the iPhone 17 Pro cases, the MagSafe...

Top Rated Comments

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