Get all your news in one place.
100’s of premium titles.
One app.
Start reading
Tom’s Guide
Tom’s Guide
Technology
Tom Pritchard

Apple reveals how to prevent your MacBook powering on when you open the lid — here's what to do

MacBook Air 13-inch M3.

One of the most annoying things about owning a MacBook is that every time you open the lid, or connect it to power, the machine boots itself up. It doesn’t matter whether you actually want that to happen or not, it seems like you don’t have a choice. Fortunately, Apple has explained that there is a way around this.

This workaround isn’t exactly obvious, or else Apple wouldn’t have had to step in and tell everyone what’s going on. 9to5Mac describes it as “a bit of a power user workaround," and it will require some time in the Terminal app. Why couldn’t it be a toggle in the settings menu? I don’t know, but it shouldn’t surprise anyone considering what Apple is usually like.

There are some caveats here. You will need a Mac that has Apple silicon, meaning one of the M-series chips rather than an older model with an Intel CPU. It’ll also need to be updated to macOS Sequoia or later. If you have a machine that meets both criteria, then Apple’s support document explains everything you need to do.

1. Open the Terminal app

Open up the Terminal app, which can be found in the Utilities section of the Applications folder

2a. Avoid start-up when opening the lid or plug in

To stop start-up when you’re opening the lid or connecting to power type in sudo nvram BootPreference=%00 and hit return.

2b. Avoid start-up when you open the lid

To stop the machine starting up only when you open the lid type in sudo nvram BootPreference=%01 and hit return

2c. Avoid start-up when you plug in

To stop the MacBook starting up only when you plug it into power type in sudo nvram BootPreference=%02 and hit return

3. Verify your password

After you hit return you’ll be asked to verify your password, so type it in and hit return. Just remember that your password won't be visible in the terminal as you type.

If you ever want to do any of these changes, you’ll need to type sudo nvram -d BootPreference into the terminal window.

One thing to remember is that your MacBook will still boot up if you hit one of the keys or the track pad. So bear that in mind if you need to clean your machine, or plan on leaving your laptop lid open with the keyboard exposed.

More from Tom's Guide

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.