a Caffeine alternative
updated · by Anton Shakirov
Caffeine is the original: a coffee cup in the menu bar, one click, and the Mac stops falling asleep. it named a whole family of apps after itself. before any of them, though, your Mac ships a command that does the same job with nothing installed — so this page starts there.
one built-in command covers this whole task, for free: caffeinate. Caffeine is free too, and since version 1.6.4 it has a timer of its own. hop is not simpler than either — it is the same switch with no command to remember, no terminal window to keep open, and the same icon as seventeen other tools.
caffeinate is the Caffeine alternative already on your Mac
there is no download at the start of this. /usr/bin/caffeinate has shipped with macOS for years, needs no password and no permissions, and holds the Mac awake for exactly as long as you tell it to.
the four flags that cover almost everything
- caffeinate -d — the display stays on: the one for a presentation or a film
- caffeinate -i — the system will not idle-sleep. the screen may still dim; the machine keeps working
- caffeinate -t 3600 — hold for an hour, then let go on its own. the number is seconds
- caffeinate -w 4521 — hold until the process with that pid exits. the download finishes, the hold ends with it
one thing caffeinate does not cover is a closing lid — a different mechanism with different rules, and it has its own page: keep a MacBook awake with the lid closed
they combine: caffeinate -di -t 3600 is «keep display and system awake for an hour». three more exist — -m for the disk, -u to declare you active, and -s for full system sleep, which carries a condition: valid only while the Mac runs on AC power.
run it once and you can watch the hold appear. with caffeinate -d -t 8 running, pmset -g assertions listed PreventUserIdleDisplaySleep held by pid 34859(caffeinate), named «caffeinate command-line tool», detail «caffeinate asserting for 8 secs». eight seconds later it was gone: a request, held by a process, released when the process ends.
those seven flags are the whole list in man caffeinate on macOS 26.6.2, and the mechanism under them is documented: a hold is a power assertion, released automatically when the process that took it exits. Apple also states that no assertion can stop a lid close, a low battery or a thermal emergency. Apple Developer — IOPMAssertionCreateWithName
and the settings pane, if you never want a command
System Settings → Lock Screen holds the timers that decide when things go dark: «Turn display off on battery when inactive», «Turn display off on power adapter when inactive», «Start Screen Saver when inactive». set them to Never and the dimming stops permanently — which is the difference from everything else here. a keep-awake switch is temporary by design; this is a setting you will forget you changed.
Apple's description of that pane and its timers: Apple Support — change Lock Screen settings on Mac
which Caffeine you are actually downloading
this matters more than it sounds, because there are three of them and only one is the app people mean.
the other well-known app in this family goes much further — triggers, schedules, conditions — and it gets its own comparison: an Amphetamine alternative
the original stopped in 2018, and that is fine
Tomas Franzén wrote Caffeine at Lighthead Software in 2006. that repository last saw a commit in November 2018 and has not moved since. this is not a scandal: the app did one job, the job did not change, and he handed the source on under an open licence rather than letting it disappear.
what people download today is the continuation. Dominic Rodemer maintains it as an open MIT project, and version 1.6.4 shipped on 20 April 2026 — 4.5 megabytes, macOS 11 or newer. a second fork exists and also moves, more slowly. checked 10 September 2026.
version, date and licence taken from the repository rather than a download page: GitHub — domzilla/Caffeine
the one in the App Store is not it
search the Mac App Store for Caffeine and the top result is «Caffeine Utility» at $6.99, by a different developer entirely. a perfectly real app, simply not this one. Caffeine itself is free, and if you are paying for it you have the wrong thing.
so do you need a Caffeine alternative at all
honestly: often not. if the command above is in your muscle memory, this page has already answered you, and the answer is to keep the command.
what it costs is not money and not quality — it is knowing the name, and keeping a window open: the hold lives exactly as long as the caffeinate process does, so the Terminal stays put until the render finishes. what an app costs instead is an app.
| what you are doing | the free route | with hop |
|---|---|---|
| a build in a terminal that is open anyway | caffeinate -i, or prefix the build with it | not needed — keep the command |
| holding it awake without learning a command | Caffeine: one click on a coffee cup, free | one click, same result, no separate app |
| holding it for a set time | caffeinate -t 3600, or Caffeine's timeout | 15 minutes, 8 hours or forever, from the panel |
| checking whether a hold is still on | pmset -g assertions, or the cup's icon | the menu bar icon carries a keep-awake badge |
| you already run four single-purpose menu bar apps | a fifth icon | the same icon as seventeen other tools |
what the module actually does, its options and where it stops: keep your Mac awake
the hold is a request, not a setting: nothing in System Settings is edited, so quitting hop returns normal sleep on the spot and leaves no flag for a future you to find.
how to read the list of who is holding what: The Eclectic Light Company — power management in detail
where Caffeine is the better pick
- it does one thing, in 4.5 megabytes. a single-job app is a real argument and it is theirs — ours carries eighteen modules whether or not you switch them off
- it has done that one thing since 2006 and named the category. people know where the cup is, and no feature list buys that
- it is free and open under MIT: nothing to weigh up before trying it
- it has a timeout of its own now, and a default duration in preferences — the thing this page used to claim as a difference is not one
- none of that is a list of things Caffeine cannot do. we have not tested it that closely, and the honest scope here is our side, not theirs
if the count of icons is the actual problem, that is a subject in itself: menu bar icons behind the notch
what a keep-awake switch is actually for
- a download or upload finishing unattended
- a render, a build or a long export you are not sitting over
- a presentation, where a screen dimming in front of a room is its own kind of pain
- a long read or a film, where nothing is running that macOS would count as activity
- anything over ssh that dies the moment the machine dozes off
the reverse case is worth naming too: if the Mac keeps waking when you did not ask it to, a keep-awake switch is the wrong tool entirely.
what wakes a Mac at three in the morning, and how to find out which thing did: why your Mac wakes up at night
how to try it without deciding anything
- try caffeinate -t 3600 first — it costs nothing and may end the question here
- if you would rather click than type, get hop: five megabytes, no account, macOS 14+
- switch off every module except keep-awake if the rest holds no interest
- use it for a week and notice whether you ever wondered if it was still on
- if a coffee cup with no panel behind it suited you better, Caffeine is free and installs in a minute
the rest of what sits behind the same icon: all eighteen tools
frequently asked questions
- what is the difference between caffeinate and a Caffeine app?
- none in mechanism — both ask macOS for the same hold. the command needs you to know its name and leave a window open; the app puts that hold on a switch you can see.
- is Caffeine still maintained?
- the original from Lighthead Software has not moved since November 2018, but the app people download today is maintained by someone else: version 1.6.4 shipped in April 2026 under MIT. checked 10 September 2026.
- which Caffeine is the real one?
- the free open-source one. «Caffeine Utility» at $6.99 in the Mac App Store is a different app by a different developer.
- both are free — why switch?
- to have one menu bar icon instead of five, and the switch sitting with tools you already opened the panel for. not because keeping a Mac awake works differently — it does not.
- what happens if i forget to turn it off?
- set a duration and it ends by itself. quitting hop returns normal sleep immediately, and the icon carries a badge while a hold is on.
- does it change my energy saver settings?
- no. nothing in System Settings is touched — the hold is a request, made while it is on and dropped when it is off, same as caffeinate.
- will my Mac still sleep on low battery?
- yes. Apple states that no assertion can prevent low-battery, thermal or lid-close sleep — a hold stops idle-sleep, not the safeguards.
the hop side of this
keep awake — downloads, renders and calls run to the end. even with the lid closed.
about the author

Anton Shakirovmakes hop
makes hop and every page on this site. eighteen tools under a single menu bar icon, MIT licensed and open source. reads and answers issues and email himself.