EMB / ege-mert-balcik

Keep-awake apps for Mac compared

By Ege Mert Balçık · Last updated 22 October 2026 · Disclosure: I make Ledge, one of the tools compared

Short answer: for keeping a Mac awake with the lid open, any of these works, and the free ones are excellent: KeepingYouAwake (open source), Amphetamine (most triggers), or the built-in caffeinate. The real difference is the closed lid: KeepingYouAwake, Lungo, Theine and caffeinate say they cannot do it; Amphetamine can (with a helper script on Apple silicon), Caffeinated lists an option for it, and Ledge (mine, macOS 26) does it with a root helper on a self-expiring lease.

The comparison

ToolPriceSourcemacOSLid closed, no monitorTimers and triggersLast update
caffeinateBuilt inAppleAnyNoTimeout (-t), while a process runs (-w)Ships with macOS
AmphetamineFreeClosed10.13+Yes; Apple silicon sessions need a scriptApps, downloads, displays, USB/Bluetooth devices, battery, power, Wi-Fi, IP, VPN5.3.2, Nov 2023
KeepingYouAwakeFreeMIT10.13+No (README says so)Durations, battery cut-off, external display1.6.8, Sep 2025
LungoUS$4Closed26 (2.7.2 for 15)No (FAQ says so)Durations; Shortcuts, URL scheme, CLI2.8.3, Sep 2026
TheineUS$8.99Closed15.6+No (listing says so)Durations; Shortcuts4.3, Oct 2026
CaffeinatedUS$3.99Closed15+Listed option (3.2.0); requirements not statedTimer; display-sleep and charger options3.3.0, Oct 2026
CaffeineFreeMITnot statedNot statedDefault duration1.1.4, Sep 2025
Raycast CoffeeFree with RaycastMITRaycast's ownNo (wraps caffeinate)For, until, while an app runs, schedulesOct 2026
Ledge Keep AwakeFreeGPL-3.026+Yes; root helper, installed only when enabledUntil a time you set1.2.2, Oct 2026

Why the lid is the hard part

Most keep-awake apps work by asking macOS not to sleep while idle, the same thing caffeinate does. That request is honoured while the lid is open, but closing the lid of a MacBook with no external display puts it to sleep anyway. Its manual is explicit that even caffeinate -s "is valid only when system is running on AC power", and nothing in it covers the lid. KeepingYouAwake's README puts it plainly: it works only on "portable Macs with an open lid".

Getting past that needs root, which is why Amphetamine asks you to install a script for Closed-Display Mode on Apple silicon (its optional Power Protect add-on writes a sudoers rule), and why Ledge installs a helper only when you turn its lid-closed stop on. The full how-to, including the built-in closed-display mode with a monitor, is in how to keep a MacBook awake with the lid closed.

Which to choose

Two notch apps also have keep-awake features: Droppy lists a "lid-closed High Alert with battery safety" in its changelog, and Atoll's alpha builds add a keep-awake button based on a power assertion.

FAQ

What is the best free app to keep a Mac awake?

KeepingYouAwake (free, MIT) for simple use with the lid open, and Amphetamine (free) if you want triggers such as an app running or a download in progress.

Which keep-awake apps work with the MacBook lid closed?

Amphetamine (Closed-Display Mode; on Apple silicon it asks you to install a script), Caffeinated (lists a lid-closed option) and Ledge (lid-closed stop with a root helper, macOS 26). KeepingYouAwake, Lungo, Theine and caffeinate do not.

Is Amphetamine still maintained?

Its latest App Store version is 5.3.2 from November 2023. It still works and is still free, but it has not been updated since.

Does caffeinate work with the lid closed?

No. caffeinate prevents idle sleep, and its -s option applies only on AC power; closing the lid of a MacBook without an external display still puts it to sleep.

Related

Sources