Back to Blog
Guide

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.

Slack Green Team
September 24, 2026
October 7, 2026
6 min read
Share:
mac
keep awake
amphetamine

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. More on that split below.

Keep-awake apps for Mac compared

AppPriceWorks with the lid closedTimers and triggersBest for
AmphetamineFree, Mac App StoreYesApps, Wi-Fi, power, displays, USB devices, CPU load, idle timeMost people
KeepingYouAwakeFree, open sourceNoSet durations, stop at low batteryOne click, Homebrew install
CaffeineFree, open sourceNoTimeout, start at loginThe original cup icon
Lungo$4, Mac App StoreNoDurations, keyboard shortcut, Shortcuts, scriptsShortcuts users
KeepAwakeFreeYes, with a virtual displayApp-aware triggers, mouse movementLong jobs with the lid closed
caffeinateBuilt into macOSNoFlags and a timer in secondsTerminal 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.

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.

Never appear "away" on Slack again

Cloud-based. No downloads. Works 24/7 even when your laptop is off.

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: caffeinate in 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.

Always Active

Stop Jiggling Your Mouse.

Join hundreds of remote workers who never worry about their Slack status. Set it up once, stay green forever.

Related Articles

Guide

Slack Bot Scopes: The Scope Each API Method Needs, Measured on 44 Methods

We gave a Slack bot one scope, called 44 common Web API methods, and read the needed field of every missing_scope error. Then we added the scopes and called them again. The table shows which scope clears each method.

Slack Green Team
Guide

Slack File Size Limit: 1 GB Is Exactly 1,073,741,824 Bytes, Tested

We uploaded files of 50 MB, exactly 1 GiB and 1 GiB plus one byte to Slack through its upload API. The limit is 1,073,741,824 bytes, and a failed upload can still leave a broken file behind.

Slack Green Team
Guide

Slack Dark Mode: Where the Setting Is, and Which Custom Emoji Disappear

Slack's dark mode is under Preferences > Appearance > Color Mode, with Light, Dark and System. We switched modes in Slack web with three test emoji and measured which ones vanish.

Slack Green Team