Caffeine
Utility that prevents the system from going to sleep
Install with Homebrew
brew install --cask caffeineQuick Take: Caffeine
Caffeine is not dead software nostalgia. It is a maintained free utility with a Tahoe-ready distribution and MIT source on domzilla/Caffeine. Choose it for one-click clarity and the classic cup icon. Choose Amphetamine when you need triggers and sessions. Choose KeepingYouAwake if you prefer that open caffeinate wrapper. Use raw `caffeinate` inside scripts. All of those beat wrestling Energy settings for temporary awake sessions in 2026.
Best For
- •Presenters and demo machines
- •Long downloads/compiles
- •Users who want the classic cup icon
- •Anyone who thought Caffeine was abandoned and needs the modern build
What is Caffeine?
Caffeine is the classic macOS menu-bar utility that keeps your Mac awake with a single click. A full coffee cup means sleep, display dimming, and screen savers are suppressed; an empty cup restores normal energy behavior. Right-click the icon for timed durations and preferences (launch at login, auto-activate, default timer). The whole product is that control surface: no account, no cloud policy engine, no subscription.
Important for August 2026: Caffeine is alive. The modern project is published at caffeine-app.net, open-sourced under the MIT license (GitHub: domzilla/Caffeine), and maintained with explicit macOS version pages including Tahoe, Sequoia, Sonoma, Ventura, and Monterey. The lineage traces to Tomas Franzén's original Lighthead Software app (2006). Michael Jones/IntelliScape continued development after 2018. The current site credits ongoing modernization (codebase updates from 2022 for macOS 11+) and present stewardship under Dominic Rodemer. This is not the abandoned 2010s binary floating around old download mirrors. Pages that still call Caffeine discontinued are stale.
Caffeine's product idea remains radical simplicity versus Amphetamine's triggers and KeepingYouAwake's open-source caffeinate wrapper. If you want one icon and no policy engine, Caffeine still wins. If you need app-based triggers, closed-lid edge cases, or session recipes, Amphetamine is usually the better free App Store tool. KeepingYouAwake remains the minimal open alternative built around Apple's caffeinate. All three beat digging through System Settings > Energy every time you need a temporary awake session for a demo or compile.
Pricing is free. No premium tier, no ads, no paid unlocks on the official modern distribution. Install from the official site's macOS-channel downloads or with brew install --cask caffeine. It is a tiny utility (about 5MB of RAM and near-zero CPU when idle), perfect for presentations, long compiles, downloads, and demos. The main failure mode is human: easy to forget on a laptop, which drains battery if left engaged. Timed activation exists specifically to cut that risk.
For Mac installs in 2026, use caffeine-app.net or Homebrew, accept Gatekeeper prompts for the notarized build, and avoid random mirror DMGs from the quiet years. On Apple Silicon and macOS Tahoe 26.x, pick the Tahoe-listed build from the official version pages. Prefer timed activation on MacBooks so an overnight full cup does not empty the battery. On desktop Macs that should never sleep (lab machines, Plex hosts, demo kiosks), enable launch at login and activate on launch so a reboot restores the same behavior. For scripts and CI-like local tasks, macOS caffeinate is often cleaner than leaving the menu-bar app on: caffeinate -i bun run build keeps the machine awake exactly as long as the command runs. Revisit Amphetamine if you later need triggers like "while this app is open" that Caffeine deliberately omits.
Where Caffeine fits in a modern Mac toolkit: presenters who want a visible cup icon, developers who want a 10-second fix before a long local job, and people who tried Amphetamine and found the session UI more than they needed. Where it does not fit: fleets that need MDM-managed power policy, closed-display-lid edge cases that need specialized tools, and users who want Shortcuts-first automation without touching a menu bar icon. In those cases start with Amphetamine, KeepingYouAwake, or raw caffeinate instead of forcing Caffeine to be something it is not.
Closer look: How macOS sleep prevention works
macOS uses a power assertion system to manage sleep behavior. Apps create assertions that tell the OS to stay awake. Caffeine is a thin, visible UI over that system. Understanding the assertions explains both why the app works and why no menu-bar utility can override every hardware edge case.
History & Background
Caffeine began in 2006 under Lighthead Software and became a default Mac utility for demos and long jobs. It went quiet for years, which is when Amphetamine and KeepingYouAwake absorbed most recommendations. It was revived via open-source continuation and modernization for macOS 11+, with ongoing 2020s maintenance and Tahoe-ready distribution under the caffeine-app.net / domzilla/Caffeine line. The stewardship arc (Tomas Franzén origin, later IntelliScape-era work, then Dominic Rodemer-associated modernization) matters only because it explains why multiple download URLs still float around: only the current official site should be trusted for installs in 2026.
How It Works
Caffeine calls IOPMAssertionCreateWithName with assertion types like kIOPMAssertionTypeNoDisplaySleep and kIOPMAssertionTypeNoIdleSleep. These assertions tell macOS's power management daemon (powerd) to ignore idle timers. The assertions are released when Caffeine deactivates or quits. This is the same mechanism macOS uses internally. For example, during a FaceTime call, macOS creates its own assertion to prevent sleep. Timed modes simply schedule release of those assertions. That is why a timer is safer on laptops than an indefinite full cup: the assertion ends even if you walk away.
Ecosystem & Integrations
The sleep prevention category includes Caffeine (classic cup icon), KeepingYouAwake (modern open caffeinate wrapper), Amphetamine (feature-rich free App Store tool with triggers and sessions), One Switch (multi-toggle menu bar utility that includes a caffeine-style switch), and macOS's built-in caffeinate command. All serious options use the same underlying power assertion API. The differences are UI, trigger depth, and maintenance status. Caffeine's niche is the smallest learning curve with a readable icon. Amphetamine's niche is automation. KeepingYouAwake's niche is open minimalism. caffeinate's niche is scripts.
Future Development
Expect continued OS alignment rather than feature bloat. Caffeine's value is staying small while remaining installable on each new macOS, including Tahoe pages on the official site. If you find yourself wanting app-based triggers, closed-lid recipes, or Shortcuts integration, that is a signal to add Amphetamine or caffeinate rather than waiting for Caffeine to become a full power-management suite.
Key Features
One-click menu bar toggle
Full cup prevents idle sleep, dimming, and screen saver; empty cup restores defaults. Status is readable at a glance from the menu bar icon, which is the whole point for presenters who cannot hunt through settings mid-talk.
Timed activation
Right-click durations so Caffeine turns itself off after a meeting or download window. Timers reduce the risk of leaving it on overnight on a MacBook and are the default recommendation for battery-powered machines.
Launch preferences
Start at login and optionally auto-activate for always-on desktop workflows (iMac, Mac Studio, Mac mini media servers, lab kiosks). After a power outage and reboot, the Mac returns to the awake policy you configured.
Modern macOS builds including Tahoe
Official site ships builds and pages for current macOS trains (Tahoe through Monterey listings). The modern line requires macOS 11 or later. Match the download to your OS version page rather than grabbing a random old DMG.
Open source (MIT)
Source available on GitHub (domzilla/Caffeine) under MIT for audit and contribution. Linked from caffeine-app.net so you can verify you are building or reviewing the same code the site distributes.
Tiny footprint
Purpose-built utility with negligible resource use (about 5MB RAM and near-zero CPU when idle) compared with larger status apps. It will not compete with your compile for cores.
Localizations
Modernization work added multiple language translations beyond the original English-only classic, which matters for non-English Mac deployments that still want the simple cup metaphor.
Who Should Use Caffeine?
1The Presenter
You're giving a 45-minute presentation in a conference room. Without Caffeine, your Mac dims after 5 minutes and locks after 10. You keep wiggling the mouse to prevent it, which is distracting and unprofessional. With Caffeine, you click the icon before starting, give your presentation uninterrupted, and click it off when done. Timed mode for 60 minutes is safer than an indefinite full cup if you might forget to click off after Q&A.
2The Developer Running Long Builds
Your CI build takes 30 minutes to run locally. You kick it off, go get coffee, and come back to find your Mac locked and the build paused. With Caffeine active, the build runs to completion while you're away. The timer feature lets you set it for exactly 45 minutes, enough for the build plus margin. For scripted builds, `caffeinate -i bun run build` can replace the GUI entirely so sleep prevention ends when the process exits.
3The Downloader
You're downloading a 50GB game update overnight. macOS sleeps after 15 minutes of inactivity and the download stops. You activate Caffeine before bed and the Mac stays awake until the download completes. In the morning, you deactivate Caffeine manually (or use the timer if you can estimate how long it'll take). If you can estimate duration, set the timer before bed so the Mac can sleep after the transfer instead of running hot all night.
4The Media Server Operator
You use an old Mac as a Plex media server. It needs to stay awake 24/7 to serve media to other devices. Caffeine with Launch at Login and Activate on Launch ensures the Mac never sleeps, even after a power outage and reboot. Pair launch-at-login with activate-on-launch so a power blip does not leave the library unreachable until someone clicks the cup again.
5The Remote Worker on Long Calls
You're on a 3-hour all-hands meeting where you're mostly listening. Your Mac dims the screen after 5 minutes and you have to keep touching the trackpad. Caffeine keeps the screen on so you can follow along passively without constantly prodding the computer. On battery during travel, prefer a timer matched to the meeting length so you do not board a flight with sleep permanently disabled.
How to Install Caffeine on Mac
Caffeine is available via Homebrew (`brew install --cask caffeine`) or direct download from caffeine-app.net. Prefer official channels over old mirror sites.
Install via Homebrew
Run brew install --cask caffeine in Terminal. The app installs to /Applications.
Launch and Locate in Menu Bar
Open Caffeine from Applications. A coffee cup icon appears in your menu bar. If you don't see it, check behind the notch on newer MacBooks or look in the overflow area.
Click to Activate
Click the coffee cup icon. It fills up (changes appearance) to indicate sleep prevention is active. Click again to deactivate.
Enable Launch at Login
Right-click the icon and check 'Automatically start Caffeine at login' if you want it available every time you start your Mac.
Pro Tips
- • Right-click the icon for timer options if you want automatic deactivation after a known duration.
- • The app uses about 5MB of RAM and zero CPU when idle, so cost is not a reason to avoid it.
- • If you are installing a sleep-prevention tool for the first time in 2026, also evaluate Amphetamine and KeepingYouAwake; pick based on triggers versus simplicity.
- • Prefer caffeine-app.net or
brew install --cask caffeineover old blog download links that may still host abandoned builds. - • On notched MacBooks, the cup icon can hide in the menu bar overflow; drag menu bar items or check the Control Center overflow if you cannot see it after launch.
Configuration Tips
Always Use a Timer on Laptops
On a MacBook, forgetting to deactivate Caffeine means your battery drains overnight. Always right-click and set a timer instead of leaving it on indefinitely. Pick the duration that matches your task, then let the assertion release automatically.
Set Launch at Login for Desktop Macs
On desktop Macs (iMac, Mac Studio, Mac Pro, always-on Mac mini) that should never sleep, enable Launch at Login and Activate on Launch. The Mac stays awake 24/7 automatically after any restart without another click.
Use caffeinate for Scripts
If you need sleep prevention in a script or automation, use macOS's built-in caffeinate command instead of Caffeine the app. For example: caffeinate -i bun run build keeps the Mac awake until the build finishes, then returns to normal idle behavior.
Consider KeepingYouAwake for a Modern Alternative
If you are installing a sleep-prevention tool for the first time in 2026 and you want open source with active maintenance, KeepingYouAwake is a strong alternative to the classic cup. If you specifically want the Caffeine icon and UX, install from caffeine-app.net or the Homebrew cask, not an old mirror.
Alternatives to Caffeine
Sleep-prevention utilities differ mainly by how deep their triggers go. Caffeine is the simple cup; Amphetamine adds policies; KeepingYouAwake wraps caffeinate.
Amphetamine
Free App Store powerhouse with triggers and sessions. Better automation when you need 'while this app runs' rules; slightly more UI surface than Caffeine's single cup.
KeepingYouAwake
Open-source menu bar wrapper around caffeinate. Minimal and maintained. Choose it when you want open code and a modern replacement feel without Amphetamine's session complexity.
caffeinate CLI
Built into macOS. Free and scriptable; no icon. Best for developers who already live in Terminal and want sleep prevention tied to a command's lifetime.
One Switch
Multi-toggle menu bar utility that includes a caffeine-style switch among other controls. Better if you already want several toggles in one app; heavier than Caffeine alone.
Pricing
Caffeine is free. MIT-licensed source is public. No ads, subscriptions, or paid unlocks on the official modern distribution.
Pros
- ✓Dead-simple one-click UX with a readable full/empty cup
- ✓Actively distributed for modern macOS including Tahoe pages
- ✓MIT open source on domzilla/Caffeine
- ✓Timed sessions reduce 'forgot it on' risk vs infinite toggle only
- ✓Tiny resource footprint (about 5MB RAM idle)
- ✓Free forever on the official modern distribution
Cons
- ✗Fewer automation triggers than Amphetamine
- ✗Easy to drain laptop batteries if left enabled
- ✗Not a full power-management suite
- ✗Advanced closed-display scenarios may need other tools
- ✗Minimalism means almost no integrations (Shortcuts, etc.)
Community & Support
Support flows through the official site contact page and GitHub issues on domzilla/Caffeine. Older Mac forum threads still discuss Amphetamine and KeepingYouAwake migrations from the quiet years; point newcomers to caffeine-app.net so they do not install abandoned binaries. Feature comparisons with Amphetamine and KeepingYouAwake dominate forum advice: if you only need a toggle, Caffeine is enough; if you need session recipes, switch. The official FAQ covers timer behavior, launch-at-login, and macOS version support including Tahoe. When filing an issue, include macOS version (Tahoe, Sequoia, Sonoma, and so on), Apple Silicon versus Intel, and whether the problem is idle sleep, display sleep, or lid-close behavior. Those details map directly to different power assertions under the hood. Historical write-ups from the mid-2010s that rank Amphetamine and KeepingYouAwake as replacements are still useful for product shape, but they should not be read as proof that Caffeine is gone. The 2026 correction is status: the cup icon has a maintained home again.
Frequently Asked Questions about Caffeine
About the Author
Productivity & Workflow Analyst
Expert Tips for Caffeine
The biggest factual correction for 2026 content is status: Caffeine is maintained again. Pages that still call it abandoned are stale.
Users on forums still split: cup-icon nostalgia (Caffeine) vs triggers (Amphetamine). Recommend based on whether 'while this app runs' rules matter.
On laptops, treat timers as the default path and indefinite full-cup mode as a desktop-only habit. Most battery complaints are forgotten toggles, not bugs in the assertion API.
For pure scripting, teach caffeinate first. Reserve the Caffeine app for humans who want a visible icon during meetings and demos.
Related Technologies & Concepts
Related Topics
Sources & References
Key Verified Facts
- Modern Caffeine is distributed at caffeine-app.net with MIT-licensed source and current macOS version pages including Tahoe.[cite-1, cite-2]
- Caffeine prevents automatic sleep, dimming, and screen savers while the cup is full.[cite-1]
- Amphetamine and KeepingYouAwake remain the leading alternatives for deeper or wrapper-based control.[cite-3, cite-4]
- 1Caffeine official site
Accessed Aug 9, 2026
"Modern Caffeine: menu bar UX, FAQ, MIT source, Tahoe/Sequoia pages."
- 2
- 3Amphetamine on App Store
Accessed Aug 9, 2026
"Primary feature-rich free alternative users migrated to during Caffeine’s quiet years."
- 4
- 5Amphetamine vs Caffeine comparison context
Accessed Aug 9, 2026
"2026 comparison framing Amphetamine vs Caffeine choices."
- 6Historical alternatives article
Accessed Aug 9, 2026
"Long-running narrative of Amphetamine/KeepingYouAwake as Caffeine alternatives."