
Close the lid.
Keep it running.
LidKeeper keeps your MacBook awake with the lid shut — no external display needed — and watches the chip temperature so it never cooks in your bag.
Everything you need. Nothing you don’t.
One menu, a handful of switches, zero config files.
Stay awake, lid closed
Turn it on once and your Mac keeps running after you close the lid — on battery, without an external display.
Overheat protection
While staying awake, it checks the temperature every 5 seconds and sleeps the Mac above your threshold (85 ℃ by default).
Live temperature
The hottest sensor reading sits right in your menu bar, so you always know how hard your Mac is working.
Lock & sleep in one click
Lock the screen and walk away while jobs keep running, or sleep instantly — no lid, no Apple menu.
Remembers your choice
After an overheat or manual sleep, Stay Awake resumes on wake. Quitting restores normal sleep, so nothing is left behind.
Clean uninstall
One menu item restores system defaults, removes its permission rule and login item, and moves itself to the Trash.
A closer look
It lives entirely in your menu bar. Here’s what you’ll see.
Too hot (91℃). Going to sleep.
One-Time Authorization Required
Staying awake with the lid closed needs admin rights to run pmset. A rule allowing only “pmset disablesleep 0/1” without a password will be installed at /etc/sudoers.d/lidkeeper. You won’t be asked again.
How it works
No kernel extensions, no daemons. Just a built-in macOS setting, used carefully.
- 01
Authorize once
The first time you turn on Stay Awake, macOS asks for your password to install a rule that allows exactly one thing: toggling
pmset disablesleep. - 02
Flip the switch
LidKeeper runs
pmset -a disablesleep 1and the menu bar icon becomes a coffee cup. Close the lid — your work continues. - 03
Stay protected
Every 5 seconds it reads the chip sensors. Cross the threshold and it re-enables sleep, notifies you, and sleeps right away.
Exactly what it changes
The rule at /etc/sudoers.d/lidkeeper lets your user run these two commands without a password — and nothing else:
/usr/bin/pmset -a disablesleep 0
/usr/bin/pmset -a disablesleep 1
How it compares
Plenty of great tools keep a Mac awake. LidKeeper is built for the lid-closed case — and for keeping it safe.
| LidKeeper | Amphetamine | KeepingYouAwake | caffeinate | |
|---|---|---|---|---|
| Lid closed, no external display | Yes | Partly | No | No |
| Auto-sleep when overheating | Yes | No | No | No |
| Temperature in menu bar | Yes | No | No | No |
| One-click lock & sleep | Yes | No | No | No |
| Timers & automatic triggers | No | Yes | Partly | Partly |
| Price | Free | Free | Free | Built into macOS |
| Interface | Menu bar | Menu bar | Menu bar | Terminal |
Based on each tool’s public documentation as of December 2026. Amphetamine supports closed-display sessions with extra setup (see its docs); KeepingYouAwake and caffeinate offer timed durations rather than triggers.
Get LidKeeper
Free. No account, no tracking.
Download LidKeeper 1.0SHA-256a4c0e452a8240f2b843374c1a7509a0af91a753c183da57f1eb6a9b14893ae25
Requirements
- macOS 13 Ventura or later
- Apple Silicon Mac (M1 or newer)
- Your admin password once, for the sleep rule
Install in 3 steps
- Unzip and drag
LidKeeper.appinto Applications. - Open it. If macOS says it can’t verify the developer, go to System Settings → Privacy & Security and click Open Anyway.
- Click the moon icon in the menu bar and turn on Stay Awake.
Prefer the Terminal? Clear the quarantine flag instead:
xattr -dr com.apple.quarantine /Applications/LidKeeper.app
Questions & answers
Is my Mac really still running with the lid closed?
Yes. Only the built-in display turns off. Apps, downloads, network connections and SSH sessions keep going.
Why does it need my password?
Changing disablesleep requires root. LidKeeper installs a sudoers rule limited to two exact commands, so it never asks again — and never gets any other privilege.
Is it safe to carry my Mac in a bag while it runs?
That’s what overheat protection is for. For bags, a threshold of 80–85 ℃ is recommended. On a desk, M-series chips can normally hit 90 ℃+ under full load.
What if LidKeeper crashes — will my Mac never sleep?
Reopen LidKeeper and it restores the right state. Or run sudo pmset -a disablesleep 0 in Terminal; pmset -g shows SleepDisabled 1 while sleep is blocked.
Does it work on Intel Macs?
Version 1.0 is built for Apple Silicon only. Temperature reading relies on Apple Silicon sensors.
How do I uninstall it?
Choose Settings → Uninstall LidKeeper…. It restores normal sleep, removes its rule (password needed once), turns off launch at login, and moves itself to the Trash.