Close the lid.
Your agents keep working.

CoffeeForMac keeps your Mac awake with the lid closed, so Claude Code, Codex and Cursor can finish long runs while you’re away.

Download for Mac

Free for 14 days, then $4.99 once per Mac. For macOS 13 or later, on Apple Silicon and Intel.

tests passed
0
tests passed
files changed
0
files changed
pull requests
0
pull requests

It’s 11:04 PM. The cup on the lid glows while Keep Awake is on.

Scroll to close the lid.

What happens overnight.

  1. Lid closed.

    Mac plugged in. Keep Awake on.

  2. Agents working.

    Claude Code. Codex. Cursor.

  3. Ready for review.

    Three pull requests. One fresh coffee.

It knows when to stop.

Low battery. Too much heat. Keep Awake switches off automatically.

Safety details
  • Battery and heat checked every 10 seconds.
  • Normal sleep returns on quit, restart, or within a second of a crash.
  • Lid closed? Your Mac sleeps at the limit. External display connected? Sleep is never forced.

Try the limits

Keep Awake on

Battery 72%, limit 20%

Heat

Battery cutoff

Plugged in. Lid closed. Still awake.

Everything it does.

Keep Awake
Lid closed, too.
Set a timer
15 min to 8 hours.
Keyboard shortcut
⌃⌥⌘C. Make it yours.
On-screen confirmation
See every switch.
Keep the screen on
When you need it.
Safety limits
Battery and heat.
Safety alerts
Know why it stopped.
Launch at login
Ready when you are.
Activity log
Every action, timestamped.
Help & Support
Right in the app.

Set up in a minute.

  1. 1

    Download and open.

    Find the cup in your menu bar.

  2. 2

    Enable lid-closed mode.

    Approve three sleep commands with your admin password, once.

  3. 3

    Close the lid.

    Choose Keep Awake from the cup menu or press ⌃⌥⌘C.

macOS 13+ · Apple Silicon and Intel.

Signed, private and easy to remove.

Signed updates

Verified updates arrive in the background. No restarts while Keep Awake is on.

Private by default

Optional, anonymous analytics and crash reports. No names, files or keystrokes. Disable in Settings.

One-click uninstall

Remove everything, including the admin helper, from Settings. Normal sleep returns.

Questions.

What does it cost?

It’s free to try for 14 days. After that it’s $4.99 once per Mac: a license for that Mac, for good. There’s no subscription, and you pay on Stripe’s secure page. All sales are final, so the trial is there to make sure it works for you first.

Can I use one license on several Macs?

No: each license is for one Mac, and stays with it for good, even if you reinstall CoffeeForMac or macOS. For another Mac, buy a license on that Mac with the same email address. Replacing your Mac? Sign in on the new one and move your license there: the first move any time, then once every 90 days.

Which Macs does it work on?

Any Mac with macOS 13 Ventura or later, on Apple Silicon or Intel.

How do I install it?

Open the downloaded file, drag CoffeeForMac into your Applications folder, and open it. The setup assistant takes it from there.

macOS asks whether to open it.

That’s macOS checking an app downloaded from the internet, once. CoffeeForMac is signed and notarized by Apple, so click Open.

Why does it ask for my password?

Keeping a Mac awake with the lid closed needs an administrator setting. CoffeeForMac asks once, during setup, and allows exactly three commands: switch lid-closed sleep off, switch it back on, and sleep the Mac now.

Is it safe to leave my MacBook in a bag?

CoffeeForMac switches off at your battery limit, or when macOS reports the Mac is getting too hot, and with the lid closed the Mac then sleeps right away. For long runs, a desk with the charger connected is still the best place.

Does it work with an external display?

Yes. With a display connected, it keeps the Mac awake as usual and never forces it to sleep, since you’re probably using it.

What if CoffeeForMac crashes?

Normal sleep comes back within a second, and again every time the Mac starts up. Your Mac is never left unable to sleep.

Does it send my data anywhere?

Anonymous usage statistics and crash reports, and only while you leave them on. They use a random ID made on your Mac and never include your name, your files, or anything you type. Crash reports are handled by Sentry, and usage statistics are also kept in Google Analytics, which never gets your Mac’s IP address. License checks are separate: they send a scrambled ID for your Mac and, once you sign in, your email address. This website counts visits with Google Analytics.

How do I uninstall it?

In CoffeeForMac’s Settings, open Setup and click Uninstall CoffeeForMac. It restores normal sleep, removes everything it added, and moves the app to the Trash.

Talk to us.

Questions, bug reports and ideas all welcome. A real person reads every message and replies by email.

Or email support@coffeeformac.com. See the Privacy Policy.