Skip to main content

Is it safe to run a MacBook with the lid closed?

Yes with air around it. What Apple says about heat, the real risks, and how to run a closed MacBook unattended.

Updated 3 min readMarkdown

A short answer from the Keep Mac Awake team, written with the help of an AI writing program and checked against the Apple sources linked below.

Short answer: Yes, if it has air around it and, for long runs, power. Apple's heat guidance is about the surroundings: a stable surface with good ventilation, a room between 10° and 35° C (50° and 95° F), and never a bed, a pillow or bedding. What hurts a closed MacBook is heat with nowhere to go (a bag, a soft surface, a hot room), and on battery an unattended run drains the charge. To keep a closed MacBook working on its own, the first choice is Keep Mac Awake: it runs on AC power or on battery, and on a MacBook on battery Run on battery turns itself on at 20% unless you set it.

Does a closed MacBook overheat?

It keeps making heat while it works and has to lose it to the air around it. Apple: "If your Mac laptop has fans, they turn on automatically to cool critical components" (Apple Support); at higher thermal states macOS lowers performance by itself. You control whether air can reach the Mac and its power adapter.

What are the real risks?

  • Bags, drawers and cupboards. A Mac told not to sleep keeps working wherever you put it, and a closed bag has no ventilation.
  • Soft surfaces. Apple: "Don't use your Mac laptop in your bed, on a pillow, or under bedding" (Apple Support).
  • Hot rooms and cars. Apple's range is 10° to 35° C, and it says not to leave a Mac laptop in a car.
  • Battery drain. On battery, an agent or a download running all night uses charge with nobody watching, and the work stops when it runs out.

How do you run it closed and unattended?

Use AC power, put the Mac on a hard, flat surface with air around it and the adapter, never close it into a bag or drawer while it is set to stay awake, and give the run an end. Then check that normal sleep is back: a timed Keep Mac Awake session puts it back when it ends; after sudo pmset disablesleep 1, run sudo pmset disablesleep 0.

Keep Mac Awake is built for nobody watching. A session runs on AC power or on battery; on a MacBook on battery, Run on battery turns itself on at 20% unless you set it (with it off, a session needs AC power), and a battery session ends at the floor or at a serious thermal state. A separate watchdog restores the normal sleep setting if Keep Mac Awake's background service or the system service stops or hangs. It cannot give a Mac air: on AC power, heat is left to macOS and to where you put the Mac. sudo pmset disablesleep 1 by hand has no timer, battery floor or watchdog.

The full page, with Apple's thermal states, the pmset -g therm check and the FAQ, is on keepmacawake.com: is it safe to run a MacBook with the lid closed?

About the author

  • Keep Mac Awake is a Mac menu bar app and command line tool that keeps a MacBook awake with the lid closed for a session you start. These guides explain Mac sleep, pmset and long jobs with the lid closed, and first appear on keepmacawake.com.

No comments yet. Be the first to comment.