Skip to content
I

Insomnia

A macOS menu bar app that safely keeps your MacBook awake

by krishhggFree

Domain Rating by Ahrefs2

#1259in AI
0In stores

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 caffeinat…

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

C

Capsomnia

A tiny macOS app that turns Caps Lock into a physical keep-awake switch

AI
Launch
L

lidawake by zaYco

Keeps your Mac awake with the lid closed — and gives sleep back

Developer Tools
Launch
K

KeepingYouAwake

Prevents your Mac from going to sleep

Utilities
Launch
K

Keepresso

Keep your Mac awake on your terms

AI
Launch
C

Caffeine

Utility that prevents the system from going to sleep

Developer Tools
Launch
A

Adrafinil

Keep your Mac awake only while AI coding agents are working

AI
Launch

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

Developer Stuff

Badges