Stop Your MacBook Turning On Every Time You Open the Lid - MacRumors
Skip to Content

Stop Your MacBook Turning On Every Time You Open the Lid

by

If you've ever opened your MacBook's lid just to clean the display and keyboard, only to have it spring to life unexpectedly, here's a simple solution. Apple silicon Macs automatically start up when you open the lid or connect them to power, but you can disable this behavior in macOS Sequoia or later.

craig federighi
While automatic startup is convenient in most situations, you might want to disable it. Doing so gives you better control over your Mac's power state, which is particularly useful when you're checking over the machine or cleaning it and don't want it powering on automatically. To prevent the behavior, simply follow the steps below.

Note that the steps only work if your Mac laptop is powered by Apple silicon (M1 chip or later) and it's running macOS Sequoia or later. You'll also need your administrator password handy.

  1. Open the Terminal app (it's in the subfolder Applications/Utilities).
  2. At the prompt, type one of the following commands, then press Return:
  • sudo nvram BootPreference=%00 – To prevent startup when opening the lid or connecting to power.
  • sudo nvram BootPreference=%01 – To prevent startup only when opening the lid.
  • sudo nvram BootPreference=%0 – To prevent startup only when connecting to power.

You'll then be asked to enter your administrator password (it won't be visible as you type). After that, press Return again, and you're done.

That's all there is to it. To restore the default behavior and re-enable automatic startup, enter sudo nvram -d BootPreference in Terminal.

Don't worry - this change won't affect your ability to turn on your Mac using the keyboard or trackpad. You'll still have full control over your Mac's power state, just without the automatic behavior.

Popular Stories

M5 MacBook Pro

RIP, MacBook Ultra

Monday October 19, 2026 9:37 am PDT by
Apple today sent out invites for an experience in Los Angeles on Wednesday, October 28, and the "Pro and tell" tagline on the invitation likely means that the rumored MacBook models with touch-enabled OLED displays will stick with MacBook Pro branding instead of the once-rumored "MacBook Ultra" name. The long-rumored "iPhone Ultra" ended up being named iPhone Duo, so speculation that Apple...
iPhone Duo Trio

Here's What Apple's Apps Look Like on the iPhone Duo

Tuesday October 20, 2026 11:12 am PDT by
With just three days to go until the iPhone Duo is released, Apple is getting ready for the launch. Behind the scenes, the App Store now has screenshots of Apple's built-in apps running on the Duo. We've seen some apps in marketing materials, but images of the ones we haven't seen give us an idea of what it will be like using the iPhone Duo day to day. Many apps are shown in landscape...
apple pro tell logo

Apple Announcing New Products Next Week: 'Pro and Tell'

Monday October 19, 2026 9:05 am PDT by
Apple's Greg Joswiak today hinted at new product announcements coming next week, sharing a social media post that says "Can't wait to pro and tell next week." Rumors suggest Apple is planning to debut the new MacBook Pro with an OLED touchscreen display, an M6 entry-level MacBook Pro, an M6 iMac, an iPad mini with an OLED display. Can't wait to pro and tell next week....
Latest Stories
iPhone Duo Launch Begins as First Orders Reach Customers
iPhone Duo Launch Begins as First Orders Reach Customers
51 minutes ago
1Password for Agents Keeps Your Passwords Hidden From AI
1Password for Agents Keeps Your Passwords Hidden From AI
2 hours ago
iPhone Duo 24 Hours Later: Your Questions Answered
iPhone Duo 24 Hours Later: Your Questions Answered
2 hours ago
Apple's iWork Apps Get 'Intelligent Assistant' and iPhone Duo Support
Apple's iWork Apps Get 'Intelligent Assistant' and iPhone Duo Support
3 hours ago
Apple is Apparently Considering a Slightly Larger iPhone Duo
Apple is Apparently Considering a Slightly Larger iPhone Duo
3 hours ago
Giant iPhone Duo Displays Coming to Four Apple Stores
Giant iPhone Duo Displays Coming to Four Apple Stores
4 hours ago
Apple Pulls Keynote, Pages and Numbers From App Store [Update: Back]
Apple Pulls Keynote, Pages and Numbers From App Store [Update: Back]
5 hours ago
Apple Updates More Apps With iPhone Duo Support
Apple Updates More Apps With iPhone Duo Support
6 hours ago
Apple Will Label Apps 'Made for iPhone Duo' in App Store
Apple Will Label Apps 'Made for iPhone Duo' in App Store
8 hours ago
Amazon Takes $49 Off iPad With Prices Starting at $399.99
Amazon Takes $49 Off iPad With Prices Starting at $399.99
9 hours ago
F1 on Apple TV Now Available in Dolby Atmos
F1 on Apple TV Now Available in Dolby Atmos
10 hours ago
Apple Reveals More Than 50 Apps That Will Be Updated for iPhone Duo
Apple Reveals More Than 50 Apps That Will Be Updated for iPhone Duo
10 hours ago
Apple Blocks Certificates That Could Help Attackers Fake Websites
Apple Blocks Certificates That Could Help Attackers Fake Websites
11 hours ago
Giant iPhone Duo Installations Spotted at Apple Fifth Avenue
Giant iPhone Duo Installations Spotted at Apple Fifth Avenue
12 hours ago
iPhone Duo 2 Prototypes Include Under-Display Face ID
iPhone Duo 2 Prototypes Include Under-Display Face ID
12 hours ago
Tesla App Gains iPad and iPhone Duo Support
Tesla App Gains iPad and iPhone Duo Support
16 hours ago
Apple Reportedly Boosts iPhone Duo Orders by 44%
Apple Reportedly Boosts iPhone Duo Orders by 44%
17 hours ago
Fortnite Returning to Australian App Store After Court Ruling
Fortnite Returning to Australian App Store After Court Ruling
17 hours ago
Apple Ordered to Open iPhone to Rival App Stores in Australia
Apple Ordered to Open iPhone to Rival App Stores in Australia
17 hours ago
Apple Suppliers Face Hurdles Cutting Circuit Board Emissions
Apple Suppliers Face Hurdles Cutting Circuit Board Emissions
18 hours ago
Things Updated for iPhone Duo With Adaptive Layout
Things Updated for iPhone Duo With Adaptive Layout
18 hours ago
Simplicity and Siri AI Are HomeView's Killer Features, Apple Says
Simplicity and Siri AI Are HomeView's Killer Features, Apple Says
19 hours ago
iPhone Duo Reviewers Really Miss Face ID
iPhone Duo Reviewers Really Miss Face ID
1 day ago
Does the iPhone Duo Run Hot? Here's What Reviews Found
Does the iPhone Duo Run Hot? Here's What Reviews Found
1 day ago
Apple Music's New Look is Now Live on Apple's Website
Apple Music's New Look is Now Live on Apple's Website
1 day ago
Anthropic Launches Claude Duet, a Proactive AI Agent
Anthropic Launches Claude Duet, a Proactive AI Agent
1 day ago
What 32,000 Folds Did to the iPhone Duo's Hinge
What 32,000 Folds Did to the iPhone Duo's Hinge
1 day ago
iPhone Duo's Hidden FaceTime Camera Takes 'Trash' Photos
iPhone Duo's Hidden FaceTime Camera Takes 'Trash' Photos
1 day ago
iPhone Duo Has 'Edge Light' Feature That Debuted on Macs Last Year
iPhone Duo Has 'Edge Light' Feature That Debuted on Macs Last Year
1 day ago
Apple Support App Updated for iPhone Duo's Larger Display
Apple Support App Updated for iPhone Duo's Larger Display
1 day ago