Domain Rating
by Ahrefs
Domain Rating by Ahrefs2
Description
Insomnia is a macOS menu bar app that keeps your Mac awake until a time you pick, including with the lid closed. Its page calls it caffeinate for the agentic era, and names Claude Code, Codex, Docker and your browser as things it keeps running. You click the eye in the menu bar, type a duration such as 8 and press Enter, and the countdown appears in the menu bar. Clicking the countdown adds more time. To end a session early, you hold the × for about 0.6 seconds, so a stray click cannot end it. Right-clicking the eye opens status, Settings and Quit. When the lid is closed, the app makes changes such as dimming the display and keyboard light, freezing messaging apps, muting audio and turning on Low Power Mode, and it writes each change to a journal first so it can undo them after a crash or when the lid opens. Battery and heat rules are on by default and can be changed in Settings; they run only while the app is open. Optional extras include joining your iPhone's hotspot when Wi-Fi drops, sending input to a marked tmux pane after 90 seconds offline, and offering to relaunch browsers so hidden windows run at full speed. The page warns that built-in microphones cut out with the lid closed.…
Highlights
- Timed awake sessions from the menu bar
- Keeps the Mac running with the lid closed
- Journal lets changes be undone after a crash
- Optional hotspot and tmux extras
Ratings & Reviews
No ratings yet
Be the first to rate Insomnia.
People also visit

lidawake by zaYco
Keeps your Mac awake with the lid closed — and gives sleep back
Insomnia FAQ
What does Insomnia do?
It keeps a Mac awake until a time you choose, including with the lid closed, so that agents such as Claude Code and Codex can keep working.
How do I start a session?
Click the eye in the menu bar, type a time such as 8 for eight hours, and press Enter. The countdown runs until it reaches zero.
How do I end a session early?
Hold the × for about 0.6 seconds. The short hold is there so a stray click cannot end the session.
What happens to my apps with the lid closed?
The page's log shows the display and keyboard light turning off, messaging apps being frozen, audio muted, Low Power Mode turned on, and Docker Desktop frozen only if you opt in.
Will it drain my battery?
The defaults turn on Low Power Mode at 40 percent battery and end the session at 10 percent. You can change both in Settings.
What if the Mac crashes during a session?
Every change is written to a journal on disk before it happens. A launchd agent undoes the listed changes after the session's end time.
Does the built-in microphone work with the lid closed?
The page says built-in mics cut out with the lid closed, so use AirPods or an external microphone.
What are the best Insomnia alternatives?
Popular alternatives to Insomnia include Capsomnia, Keepresso and Adrafinil. See all Insomnia alternatives



