Caffeine for Mac (macOS): the app and the best alternatives
· Updated · By Mert Düzgün
From Agent Caffeine, the Mac app that keeps your Mac awake while AI coding agents work, also with the lid closed.
Caffeine for Mac is a free menu bar app with a coffee cup: click the cup and your Mac does not go to sleep, dim the screen or start the screen saver; click again and it sleeps as usual. It still exists and works on macOS 26 Tahoe. Download version 1.6.4 from caffeine-app.net. Version 1.6.4 needs macOS 14.6 or later. For an older macOS, the site offers an older version: choose your macOS there.
If you meant the Terminal command, its name is caffeinate, not caffeine, and it is on every Mac. Our guide to the caffeinate command has every flag with examples. This page is about the app, and about the apps you can use instead of it.
The Caffeine app
Caffeine is a small app with one job. Its site describes it: "Caffeine is a tiny open source program that puts an icon in the right side of your menubar. Click it to prevent your Mac from automatically going to sleep, dimming the screen or starting screen savers."
Where it comes from
Many people know Caffeine from years ago and are not sure if this is the same app. The site answers that: "Yes! Tomas Franzén of Lighthead Software originally developed Caffeine in 2006". Development then stopped for a long time. In 2018 Michael Jones of IntelliScape Computer Solutions asked to continue it, and the site says that Tomas "has graciously provided the source code under an open source license". The current line started later: "In 2022 we started modernizing the codebase and added support for macOS 11 and above."
The current version
These are the facts we read on October 8, 2026:
| Fact | What the source says |
|---|---|
| Version | 1.6.4, 4.5 MB |
| Released | April 20, 2026 (GitHub release) |
| Needs | macOS 14.6 or later (the update feed of the app). The site says "at least macOS 11 (Big Sur)" |
| macOS versions the site lists | Monterey, Ventura, Sonoma, Sequoia, Tahoe |
| License | MIT, source on GitHub |
| Site | caffeine-app.net, copyright Dominic Rodemer |
For a Mac with macOS 10.x, the site points to the older version from IntelliScape.
Two things to know when you look for it:
- Homebrew has a cask named
caffeine. On the day we checked, it installs version 1.1.4 from the IntelliScape repository, not version 1.6.4. The current version is also a cask:domzilla-caffeineinstalls version 1.6.4. Or use the download on caffeine-app.net. - The Mac App Store has several apps with "Caffeine" in the name from other makers. They are different apps. We did not find this Caffeine there.
How to use it
- Download Caffeine and move it to the Applications folder. Open it.
- Click the coffee cup in the menu bar. The site explains the icon: "a full cup means Caffeine will prevent your Mac from automatically going to sleep, dimming the screen or starting screen savers. An empty cup means your Mac will sleep normally."
- For a time limit, right-click the cup, or hold Command and click it. The menu has the settings and a timeout.
In the settings you can start Caffeine when you start your Mac, make it active each time it starts, and set a default duration.
What it does not do
Caffeine does one thing. It has no rules that start it for you, and its site does not mention a closed lid. Its makers say this themselves: "we believe that Caffeine's power lies in its simplicity and ease of use". If you want rules, see our guide to Amphetamine for Mac. If you want the lid closed, see how to keep a Mac awake with the lid closed.
Caffeine or caffeinate?
The names are close, but they are two different things:
- Caffeine is the app on this page. You download it, and you click a cup in the menu bar.
caffeinateis a command that comes with macOS. You type it in Terminal, for examplecaffeinate -dto keep the display on until you press Ctrl+C. There is nocaffeinecommand on a Mac.
For the command, its flags and how to check that it works, read our caffeinate command guide.
The best Caffeine alternatives
If Caffeine is more or less than you need, choose by your need:
| Your need | Use | Cost |
|---|---|---|
| One click in the menu bar, open source | Caffeine or KeepingYouAwake | Free |
| Rules, for example "while a display is connected" | Amphetamine | Free |
| A tidy app with Shortcuts support | Lungo | $4 once |
| Awake while one command runs | caffeinate -i and the command |
Built in |
| Screen on during a talk or a film | System Settings > Lock Screen | Built in |
| Lid closed at a desk with a monitor | Clamshell mode | Built in |
| Awake only while AI coding agents work | Agent Caffeine | $9 once |
For most people a built-in way or a free app is enough. Our guide on how to stop a Mac from sleeping has the steps for each setting.
Caffeine is the right one when you want a single switch in the menu bar and nothing to learn. KeepingYouAwake is close to it: its README says that it is "inspired by Caffeine" and that it is "a small wrapper around Apple's caffeinate command line utility".
Caffeine and AI coding agents
A switch you click stays on until you click it again. If you keep a Mac awake for Claude Code, Codex or another coding agent, that means the Mac stays awake after the agent is done, or it sleeps in the middle of a task when you forget the switch.
Agent Caffeine is our app for this case. It finds the agents by itself, keeps the Mac awake while one works, also with the lid closed, and lets it sleep when they are done. It has a 7-day free trial, then costs $9 once, and needs macOS 13 or later. Our guide on keeping a Mac awake for Claude Code and Codex has the free ways too.
Questions
Is there still a Caffeine app for Mac?
Yes. The Caffeine app with the coffee cup is maintained again. Version 1.6.4 is on caffeine-app.net, and was released on April 20, 2026. Version 1.6.4 needs macOS 14.6 or later. For an older macOS, the site offers an older version: choose your macOS there.
Is Caffeine for Mac free?
The download on caffeine-app.net has no price, and the app is open source under the MIT license.
Does Caffeine work on macOS 26 Tahoe?
Yes. Its site lists macOS Monterey, Ventura, Sonoma, Sequoia and Tahoe. The current version, 1.6.4, needs macOS 14.6 or later.
Is there a caffeine command on Mac?
No. The command is named caffeinate, and it is at /usr/bin/caffeinate on every Mac. Our guide to the caffeinate command has every flag.
What is the difference between Caffeine and caffeinate?
Caffeine is a menu bar app that you download. caffeinate is a command that is part of macOS and runs in Terminal. Both stop the Mac from sleeping by itself.
Does Caffeine keep a MacBook awake with the lid closed?
Its site does not say so. It says that Caffeine prevents the Mac "from automatically going to sleep, dimming the screen or starting screen savers". For a closed lid, use clamshell mode, caffeinate -s on power, or sudo pmset -a disablesleep 1.
Sources
- Caffeine (description, history, version and system requirements, read on October 8, 2026)
- Caffeine on GitHub (release 1.6.4 and its date, license)
- Caffeine update feed (the macOS version that each release needs)
- Homebrew cask caffeine (version and source of the cask)
- Homebrew cask domzilla-caffeine (version of the cask)
- KeepingYouAwake on GitHub
- Amphetamine on the Mac App Store
- Lungo (price, read on December 4, 2026)