Amphetamine vs Glowmoth: Mac Keep-Awake Apps Compared
Amphetamine for Mac vs Glowmoth: triggers, schedule rules, closed-lid mode, scripting, safety limits and price, and where each keep-awake app wins.
ComparisonUpdated 10 min read
On this page
Amphetamine is the free keep-awake app for Mac. Pick it if you want more trigger types (USB, IP address, DNS, idle time), cursor movement, custom icons and sounds, or AppleScript. Pick Glowmoth if you want time-of-day rules, awareness of coding agents, Shortcuts actions and a command-line tool, a heat limit, and closed-lid mode built into the app instead of added through a separate helper and script.
If you only need to stop your Mac sleeping now and then, Amphetamine costs nothing and does the job. Glowmoth makes sense if its specific features matter to you, or if you'd use other MacSuite apps too.
We make Glowmoth, so weigh our view accordingly. We've tried to credit Amphetamine wherever it is the better choice. Competitor details below are as of November 2026.
What is Amphetamine for Mac, and is it still updated?
Amphetamine is a free keep-awake app on the Mac App Store, with no in-app purchases. It has 15 trigger types, including display, USB, Bluetooth, Wi-Fi, IP address, VPN, DNS, audio, volume, CPU and idle time. It also offers sessions that last while an app runs or a download finishes, a Drive Alive feature, cursor movement, a closed-display mode, custom icons and sounds, AppleScript support and hotkeys.
Its most recent update in our notes is from November 2023. That means it hasn't had an update since macOS 15 Sequoia or macOS 26 Tahoe came out. An app can keep working fine without updates. Still, test it on your macOS version before you rely on it for an overnight job.
Amphetamine's closed-display mode gets its fail-safe from a companion app, Amphetamine Enhancer. Enhancer's official repository looks inactive, and its only release is 1.0. The closed-lid section below covers this.
Amphetamine vs Glowmoth at a glance
"Not in our notes" means our notes on Amphetamine don't mention the feature. If one of those rows matters to you, check the App Store listing.
| Amphetamine | Glowmoth | |
|---|---|---|
| Price (as of November 2026) | Free, no in-app purchases | Part of MacSuite: $349 one-time, one license for up to 3 Macs; 7-day free trial |
| Where you get it | Mac App Store | Direct download from macsuite.app (no Mac App Store version) |
| Requires | Not in our notes | macOS 14 Sonoma or later |
| Latest update | November 2023 (per our notes) | Version 1.0.0, as of November 2026 |
| Session types | While an app runs, while a download finishes | For a time, until a clock time, indefinitely, while an app or process runs, while a folder is busy |
| Automatic triggers | 15 trigger types | 14 rule conditions, combined with All or Any |
| USB, IP address, DNS, idle-time triggers | Yes | No |
| Time-of-day schedule condition | Not in our notes | Yes ("During Hours", overnight windows allowed) |
| Coding-agent awareness | Not in our notes | Yes, 11 command-line agents (off by default) |
| Cursor movement | Yes | No (by design) |
| Closed lid | Closed-display mode; fail-safe via the separate Amphetamine Enhancer | Built-in helper, laptops only, active only while Glowmoth is keeping the Mac awake |
| Heat limit | Not in our notes | Yes, on by default |
| Scripting | AppleScript; no Shortcuts actions | Shortcuts (6 actions), glowmoth:// URL scheme, glowmoth CLI |
| Hotkeys | Yes | Yes (none set by default) |
| "What else is keeping my Mac awake" view | Not in our notes | Yes |
| Activity history | Not in our notes | 7-day chart and event history |
| Drive keep-alive | Drive Alive | "Keep drives from sleeping" |
| Custom icons and sounds | Yes | No |
| Desktop widget | Not in our notes | Yes, small size |
Where Amphetamine is stronger
It's free. For a lot of people that settles it. If you need sessions that last while an app runs or a download finishes, or a few automatic triggers, Amphetamine covers that at no cost.
More trigger types. Amphetamine can react to USB devices, your IP address, DNS servers and user idle time. Glowmoth has none of these as rule conditions. If your setup depends on "stay awake when this USB device is attached" or "stay awake on this network's DNS," Amphetamine can do it and Glowmoth can't.
Cursor movement. Amphetamine can move the cursor. Glowmoth deliberately doesn't move the mouse or fake key presses, and it has no "keep me active" option for Teams or Slack. It only stops the Mac from idle-sleeping.
Personalization. Amphetamine offers custom menu bar icons and sounds. Glowmoth has one moth-and-lamp icon with four states, no sounds on start or stop, and no configurable sounds.
AppleScript. If you already script your Mac with AppleScript, Amphetamine fits in directly. Glowmoth has no AppleScript dictionary. You control it through Shortcuts, its URL scheme or its command-line tool instead.
Where Glowmoth is stronger
Schedule rules
A Glowmoth rule can include During Hours, with day toggles and a From/To time, including windows that run past midnight. The Office Hours preset starts you with weekdays 9:00–18:00. With two or more conditions, a rule can require All conditions are true or Any condition is true. The Docked at Desk preset, for example, means "on AC power and an external display connected." See automatic rules in Glowmoth for all 14 conditions.
Coding agents
With Stay awake while coding agents work turned on (it's off by default), Glowmoth detects Claude Code, Codex, Gemini CLI, Aider, Copilot CLI, Cursor Agent, OpenCode, Amp, Goose, Qwen Code and Crush from their process activity. It holds the Mac awake while an agent works, then lets it sleep once the agent has been idle for the Allow sleep after time: 2, 5 (default) or 15 minutes. Desktop app versions of these tools, such as Claude.app, aren't counted. Details are in Stay awake while AI coding agents work.
Shortcuts, URL scheme and command line
Glowmoth adds six Shortcuts actions, including Start Keeping Awake, Get Keep-Awake Status and Set Automatic Mode. They run without opening a window. Glowmoth also adds Siri phrases such as "Keep my Mac awake with Glowmoth."
For scripts and build jobs, install the glowmoth tool from Settings ▸ Advanced ▸ Command Line ▸ Install. It goes into ~/.local/bin, so add that folder to your shell's PATH if needed. Then:
glowmoth run -- makeThis keeps the Mac awake while make runs and returns make's exit code. It still works if the Glowmoth app isn't running. Other commands include glowmoth for 2h, glowmoth until 18:00, glowmoth status --json, and leases with a heartbeat for long-running tools. See the glowmoth command-line tool.
Battery and heat limits
Glowmoth pauses when macOS reports the Mac running hot for 60 seconds, and resumes after two minutes at a normal temperature. On laptops it also pauses below a battery floor while on battery (20% by default, adjustable from 5% to 50%). Both limits are on by default in Settings ▸ Safety. When you need to, Resume Anyway (30 min) in the panel overrides a pause.
Seeing why the Mac is awake
The panel's Held By list names each reason Glowmoth is holding the Mac, such as "Xcode is running" or "Downloads folder is busy." Under Show More, the Also Keeping This Mac Awake list shows other apps holding the Mac awake, with a purpose like "playing video" or "caffeinate." It also flags common surprises, such as a scheduled pmset sleep or an automatic log-out.
Activity history
Settings ▸ Activity shows a 7-day chart of time kept awake, broken down by reason, plus a history of starts, ends and pauses.
Closed lid: Amphetamine Enhancer vs Glowmoth's helper
Both apps can keep a MacBook awake with the lid closed. They get there differently.
Amphetamine and Amphetamine Enhancer
Amphetamine has a closed-display mode. Its fail-safe comes from Amphetamine Enhancer, a free, open-source helper app you download as a DMG from GitHub. With Enhancer installed, if Amphetamine isn't running, the Mac goes back to sleeping when the lid closes. Enhancer also lets Amphetamine use all running processes in triggers and app-based sessions. Amphetamine itself is sandboxed; Enhancer isn't, which is why it can do things Amphetamine can't.
As of November 2026, a few caveats apply:
- Enhancer's README says it needs Amphetamine 5.0 or later, installed in
/Applications. - Its official repository looks inactive, and the only release listed is 1.0.
- On Apple silicon, Amphetamine's own README says closed-display mode may fail after you plug in or unplug power. The official fix is Power Protect, a separate manual install made of a script plus a sudoers file.
- An unofficial fork says the original fail-safe read Amphetamine's settings directly, which "macOS no longer allows," and offers its own version. It isn't from Amphetamine's developer.
Glowmoth
Closed-lid mode is built into Glowmoth, in Settings ▸ Safety ▸ Closed Lid. It's only available on Macs with a battery.
- Turn on Stay awake with the lid closed.
- Glowmoth installs a small helper and opens Login Items in System Settings.
- Allow the Glowmoth helper there.
While Glowmoth is keeping the Mac awake (for any reason, and not paused), the helper turns off system sleep with pmset -a disablesleep 1. It turns sleep back on as soon as that ends, so between sessions your Mac sleeps on lid close as usual. You don't need an external display or a power adapter. If sleep was already turned off with pmset by someone else, the helper leaves that setting alone.
While closed-lid mode is on, the battery floor and heat limit are forced on. Sleep returns right away when macOS reports the Mac running hot or the battery drops below the floor. If Glowmoth quits or crashes, normal sleep comes back immediately. If Glowmoth stops responding, normal sleep returns within 30 seconds.
There are limits. Glowmoth has no closed-lid mode on desktops, and no "always on" closed-lid option outside a keep-awake session. To remove the helper, turn the switch off and click Remove Helper. Full details are in Keep a MacBook awake with the lid closed.
If your MacBook is on power with an external display, keyboard and mouse connected, macOS's own clamshell mode may be all you need. See Clamshell Mode on Mac.
Price and licensing
As of November 2026:
- Amphetamine: free on the Mac App Store, no in-app purchases.
- Glowmoth: not sold on its own. It comes with the MacSuite bundle, a $349 one-time purchase with no subscription. One license key activates up to 3 Macs and unlocks every MacSuite app on each of them, including Pixfinch (screenshots), Screen Bolt (screen recording), Gigabroom (disk cleaning) and Mailloft (email). Each app has its own 7-day free trial, and there's a 14-day refund window. See MacSuite pricing.
If keep-awake is the only thing you'd use, $349 is hard to justify against a free app. The bundle makes sense if you'd use several MacSuite apps.
Switching from Amphetamine to Glowmoth
- Triggers become rules. Rebuild them in Settings ▸ Automation ▸ Rules. Glowmoth has conditions for Wi-Fi networks, VPN, audio playing, mounted volumes, CPU load, Bluetooth devices and external displays, so many common triggers have a counterpart. They may not behave exactly like Amphetamine's. USB, IP, DNS and idle-time triggers have no equivalent.
- "While a download" becomes a watched folder. Use Add Folder… in Settings ▸ Automation ▸ Folders. For a one-off, right-click the menu bar icon and choose Keep Awake While ▸ This Download Finishes. Glowmoth recognizes partial downloads from Safari, Chrome, Firefox and Opera, and waits until the folder has been quiet for 2 minutes.
- Drive Alive becomes "Keep drives from sleeping" in Settings ▸ Advanced ▸ Drives. It writes a tiny hidden file to each chosen drive every few minutes (every 4 by default).
- Hotkeys aren't set by default. Record them in Settings ▸ General ▸ Keyboard Shortcuts.
- Nothing imports automatically. Glowmoth's Import… only reads Glowmoth settings files, so set things up by hand.
- You can run both while you switch. Either app can keep the Mac awake. If it stays up when you don't expect it to, check Also Keeping This Mac Awake under Show More in Glowmoth's panel.
Which should you use?
- Use Amphetamine if you want a free app, need USB, IP, DNS or idle-time triggers, want cursor movement or custom icons and sounds, or script your Mac with AppleScript.
- Use Glowmoth if you want schedule-based rules, run coding agents for long stretches, automate with Shortcuts or a command line, want a heat limit and battery floor, or want closed-lid mode without a separate helper app or a manual script. It needs macOS 14 Sonoma or later.
- Use neither if you only need an occasional one-off. The built-in
caffeinatecommand does that from Terminal. See the caffeinate command on Mac.
To compare more options, see Amphetamine alternatives and the best keep-awake apps for Mac.
Glowmoth is part of MacSuite; you can try Glowmoth free for 7 days.
FAQ
Does Glowmoth keep me active in Teams or Slack? No. Glowmoth doesn't move the mouse or simulate key presses, and it has no "keep me active" option. It only prevents idle sleep.
Can Glowmoth stop me from putting the Mac to sleep manually? Not in its normal mode. It only prevents idle sleep, so Apple menu ▸ Sleep and the power button work as usual. Closed-lid mode is different because it turns off sleep system-wide during a session, so this answer covers the normal mode only.
Can I buy Glowmoth without the rest of MacSuite? No. As of November 2026, Glowmoth is only sold as part of the MacSuite bundle.
Does Glowmoth keep the display on? Your own sessions keep the display on by default. Turn off Keep Display On in the panel to let the display sleep while the Mac stays awake. Automatic reasons such as apps, folders and agents never keep the display on. The exceptions are rules with their own Keep the display on switch, and CLI, URL or Shortcuts starts that ask for it.