Home >Hardware Tutorial >Hardware News >Prevent Your MacBook From Turning on When the Lid Is Opened

Prevent Your MacBook From Turning on When the Lid Is Opened

Mary-Kate Olsen
Mary-Kate OlsenOriginal
2025-02-01 00:01:09364browse

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.

Prevent Your MacBook From Turning on When the Lid Is Opened


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 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=

The above is the detailed content of Prevent Your MacBook From Turning on When the Lid Is Opened. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn