Running Safely with the Lid Closed
Closing the lid puts a Mac to sleep no matter what keep-awake mode you're running, unless you specifically turn on Closed-Lid mode first. Here's the difference that trips people up, how to turn it on correctly, and the airflow and battery habits that keep an unattended run safe.
Keep Awake alone does not survive a closed lid
This is the single most common mix-up: turning on Keep Awake, closing the lid, and expecting the work to keep running. It won't — macOS puts the Mac to sleep the moment the lid shuts, regardless of what keep-awake mode is active. Keep Awake, Timer, Charging Only, and Auto Mode all hold off idle sleep, but none of them override the lid-close sleep on their own.
Closed-Lid mode is the one setting that actually changes this behavior. If you need work to keep running with the lid shut, that's the mode to turn on — not just Keep Awake.
Turn on Closed-Lid mode correctly
Click the menu bar icon and select Closed-Lid Mode. You'll see two options: 'Sleep when done', marked Recommended, where the Mac sleeps automatically once the job actually finishes, and 'Stay awake until I turn it off', which stays awake indefinitely until you end it yourself.
Pick one, confirm, and only then close the lid. Turning on Closed-Lid mode after the lid is already closed doesn't work — the sequence matters.
If you haven't enabled the LidRun Helper yet, macOS will ask for your administrator password each time this turns on — see Enable the LidRun Helper to skip that step going forward.
The safety habits that actually matter
Airflow is the one thing no app can fix for you. Keep the Mac on a hard, flat, ventilated surface — never inside a closed bag or backpack while a job is running. A closed-lid Mac generates real heat, and a sealed enclosure traps it.
LidRun watches your battery level and thermal state throughout the session and lets the Mac sleep on its own if either crosses the threshold you've set — but that safety net only works if you've actually configured a low-battery floor. Check it before a long overnight run, not after.
Be honest about what this is: LidRun helps reduce risk, it isn't a guarantee that nothing goes wrong. Placement and airflow are still your responsibility.
Need a license for another Mac? See pricing →
Frequently asked
Keep Awake blocks idle sleep, but it doesn't override the sleep macOS triggers when you close the lid. For that, you need Closed-Lid mode specifically — turn it on before closing the lid, not Keep Awake alone.
'Sleep when done', marked Recommended, lets the Mac sleep automatically once your job actually finishes, so there's no need to remember to turn it off. 'Stay awake until I turn it off' keeps it running indefinitely until you end the session yourself — useful if you're not sure how long the job will take.
It can be, with the right setup: a hard ventilated surface, a low-battery floor you've actually set, and ideally the Helper enabled for automatic recovery. LidRun helps reduce risk by watching battery and thermal state, but it doesn't eliminate the physical reality of a closed, heat-trapping enclosure — never run it inside a bag.
No, but without it macOS asks for your administrator password every time Closed-Lid mode turns on, and there's no automatic recovery if LidRun quits unexpectedly mid-session. See Enable the LidRun Helper for the one-time setup.