Built into Webstarted Toolbox, the all-in-one menu bar app · macOS & Windows

Keep your Mac awake.

One click and your Mac won’t sleep or dim. Pick 30 minutes to 8 hours, your own length, or stay awake until you turn it off. A free, native alternative to Caffeine and Amphetamine, on macOS and Windows.

Free · No account · macOS 12+ & Windows 10+
The Keep Awake popup in Toolbox: lengths from 30 min to 8 h, Until turned off and Other…, plus the Screens and Condition rows
Timed presets30 min to 8 hours, or custom
Or indefiniteUntil you turn it off
Live countdownSee the time left
Screens off, Mac awakeOptional, after 5 to 30 idle min
How it works

One click. Stays awake. Done.

Open Toolbox from your menu bar, hit Keep Awake and choose how long. Your Mac won’t sleep and the screen won’t dim until the time’s up or you switch it off. Under the hood it holds the system awake with the OS’s own power API, so it’s clean and reliable.

  • Presets for 30 minutes and 1, 2, 4 and 8 hours
  • “Other…” for your own length or a clock time, or “Until turned off”
  • Optionally turns the screens off when idle, while the system stays awake
  • Or “While a process runs”: awake while a process like claude runs, then lets go
  • Optional: lock the session when the screens go off, and only when plugged in
  • A keyboard shortcut of your choice locks the session and turns the screens off, while it stays awake
  • A live countdown of the time remaining
  • Releases automatically when it ends — or when you quit Toolbox
Keep Awake on for 1 hour: an amber card with the time it stays awake until, +30 min and +1 h buttons, and Turn screens off now
Step by step

How to use Keep Awake.

The same panel on a Mac and on a Windows PC. Step-by-step guides for each job: lock a Mac, lock a Windows PC, stop Windows from sleeping and keep the screen on.

  1. Open Toolbox from the menu bar on a Mac (the system tray on Windows) and click Keep Awake, the coffee cup in the Quick Launcher.

    Webstarted Toolbox open, with the Quick Launcher showing the Keep Awake coffee cup next to Timer and Screen Capture
  2. Choose how long: 30 min to 8 h, Until turned off, or Other… to type your own length (90, 1h30) or a clock time (until 18:30). Tapping a length turns Keep Awake on right away.

    The Keep Awake popup turned off, with lengths from 30 min to 8 h, Until turned off and Other…, plus the Screens and Condition rows
  3. It is on: the card turns amber and shows until when it stays awake. +30 min and +1 h add time, tapping another length replaces the current one, and the switch turns it off. Next time, the switch alone turns it back on with the last length.

    Keep Awake on for 1 hour: an amber card with the time it stays awake until, +30 min and +1 h buttons, and Turn screens off now at the bottom
  4. In Screens, pick Turn off and lock and how many idle minutes: 5, 10, 15 or 30. After that long without keyboard or mouse it warns for 30 seconds, locks the session and turns the screens off. Touching anything during the warning cancels it.

    Keep Awake with Turn off and lock selected, idle times of 5, 10, 15 and 30 minutes, and the note that it warns for 30 seconds, locks and turns the screens off
  5. Leaving right now? Once it is on with Turn off and lock, the button at the bottom reads Lock and turn screens off: one click locks the session and darkens the displays, and the computer keeps working.

    Keep Awake on in Turn off and lock mode, with the Lock and turn screens off button at the bottom
  6. Under Condition there are two optional limits. Only when plugged in pauses it on battery and resumes when you plug in. While a process runs takes a process name (for example claude) and keeps the computer awake only while that process is running.

    The Condition row open in Keep Awake: the Only when plugged in switch and While a process runs, with claude as a recent process
  7. The gear opens three options: Turn it back on if Toolbox restarts, Show it on the Toolbox icon and Turn it on when Toolbox opens on this computer, for a machine that should always be ready.

    Keep Awake options: Turn it back on if Toolbox restarts, Show it on the Toolbox icon, and Turn it on when Toolbox opens on this computer
The built-in way, and the one-click way

How to keep your Mac awake without Terminal.

macOS already ships a command for this: caffeinate. Open Terminal, type it, and your Mac stays awake for as long as that window keeps it running. Its flags choose what it holds off: -d keeps the display on, -i stops idle sleep, and -t sets a limit in seconds. Press Control‑C, or close the window, and it lets go.

It works, and it is the same power assertion Keep Awake uses. The catch is everything around it: a Terminal window you cannot close, a number of seconds to work out, and no way to see at a glance whether it is still on. Keep Awake gives you the same result from the menu bar, with presets, a visible countdown and an off switch. And on Windows, where there is no caffeinate at all, it does the same job.

  • No command to remember, no window to keep open
  • Time left always visible in the Toolbox panel
  • Releases on its own when the timer ends
On a Windows PC

How to keep your Windows PC awake.

Windows has no caffeinate. The built-in way is the power settings (Settings, System, Power & battery on Windows 11): set sleep to Never, and remember to set it back afterwards. From a terminal, powercfg /change standby-timeout-ac 0 does the same while plugged in. Both change your settings until you undo them. The popular Caffeine utility fakes a keypress instead; how that differs: Caffeine for Windows and its alternatives.

Microsoft’s free PowerToys includes Awake, which does it from the system tray. If you only use Windows and already run PowerToys, it is a good choice. Keep Awake makes more sense if you also use a Mac, because it is the same tool on both, or if you want it next to your timers, clipboard history and notes in one tray icon. Each Awake mode, with its Mac equivalent: PowerToys Awake for Mac.

  • Same presets on Windows and on the Mac
  • Nothing to restore in your power settings afterwards
  • Claude can turn it on and off through the MCP server
Keep AwakePowerToys Awake
Windows✓✓
macOS✓No
Timed + indefinite✓✓
PriceFreeFree
Coming from Caffeine or Amphetamine?

Same job. One less single-purpose icon.

If you’ve used Caffeine or Amphetamine, this will feel instantly familiar — it stops your machine from sleeping, on your terms. The difference: Keep Awake works on both macOS and Windows, and it lives inside Toolbox, so instead of one more standalone app you also get a clipboard manager, timers, notes and dev tools in the same menu-bar icon.

Looking for more menu bar apps that already work on macOS 27? Here is our list of free ones, all verified on 27.

Prefer Terminal? Our guide to the caffeinate command covers every flag, with examples.

Want the Mac to stop sleeping for good instead? Here is how to stop a Mac from sleeping in System Settings, and how to keep the screen on.

Comparing apps? Here are the free apps to keep a Mac awake, compared, how to turn off the screen without sleeping, and how to keep your computer awake while you are away.

  • Works on macOS and Windows (Amphetamine is Mac-only)
  • Free, native and lightweight
  • Part of a whole toolbox, not a lone icon
Keep AwakeSingle-app
macOS✓✓
Windows✓—
Timed + indefinite✓✓
Other tools included✓—
PriceFreeVaries
Part of Webstarted Toolbox

It’s one widget of many.

Keep Awake is a single tab inside Webstarted Toolbox — a lightweight hub that lives in your menu bar (macOS) or system tray (Windows). One icon, a click, and a popover full of small tools organized in tabs.

FAQ

Questions, answered.

Does Keep Awake work on Windows too?

Yes. Webstarted Toolbox is a native app for both macOS and Windows, and Keep Awake works on both: it holds the system awake using the OS’s own power API and releases it automatically when the timer ends or you quit the app.

Is it really free?

Yes. Keep Awake is one of the widgets built into Webstarted Toolbox, which is free to download and use: no account required.

How is it different from Caffeine or Amphetamine?

Same idea (stop your machine from sleeping), but Keep Awake runs on both macOS and Windows, and it comes inside Toolbox alongside a clipboard manager, timers, notes, dev tools and more, so it’s not one more single-purpose icon in your menu bar.

Will it drain my battery or stop my screen from locking?

It only prevents the system from going to sleep for as long as you choose. When the time is up, or when you turn it off or quit Toolbox, everything goes back to your normal power settings. By default the screen stays on too (the “Stay on” mode); if you would rather save the display, see the next question. In “Stay on” the display does not turn off and the system does not sleep, so the lock that comes with them never arrives. A screen saver that asks for a password, an idle lock set by your company, or Windows Dynamic lock still locks the session: Keep Awake does not fake activity, on purpose.

Can it keep the computer awake but turn the screens off?

Yes. Under Screens, “Turn off” keeps the system awake but lets the screens go dark after 5, 10, 15 or 30 minutes without keyboard or mouse input. It warns for 30 seconds first, and any input cancels it. It is made for leaving the machine on while you work on it remotely. While it is on there is also a “Turn screens off now” button.

Can I keep my Mac awake indefinitely?

Yes. Pick a timed preset (30 minutes, or 1, 2, 4 or 8 hours), use “Other…” to type your own length or a clock time, or choose “Until turned off” to stay awake with no time limit. Picking another length while it runs replaces the current one instead of adding to it; +30 min and +1 h add time.

Will it keep my Mac awake with the lid closed?

Not on battery. Closing the lid triggers your Mac’s clamshell sleep, and Keep Awake does not override it. It keeps your Mac awake while the lid is open, and in clamshell mode when you’re on power with an external display connected, which macOS allows on its own. If you need a closed lid on battery, some Mac-only apps such as Amphetamine offer a closed-display mode.

Is it an alternative to PowerToys Awake?

For the same job, yes: PowerToys Awake keeps a Windows PC awake from the system tray, and so does Keep Awake. PowerToys is Windows-only, while Keep Awake works the same on Windows and on the Mac, inside Toolbox. If you only use Windows and already run PowerToys, Awake is enough.

Can it lock my computer and keep it awake?

Yes. Under Screens, choose “Turn off and lock”: after the idle minutes you pick it locks the session right before the screens go dark, and the button at the bottom becomes “Lock and turn screens off” for when you leave. The computer stays awake and keeps working, so you can leave a download, a render or an AI agent running behind a locked screen. Our guides on locking a Mac and locking a Windows PC cover the built-in ways too.

Can it stay awake only while a program runs?

Yes. Under Condition, in “While a process runs”, type a process name (for example claude) and Keep Awake holds the machine awake while that process is running, then lets go on its own when it ends. It is the one-click version of “caffeinate -i” followed by a command.

Does it work on battery?

Yes, unless you turn on “Only when plugged in”: then it pauses on battery (the countdown keeps going) and resumes when you plug in.

Can Claude keep my computer awake for me?

Yes, if you turn on the MCP server built into Toolbox. Keep Awake gives an agent three actions (turn on, turn off and check status), so Claude can keep the machine awake during a long task and let it sleep again afterwards. The server is off by default.

Do I need Terminal, the caffeinate command or pmset?

No. Keep Awake drives your Mac’s own power API (the same one behind the caffeinate command) from a single click, so you never have to type “caffeinate -d” or change pmset settings in Terminal. On Windows it uses the equivalent system call.

Get Webstarted Toolbox

Free to use. Keep Awake and every other widget included. macOS 12+ and Windows 10+.

Free beta · macOS · Windows (x64) · Signed & notarized · No account required
Keep exploring

One icon, many small tools

This is one of the 51 widgets in Webstarted Toolbox, the free all-in-one menu bar app for Mac and Windows. Here are the rest:

📊 LLM Quota Pace your Claude / AI usage against the clock. 🔴 Priorities The most urgent of the urgent, with deadlines that ring. ⏱️ Timer Drag a ring dial and get an alert you cannot miss. 🍅 Pomodoro 25/5 focus cycles in your menu bar. ⏳ Countdown Live countdowns to anything that matters. ☰ Clipboard history Your recent copies, one keystroke away. {} Dev tools JSON, JWT, Base64, regex, epoch and 6 more, offline. ✎ Quick Note A scratchpad that autosaves as you type. 🌐 My IP Your public IPv4 and IPv6, copyable, with ISP and location. 📈 System Info CPU, memory and GPU in your menu bar. 🐹 Topos A 30-second reflex game in your menu bar. 💣 Minesweeper Classic minesweeper in your menu bar. 🪙 Crypto Prices Live crypto prices with 24h change, in your menu bar. 💱 Currency Converter Convert currencies with real parallel rates (blue, MEP, CCL). 🌍 World Clocks Several cities' time at once — daylight saving handled automatically. 🔳 QR Generator QR codes for text, URLs, WiFi or contacts — offline. 🔑 Password Generator Strong passwords & passphrases, fully offline. 🌤️ Weather Any city, now + the days ahead — no API key. 🔥 Habit Tracker Daily streaks — don't break the chain. 100% local. 🔤 Text Tools Change case, slugify, count, dedupe — offline. 🎲 Random Picker Pick from a list at random, or roll dice. 🎨 Color Picker Pick a color, copy hex / rgb / hsl / hsv — offline. 🌐 Translator 18 languages from the menu bar — no API key needed. 🔀 Text Diff Compare two texts line by line — 100% local. ⏰ Cron Wizard Cron expressions in plain English, with the next runs. 🗃️ Dummy Data Lorem ipsum and fake rows in JSON, CSV or SQL. 🔊 Focus Sounds White, pink or brown noise — synthesized, no files. 🔁 Subscriptions What your recurring services cost per month and year. 🧾 Rates & Tax Hourly ↔ yearly, and add or extract tax. ⛽ Network Fees Ethereum gas and Bitcoin fees, right now. 📣 UTM Builder Trackable campaign links, normalized so GA behaves. 🌿 Git Status Which of your repos are dirty, unpushed or behind. 🧮 Calculator Type the calculation, read the result as you go. 🎬 Teleprompter Your script scrolls at the speed you read — in wpm. 📊 Stocks Stocks and ETFs with the day’s change — no API key. 🔥 Fireplace A fireplace generated on the fly — no files, no network. 💼 Job Tracker Your applications, with an OS alarm before each interview. ⇄ Converter 57 units in 8 categories, converted with zero network. ⏰ Alarms Clock-time alarms that ring with everything closed. 🗂️ Project Boards Kanban boards with your columns, and a due date that notifies you. 📡 Website Monitor Are your sites up? The code and the latency, from your machine. 📤 Send to another computer Text, images and files to another computer on your network. 📝 Markdown A Markdown editor with live preview, in your menu bar. 📚 Library Your snippets and prompts in folders, one search away. 💽 Folder Scan See which folders are eating your disk. 📅 Calendar A day planner in your menu bar, with nothing to connect. ✅ Tasks A menu bar to-do list whose times actually ring. ☑️ Checklists Reusable checklists from templates: reset, rerun, export. 🎤 Presenter A talk clock that knows your script, not a stopwatch. ✏️ Pencil Draw on your screen, over everything, while you present.