An Amphetamine alternative for closed-lid use on Apple Silicon.

By Matyas Rathonyi. Updated September 29, 2026. Guides

Amphetamine is still one of the best free keep-awake apps for Mac, and it can keep a MacBook awake with the lid closed.

Power ProtectA separate install on Apple Silicon laptops
5.3.2Latest listed version, November 10, 2023
$9.99 onceClamshell, no admin rights
From $9.90LidRun Pro, agent auto-detection

Clamshell for Mac keeps the Mac awake with the lid closed while armed. No sudo, no monitor. Free for 7 days, then $9.99 once.

Download free trial
A power trace switching from AC to battery and back. At each change the setting is re-applied, and the closed MacBook stays awake throughout. AC Battery AC
Plug in, unplug, still awake.On Apple Silicon laptops, connecting or disconnecting power is where closed-display sessions can misbehave. Amphetamine handles it with Power Protect, a separate install. Clamshell re-applies itself on every plug and unplug.

On Apple Silicon laptops, though, reliable closed-display use across plugging in and unplugging involves Power Protect, a separate install, and the latest version on its App Store listing is 5.3.2 from November 10, 2023. If you only need the lid-closed part, the main alternatives are Clamshell for Mac, a menu bar app that needs no admin rights ($9.99 once after a 7-day trial), LidRun Pro (agent auto-detection, from $9.90 once), and the free pmset disablesleep command. KeepingYouAwake is not one: its README says it does not work with the lid closed.

Quick answer

Stay with Amphetamine

If you want a free, general keep-awake toolkit with timers and triggers, and you are fine installing Power Protect on an Apple Silicon laptop.

Clamshell

If you only want the lid-closed part: no admin rights, no helper, restores normal lid sleep on lid open for an Option-close session. 7-day trial, then $9.99 once.

LidRun Pro

If you want the app to detect Claude Code, Cursor, Docker, or Ollama and stop when the job is done. From $9.90 once.

pmset disablesleep

If you want free and built in, and will remember to switch it off.

Not KeepingYouAwake or caffeinate for a closed lid. Both only prevent sleep while the lid is open.

What Amphetamine does well

Amphetamine is free, has no in-app purchases, and has been on the Mac App Store for years. Its feature list is broad:

If you want one app that handles every keep-awake situation, not only the lid, nothing on this page matches that range for free.

Where closed-lid use on Apple Silicon gets harder

Amphetamine's version notes describe the extra step. Version 5.3 added a Closed-Display Mode script for an Apple Silicon issue where connecting or disconnecting a laptop from power could cause unexpected session behavior. That feature is now called Power Protect. The listing says it is only needed and available on Apple Silicon Mac laptops, and that it is not included in Amphetamine itself: it needs a separate download and installation of a script and a configuration file.

The same listing, checked September 29, 2026, shows version 5.3.2, released November 10, 2023, as the latest. That does not mean it is broken, but it has had no listed update in close to three years.

None of this makes Amphetamine a bad choice. It is the reason people who only care about closing the lid on an M-series MacBook look for something narrower.

The alternatives compared

ToolLid closedAdmin or add-onBest atPrice
Amphetamine Yes, Closed-Display Mode App: none. On Apple Silicon laptops, an optional Power Protect install (asks for Touch ID or an admin password) keeps the mode working across power changes General keep-awake sessions and triggers Free
LidRun Yes, with Pro Helper approved once in Login Items, or an admin password each time Closed-Lid Mode flips Detecting agent and dev workloads and stopping when they finish Free lid-open tier; Pro from $9.90 once
KeepingYouAwake No, per its README None A simple, open-source, lid-open keep-awake toggle Free, MIT licensed
pmset disablesleep Yes sudo each time A free, built-in, system-wide override Free

Clamshell for Mac: the lid-closed part only

Clamshell is a small menu bar app for Apple Silicon MacBooks on macOS 14 or later. Arm it, close the lid, and the Mac keeps running with the built-in display black. It uses the unprivileged IOKit clamshell sleep-state control plus an idle-sleep assertion while armed, not pmset disablesleep, so it needs no sudo, admin rights, kernel extension, driver, or privileged helper. There is nothing to install beyond the app.

