There is no single best keep-awake tool. The right choice depends on whether the lid will close, whether you already use an external display, and how much system-wide setup you are comfortable managing. Here is the practical comparison for Apple Silicon MacBooks.
| Method | Works lid closed | Extra setup | Scope | Price |
|---|---|---|---|---|
| Apple's setup | Yes | External display, keyboard, and mouse | Supported closed-display workflow | Free if you own the hardware |
caffeinate |
No | Terminal command | Idle sleep assertion tied to a process or timer | Free |
pmset disablesleep |
Yes | Administrator command and manual restoration | Undocumented, persistent, system-wide setting | Free |
| Amphetamine | Yes, with Closed-Display Mode | Separate Power Protect setup is offered for Apple Silicon power transitions | General keep-awake sessions and triggers | Free |
| Clamshell | Yes | Install the app and arm it | Lid-close behavior while armed, with automatic restoration | 7-day trial, then $9.99 once |
Choose Apple's route if the display is already there
Apple's documented path is the least surprising choice at a desk. Connect and allow an external display, keyboard, and mouse, then close the MacBook. It is supported, needs no third-party software, and gives you a screen to work on. It does not solve travel, headless work, or an unattended Mac with no display attached.
Choose caffeinate if the lid stays open
caffeinate is excellent for a build, download, or script that must outlive the idle timer. It can follow a process or expire after a fixed time. It does not change the policy triggered by the physical lid, so it is the wrong tool if the MacBook will actually close.
Choose pmset only if you will manage the global switch
sudo pmset -a disablesleep 1 can keep a Mac awake after lid close, but the setting is undocumented, system-wide, and not tied to one task. It needs administrator access and stays active until you run the inverse command. If you choose it, check SleepDisabled and restore it to 0 before putting the Mac in a bag. The pmset guide has the exact checks.
Choose Amphetamine for broad keep-awake automation
Amphetamine is a mature, free utility with timers, triggers, and a Closed-Display Mode. Its current App Store notes describe a separate Power Protect download for Apple Silicon Macs to handle charger connections and disconnections reliably. It is the strongest free choice if you also want a general keep-awake toolkit and do not mind configuring the closed-display path.
Choose Clamshell for one narrow lid-close workflow
Clamshell is deliberately smaller. Arm it, close the lid, and open the lid to restore normal behavior. On supported MacBooks you can hold Option while closing instead of using a menu. It uses no sudo, driver, kernel extension, or privileged helper, and it reconciles the lid state when power changes. You pay for a focused workflow rather than a general automation toolbox.
Try the narrow option. Clamshell is free for 7 days with no payment details, then $9.99 once for one Mac.
Download free trialThe short answer
- Desk with a monitor: use Apple's supported setup.
- Open-lid terminal job: use
caffeinate. - Free closed-lid automation: start with Amphetamine.
- One focused gesture with no admin setup: try Clamshell.
- Terminal-only global override:
pmsetworks, but own the restoration risk.
Sources checked August 5, 2026: Apple's closed-lid accessory guidance, the Amphetamine App Store listing and version notes, and the macOS caffeinate(8) and pmset(1) manuals. Clamshell is the publisher of this comparison. Product names belong to their respective owners.