MacBook Air 2025 keeps turning on after shutdown

My Macbook Air 2025 keeps turning on after I shut it down.

I'm running Tahoe 26.5.1, M4 chip.

Any clues?

MacBook Air 13″, macOS 26.5

Posted on Aug 9, 2026 1:10 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 10, 2026 1:31 AM

A Mac laptop with Apple silicon automatically turns on and starts up when you open its lid or connect it to power.


You can change this behaviour without affecting your ability to turn on your Mac using its keyboard or trackpad.


  1. Open Terminal, which is in the Utilities folder of your Applications folder. Or use Spotlight to find and open it.
  2. Type one of these commands in Terminal, then press Return:
  3. To prevent startup when opening the lid or connecting to powersudo nvram BootPreference=%00
  4. To prevent startup only when opening the lidsudo nvram BootPreference=%01
  5. To prevent startup only when connecting to powersudo nvram BootPreference=%02
  6. Type your administrator password when prompted (Terminal doesn’t show the password as it's typed), then press Return.


To undo any of the previous commands and reenable automatic startup when opening the lid or connecting to power, enter  sudo nvram -d BootPreference in Terminal.

7 replies
Question marked as Top-ranking reply

Aug 10, 2026 1:31 AM in response to notthatysl

A Mac laptop with Apple silicon automatically turns on and starts up when you open its lid or connect it to power.


You can change this behaviour without affecting your ability to turn on your Mac using its keyboard or trackpad.


  1. Open Terminal, which is in the Utilities folder of your Applications folder. Or use Spotlight to find and open it.
  2. Type one of these commands in Terminal, then press Return:
  3. To prevent startup when opening the lid or connecting to powersudo nvram BootPreference=%00
  4. To prevent startup only when opening the lidsudo nvram BootPreference=%01
  5. To prevent startup only when connecting to powersudo nvram BootPreference=%02
  6. Type your administrator password when prompted (Terminal doesn’t show the password as it's typed), then press Return.


To undo any of the previous commands and reenable automatic startup when opening the lid or connecting to power, enter  sudo nvram -d BootPreference in Terminal.

MacBook Air 2025 keeps turning on after shutdown

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.