Where Amphetamine is better: it is free, it has far more triggers, and it handles lid-open keep-awake too. Clamshell pauses while an external display is connected, so it is not a desk-with-monitor tool; Apple's own setup covers that. It is sold from clamshell.dev and on Setapp, not on the Mac App Store. An unrelated App Store app shares the name.

Only need the lid part? Try Clamshell free for 7 days, no payment details. Then $9.99 once for one Mac, with a 14-day money-back guarantee.

Download free trial

LidRun: if you want agent auto-detection

LidRun is a menu bar utility aimed at AI and developer jobs. Its free tier covers lid-open sessions with timers, charging-only mode, low-battery auto stop, and a lidrun command-line wrapper. Closed-Lid Mode is part of Pro, together with Auto Mode, which its pricing page says detects Claude Code, Cursor, Docker, and Ollama and keeps the Mac awake while they run. Pro is a one-time purchase: $9.90 for one Mac at its launch price, $14.90 for two, $19.90 for three, and $59.90 for ten.

Its FAQ says Closed-Lid Mode calls pmset disablesleep. LidRun's helper, approved once as a Login Items toggle, avoids an administrator password prompt each time the setting flips, and restores normal sleep if the app stops checking in. It runs on macOS 13 or later on Apple Silicon and Intel. For AI agent runs where you want the Mac to release itself when the agent finishes, LidRun does something neither Amphetamine nor Clamshell does. See the three-way comparison for the full table.

KeepingYouAwake: great, but not for a closed lid

KeepingYouAwake is a free, open-source menu bar app under the MIT license, installable from GitHub releases or with brew install --cask keepingyouawake. Its README answers the lid question directly: no. Because of macOS limitations and thermal considerations, it only prevents sleep on desktop Macs and on laptops with an open lid. It is a good lid-open replacement for Amphetamine's basic session toggle, not a closed-lid one.

pmset disablesleep: the free built-in override

If you do not want another app, sudo pmset -a disablesleep 1 keeps the Mac awake with the lid closed and sudo pmset -a disablesleep 0 restores it. It is free and built into macOS, but it is system-wide, needs sudo, has no timer or menu bar indicator, and stays on until you undo it. The pmset guide covers checks and the undo. For open-lid jobs, caffeinate is the better built-in tool; it does not work once the lid closes, as the caffeinate guide explains.

How to choose

For every method in one place, including Apple's external display setup, read how to keep a MacBook awake with the lid closed.

Frequently asked questions

Does Amphetamine work with the lid closed on Apple Silicon?

Yes, through Closed-Display Mode. Closed-Display Mode is built in. On Apple Silicon Mac laptops, the developer offers Power Protect, a separate install, so the mode keeps working when you plug in or unplug.

When was Amphetamine last updated?

On September 29, 2026, the Amphetamine App Store listing showed version 5.3.2, released November 10, 2023, as the latest version.

Is there a free Amphetamine alternative for a closed lid?

The built-in sudo pmset -a disablesleep 1 command is free and works with the lid closed, but it is system-wide and stays on until you undo it. LidRun's free tier and KeepingYouAwake do not cover a closed lid.

Does KeepingYouAwake work with the lid closed?

No. Its README says it only prevents sleep on desktop Macs and on portable Macs with an open lid, citing macOS limitations and thermal considerations.

Does Clamshell need admin rights or a helper?

No. Clamshell for Mac is a normal menu bar app with no sudo, admin rights, kernel extension, driver, or privileged helper. It does not use pmset disablesleep.

Which Amphetamine alternative detects AI coding agents?

LidRun Pro. Its pricing page says Auto Mode detects Claude Code, Cursor, Docker, and Ollama. Clamshell does not detect agents; you can arm it from scripts with its URL scheme or Shortcuts actions.

Related guides

Sources checked September 29, 2026: the Amphetamine App Store listing and version history, the KeepingYouAwake README, LidRun pricing, the LidRun FAQ, the LidRun helper guide, LidRun download page, and the macOS pmset(1) manual. Clamshell is the publisher of this guide. Product names belong to their respective owners.