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

CarPlay Hero

Apple Releases Wireless CarPlay Fix

Wednesday April 16, 2025 11:28 am PDT by
If you have been experiencing issues with wireless CarPlay in your vehicle lately, it was likely due to a software bug that has now been fixed. Apple released iOS 18.4.1 today, and the update's release notes say it "addresses a rare issue that prevents wireless CarPlay connection in certain vehicles." If wireless CarPlay was acting up for you, updating your iPhone to iOS 18.4.1 should...
Beyond iPhone 13 Better Triad

Apple's 20th Anniversary iPhone May Finally Go All Screen

Tuesday April 15, 2025 6:31 am PDT by
Apple is preparing a "bold" new iPhone Pro model for the iPhone's 20th anniversary in 2027, according to Bloomberg's Mark Gurman. As part of what's being described as a "major shake-up," Apple is said to be developing a design that makes more extensive use of glass – and this could point directly to the display itself. Here's the case for Apple releasing a truly all-screen iPhone with no...
iOS 19 Roundup Feature

iOS 19 Will Add These New Features to Your iPhone

Tuesday April 15, 2025 7:37 am PDT by
The first iOS 19 beta is less than two months away, and there are already a handful of new features that are expected with the update. Apple should release the first iOS 19 beta to developers immediately following the WWDC 2025 keynote, which is scheduled for Monday, June 9. Following beta testing, the update should be released to the general public in September. Below, we recap the key...
maxresdefault

iPhone 17 Pro Launching Later This Year With These 12 New Features

Sunday April 13, 2025 7:52 am PDT by
While the iPhone 17 Pro and iPhone 17 Pro Max are not expected to launch until September, there are already plenty of rumors about the devices. Subscribe to the MacRumors YouTube channel for more videos. Below, we recap key changes rumored for the iPhone 17 Pro models as of April 2025: Aluminum frame: iPhone 17 Pro models are rumored to have an aluminum frame, whereas the iPhone 15 Pro and ...
iphone 16 pro models 1

17 Reasons to Wait for the iPhone 17

Thursday April 17, 2025 4:12 am PDT by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models simultaneously, which is why we often get rumored features months ahead of launch. The iPhone 17 series is no different, and we already have a good idea of what to expect from Apple's 2025 smartphone lineup. If you skipped the iPhone...
AirPods Pro 3 Mock Feature

AirPods Pro 3 Just Months Away – Here's What We Know

Friday April 18, 2025 5:16 am PDT by
Despite being more than two years old, Apple's AirPods Pro 2 still dominate the premium wireless‑earbud space, thanks to a potent mix of top‑tier audio, class‑leading noise cancellation, and Apple's habit of delivering major new features through software updates. With AirPods Pro 3 widely expected to arrive in 2025, prospective buyers now face a familiar dilemma: snap up the proven...
iOS 18

Apple Releases iOS 18.4.1 With Bug Fixes

Wednesday April 16, 2025 10:11 am PDT by
Apple today released iOS 18.4.1 and iPadOS 18.4.1, minor updates to the iOS 18 and iPadOS 18 operating systems that came out last September. iOS 18.4.1 and iPadOS 18.4.1 come two weeks after the launch of iOS 18.4 and iPadOS 18.4. The new software can be downloaded on eligible iPhones and iPads over-the-air by going to Settings > General > Software Update. There have been complaints about ...
tvOS 18 Thumb 1

Apple Releases tvOS 18.4.1

Wednesday April 16, 2025 10:04 am PDT by
Apple today released tvOS 18.4.1, a minor update to the tvOS 18 operating system that came out last September. tvOS 18.4.1 comes two weeks after Apple released tvOS 18.4, and it is available for the Apple TV 4K and Apple TV HD models. tvOS 18.4.1 can be downloaded using the Settings app on the ‌Apple TV‌. Open up Settings and go to System > Software Update to get the new software....
iPhone Security Feature 25

Five iPhone Security Features You Should Be Using

Wednesday April 16, 2025 4:15 pm PDT by
Apple has quite a few security features that it's added to iPhones, iPads, and Macs over the years. Now more than ever, it's important to make sure you're taking advantage of the built-in security tools that are available to keep yourself and your data safe, so we've rounded up a list of the most important options. If you don't already have these enabled, you might want to consider turning...

Top Rated Comments

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