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

Apple Kukatpally Wallpaper

Apple Just Released Five New Products

Wednesday December 2, 2026 6:12 am PST by
Apple this week released five new (RED) products, which are available online and at Apple Stores in the U.S. and dozens of other countries. The five new products with (RED) editions:AirPods Max 2 ($549) HomePod mini 2 ($149) Apple Watch Series 12 (Titanium) ($699) AirPods Pro 3 with Wrist Strap ($269) AirTag 2 with AirTag FineWoven Key Ring ($59)Apple is now using (RED) branding instead...
macbook proled candy

PROLED MacBook Pro Receives Massive $1,000 Amazon Discount [Update: Gone]

Wednesday December 2, 2026 6:14 am PST by
Apple's MacBook Pro with PROLED XDR is seeing a massive $1,000 discount right now on Amazon, undercutting the Black Friday price by over $700. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site running. The model in question is the 16-inch PROLED MacBook Pro with 36GB...
Mostly Screen iPhone Purple Feature 2027

iPhone 20 Pro's Redesign May Be Less Radical Than Expected

Wednesday December 2, 2026 5:05 am PST by
Apple's 20th-anniversary iPhone is unlikely to achieve a completely bezel-free design due to manufacturing costs and production challenges, according to a new rumor from South Korea. In a new post on Naver, the leaker and news aggregator known as "yeux1122" shared information attributed to sources at companies in South Korea. The account characterized the display plans as a "compromise with...

Top Rated Comments

24 months ago
And why could this not be a preference setting?
Score: 117 Votes (Like | Disagree)
jz0309 Avatar
24 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
24 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
24 months ago
Flippin’ ’eck, what is this, Linux?
Score: 33 Votes (Like | Disagree)
24 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
24 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)
Latest Stories
15 More iPhone Duo Apps Worth Trying
15 More iPhone Duo Apps Worth Trying
40 minutes ago
Apple Raises AppleCare+ Prices for Several Macs
Apple Raises AppleCare+ Prices for Several Macs
2 hours ago
Review: BMX's SolidSafe Duo is a Power Bank Tailor-Made for the iPhone Duo
Review: BMX's SolidSafe Duo is a Power Bank Tailor-Made for the iPhone Duo
3 hours ago
Apple's New (RED) AirPods Max 2 Now Available for $100 Off
Apple's New (RED) AirPods Max 2 Now Available for $100 Off
6 hours ago
The MacRumors Show: Apple's New (RED) Products and Siri AI Problems
The MacRumors Show: Apple's New (RED) Products and Siri AI Problems
7 hours ago
Disney+ App Now Optimized for iPhone Duo
Disney+ App Now Optimized for iPhone Duo
7 hours ago
AirPods 5 Drop to $99 for the First Time Ever on Amazon
AirPods 5 Drop to $99 for the First Time Ever on Amazon
9 hours ago
Apple Loses Early Appeal Bid in Apple Pay Fees Lawsuit
Apple Loses Early Appeal Bid in Apple Pay Fees Lawsuit
9 hours ago
WhatsApp Strengthens Built-In Spam Protections for Usernames
WhatsApp Strengthens Built-In Spam Protections for Usernames
11 hours ago
Jon Prosser Pushes for Year-Long Delay in iOS 26 Leaks Case
Jon Prosser Pushes for Year-Long Delay in iOS 26 Leaks Case
12 hours ago
BBC iPlayer App Gains UHD Streaming Support on Apple TV 4K
BBC iPlayer App Gains UHD Streaming Support on Apple TV 4K
13 hours ago
iPhone 18 Delays Linked to Memory Costs and Ternus Decisions
iPhone 18 Delays Linked to Memory Costs and Ternus Decisions
14 hours ago
WhatsApp Group Chats Now Work With Third-Party App in Europe
WhatsApp Group Chats Now Work With Third-Party App in Europe
14 hours ago
Apple Says More Than 400,000 Apps Now Optimized for iPhone Duo
Apple Says More Than 400,000 Apps Now Optimized for iPhone Duo
22 hours ago
Apple's iPhone Game of the Year Isn't Optimized for iPhone Duo
Apple's iPhone Game of the Year Isn't Optimized for iPhone Duo
1 day ago
Four New Apple Arcade Games Available Today
Four New Apple Arcade Games Available Today
1 day ago
YouTube TV Price Climbs Again, Now Nearly $90 a Month
YouTube TV Price Climbs Again, Now Nearly $90 a Month
1 day ago
Some M5 Macs Have a Studio Display XDR Problem
Some M5 Macs Have a Studio Display XDR Problem
1 day ago
Cyber Week iPhone Deals: Get an iPhone Duo at No Cost for the Holidays
Cyber Week iPhone Deals: Get an iPhone Duo at No Cost for the Holidays
1 day ago
Apple's Former Software Design Chief Alan Dye on Why He Joined Meta
Apple's Former Software Design Chief Alan Dye on Why He Joined Meta
1 day ago
Meta Considers iPhone Rival and Revives Smartwatch Plans
Meta Considers iPhone Rival and Revives Smartwatch Plans
1 day ago
iPhone 20 Pro Titanium Rumors Grow as Material Orders Rise
iPhone 20 Pro Titanium Rumors Grow as Material Orders Rise
1 day ago
Apple Announces 'The Morning Show' Season 5 Release Date
Apple Announces 'The Morning Show' Season 5 Release Date
1 day ago
Apple Pay Promo Offers $25 Gift Card at Gorjana
Apple Pay Promo Offers $25 Gift Card at Gorjana
1 day ago
Apple Announces 2026 iPhone App of the Year and More
Apple Announces 2026 iPhone App of the Year and More
1 day ago
M6 MacBook Pro Cyber Week Deal Takes $250 Off Select Models
M6 MacBook Pro Cyber Week Deal Takes $250 Off Select Models
1 day ago
Apple Music Launches as a Native App in BMW and Mini Vehicles
Apple Music Launches as a Native App in BMW and Mini Vehicles
1 day ago
Proton Mail's iPhone App Adds Full-Text Search for Encrypted Email
Proton Mail's iPhone App Adds Full-Text Search for Encrypted Email
1 day ago
Apple Backs US Warning Over AI Threat to Encryption
Apple Backs US Warning Over AI Threat to Encryption
2 days ago
Apple's HomeView is Backordered Into February
Apple's HomeView is Backordered Into February
2 days ago