The Best App to Keep Your Mac Awake, Free and Paid
Amphetamine is the best free app to keep a Mac awake: it runs from the menu bar, has triggers for apps, Wi-Fi and power, and can keep a MacBook awake with the lid closed. KeepingYouAwake and Caffeine are the one-click open-source picks, Lungo is the paid one, and the built-in caffeinate command needs no install.
Free tool, runs in this tab
Keep your screen awake and see when Slack sets you away
Press Start. This tab keeps the screen on while it stays open, and shows the minute Slack, Teams and Zoom would set you away if nothing touches the keyboard or mouse.
This tab cannot move your pointer or press keys, so on its own it cannot keep Slack or Teams active. It reads the same idle time the Slack desktop app, Teams and Zoom read. To test a jiggler, start, then take your hands off for 6 minutes: if Your computer stays green, the jiggler keeps them active.
- Your computerNot measured yetPress Start and allow idle detection.
- Slack desktop app-Away after 10 min, any input.
- Microsoft Teams-Away after about 5 min, any input.
- Zoom-Away after 15 min by default, any input.
On this page
- 1. Keep-awake apps for Mac compared
- 2. Amphetamine: the best free keep-awake app
- 3. KeepingYouAwake: one click, open source
- 4. Caffeine: the classic, now open source
- 5. Lungo: the paid pick
- 6. KeepAwake: for a closed lid
- 7. No app at all: caffeinate
- 8. Does a keep-awake app keep Slack or Teams active?
- 9. How to pick
- 10. FAQ
The best app to keep a Mac awake is Amphetamine. It is free on the Mac App Store, has no ads or in-app purchases, and can keep your Mac awake for a set time, until a download ends, while an app runs, or whenever you are on a certain Wi-Fi network. It can also keep a MacBook awake with the lid closed. If you want one click and nothing else, use KeepingYouAwake or Caffeine, both free and open source. How Caffeine and Amphetamine differ, tested side by side, is in Amphetamine vs Caffeine, and where to get the real Caffeine is in Caffeine app for Mac. If you would rather install nothing, macOS already has the caffeinate command. None of these apps keep Slack active. Slack sets you away after 10 minutes with no keyboard or mouse input, and a Mac that is awake but untouched sends Slack no input. Slack Green keeps that dot green from a server even while the Mac sleeps, free for 7 days with no card. More on that split below.
Keep-awake apps for Mac compared
| App | Price | Works with the lid closed | Timers and triggers | Best for |
|---|---|---|---|---|
| Amphetamine | Free, Mac App Store | Yes | Apps, Wi-Fi, power, displays, USB devices, CPU load, idle time | Most people |
| KeepingYouAwake | Free, open source | No | Set durations, stop at low battery | One click, Homebrew install |
| Caffeine | Free, open source | No | Timeout, start at login | The original cup icon |
| Lungo | $4, Mac App Store | No | Durations, keyboard shortcut, Shortcuts, scripts | Shortcuts users |
| KeepAwake | Free | Yes, with a virtual display | App-aware triggers, mouse movement | Long jobs with the lid closed |
caffeinate | Built into macOS | No | Flags and a timer in seconds | Terminal users |
Prices and features come from each app's App Store listing, website or README, read on 24 September.
Amphetamine: the best free keep-awake app
Amphetamine, by William Gustafson, is the app most Mac users end up with. You start a session from the menu bar: forever, for a set time, until a time of day, while a file downloads, or while a chosen app runs. Its triggers start a session on their own when a condition is true, such as an external display plugged in, a certain Wi-Fi network, the power adapter connected, a VPN connection, or headphones in use.
During a session you choose whether to allow display sleep, the screen saver, screen lock and system sleep with the lid closed. It can also move the mouse cursor on a schedule. It is 100% free with no ads, tracking or pro version, and needs macOS 10.11 or later.
To see what a session does, run pmset -g assertions in Terminal. On our MacBook Pro with Amphetamine 5.3.2 and a session that allows neither display nor system sleep, on 7 October 2026, it listed two holds:
pid 807(Amphetamine): [0x00093d7b000199fc] 05:19:59 PreventUserIdleSystemSleep named: "Amphetamine (Single-Use - System)"
pid 807(Amphetamine): [0x00093d7b000599fd] 05:19:59 PreventUserIdleDisplaySleep named: "Amphetamine (Single-Use - Display)"
The two holds are separate, which is why Amphetamine can keep the Mac awake and still let the screen turn off. The 05:19:59 is how long the session had been running.
Pick it if you want one app that covers every case, including the lid closed. If you already use it and want out, Amphetamine alternatives for Mac matches each reason for switching to an app.
Every app on this list keeps the Mac awake, but Slack still sets you away 10 minutes after your last keyboard or mouse input. A server-side tool keeps your Slack dot green with no input, even while the laptop sleeps or the lid is closed.
KeepingYouAwake: one click, open source
KeepingYouAwake, by Marcel Dierkes, puts a cup in the menu bar. Click it and your Mac stays awake; click again and it sleeps normally. You can pick a preset duration, and it can turn itself off when the battery runs low. It is a small wrapper around Apple's own caffeinate tool, so it does nothing macOS cannot already do. It works on macOS 10.13 and later. Install it from its website or with Homebrew:
brew install --cask keepingyouawake
Its README states the limit plainly: it does not keep a MacBook awake with the lid closed.
Caffeine: the classic, now open source
Caffeine is the original keep-awake app for the Mac. Tomas Franzén of Lighthead Software released it in 2006. It is now open source and maintained again at caffeine-app.net, at version 1.6.4, with builds for current macOS. A full coffee cup in the menu bar means your Mac will not sleep, dim the screen or start the screen saver. Right-click the cup to set a timeout or open the preferences.
If you used Caffeine years ago and want the same app, this is it. We tested it with Slack: see does Caffeine keep Slack active.
Lungo: the paid pick
Lungo, by Sindre Sorhus, costs $4 on the Mac App Store. It adds a keyboard shortcut, Shortcuts actions and control from scripts, and it can turn itself off when you unplug the charger. The listing says it will not keep the Mac awake with the lid closed, which it calls a Mac App Store limit, and it cannot stop a scheduled sleep set in the battery settings.
KeepAwake: for a closed lid
KeepAwake, from keepawakeapp.com, is free and aimed at long-running jobs. It adds a virtual display, so macOS treats a closed MacBook as if an external display were connected and keeps running. It can also move the mouse and start from app triggers. It needs macOS 13 or later.
If a closed lid is your main problem, see how to keep a laptop awake with the lid closed for the settings and the heat risks.
No app at all: caffeinate
Every Mac ships with caffeinate, the tool KeepingYouAwake is built on. Open Terminal and run one of these:
# keep the display on until you press Control-C
caffeinate -d
# keep the Mac awake for two hours (7,200 seconds)
caffeinate -i -t 7200
Every flag is in caffeinate on the Mac terminal.
Does a keep-awake app keep Slack or Teams active?
Only half. A sleeping or locked Mac sets you away in Slack within seconds, and a keep-awake app stops that. But Slack also sets you away after 10 minutes with no keyboard or mouse input, and an awake Mac with nobody typing into Slack gives it none. Our test pages cover the details for Amphetamine and Caffeine.
Amphetamine's mouse movement and apps like KeepAwake create real input, which the Slack desktop app counts wherever the cursor is. For the Mac options that do keep the dot green, see how to keep Slack active on a Mac and mouse jigglers for Mac.
How to pick
- You want the most control for free: Amphetamine.
- You want one click and open source: KeepingYouAwake or Caffeine.
- You use Shortcuts or scripts and do not mind paying $4: Lungo.
- You need the Mac to run with the lid closed: Amphetamine or KeepAwake.
- You cannot install apps on a work Mac:
caffeinatein Terminal, or change the lock settings in keep a Mac screen from locking.
FAQ
Is there an app to keep a Mac awake when the lid is closed?
Yes. Amphetamine and KeepAwake can. KeepingYouAwake, Caffeine and Lungo cannot, because macOS sleeps a closed MacBook unless a display, a charger or a virtual display keeps it running.
What is a good Caffeine alternative for Mac?
KeepingYouAwake works the same way with one click and is open source. Amphetamine adds timers and triggers.
Is it safe to keep a Mac awake all the time?
These apps use Apple's own sleep controls, so they do not harm the Mac. A MacBook left awake with the lid closed can run warm, so keep it on a hard surface.
Does Amphetamine keep Teams green?
It stops the away status caused by sleep. Teams also sets you away after about 5 minutes with no input, so on its own it does not keep you green. See how long before Teams shows away.
Related Articles
Amphetamine vs Caffeine on Mac: Which Keep-Awake App to Use
Caffeine is a free, open-source menu bar cup that keeps a Mac awake with one click. Amphetamine is a free App Store app with triggers, schedules and a closed-lid mode. We checked both on macOS 26.5.2: versions, settings, and what each holds in pmset. Which to pick, and what neither one does.
KeepingYouAwake vs Amphetamine: Which Mac Keep-Awake App to Use
KeepingYouAwake is a free, open-source menu bar switch that runs Apple's caffeinate for you. Amphetamine is a free App Store app with triggers, schedules and a closed-lid mode. Pick KeepingYouAwake for one click and Homebrew, Amphetamine for automation. Neither keeps Slack or Teams active.
Caffeine vs KeepingYouAwake: Which Mac Keep-Awake Cup to Use
Caffeine and KeepingYouAwake are both free, open-source coffee cups for the Mac menu bar. KeepingYouAwake runs on macOS 10.13 and newer, wraps Apple's caffeinate, and can let the display sleep or stop on low battery. Caffeine needs macOS 14.6 and adds an optional cursor nudge that keeps Teams green. Which to pick.