Keep your Mac awake
A Mac that sleeps in the middle of a download, a render or a presentation is maddening. macOS has a few switches for this, and one Terminal command most people never find.
What macOS already does
- Display sleep
- System Settings > Lock Screen: set Turn display off when inactive.
- On power adapter
- System Settings > Battery > Options: Prevent automatic sleeping on power adapter when the display is off.
- Terminal
- caffeinate -d keeps the Mac and display awake until you press ⌃C.
Guides on this
Amphetamine vs KeepingYouAwake vs Vigil: keep-awake apps for Mac compared
Free and paid ways to stop your Mac sleeping, side by side. What each one is best at, and when the free Terminal command is enough.
Screen sharingThe best Mac apps for screen sharing and video calls
Look professional on Zoom, Meet and Teams: hide desktop clutter, silence notifications, keep the Mac awake and share cleaner screenshots.
PowerThe best apps to keep your Mac awake
Stop your Mac sleeping during downloads, presentations and long jobs. Amphetamine, KeepingYouAwake, caffeinate and Vigil compared.
Menu barThe best menu bar apps for Mac in 2026
Small, useful Mac menu bar utilities worth installing: battery, clipboard, screenshots, system stats, keeping awake and more.
BuyingMac apps without subscriptions: the best one-time purchases
Tired of renewals? Useful Mac utilities you buy once (or get free), from clipboard history to battery limits.
PowerThe caffeinate command: keep a Mac awake from Terminal
How to use macOS's built-in caffeinate command to stop sleep for a set time, while a command runs, or until an app quits.
PowerHow to keep your Mac awake (without changing your sleep settings)
Stop your Mac sleeping during a download, render or presentation. The free Terminal command, the settings route, and the one-click way.
PowerHow to keep a MacBook awake with the lid closed
Use a MacBook closed with an external display (clamshell mode), and why keeping it awake closed without one is a bad idea.
DevelopersMac menu bar apps and settings for developers
A calmer, faster Mac for coding: clipboard history for snippets, keeping builds awake, watching CPU, and copying text from anywhere.
Remote workMac setup for remote work and video calls
Look sharp on Zoom, Meet and Teams from a Mac: clean screen sharing, no surprise notifications, no sleeping mid-presentation.
StudentsMac apps and settings for students
Study better on a MacBook: focus timers, copying text from lecture slides and videos, keeping your battery healthy, all without subscriptions.
PowerMac won't sleep? How to find what's keeping it awake
One Terminal command shows exactly which app is stopping your Mac from sleeping. Here's how to read it and fix the usual culprits.
PowerMac goes to sleep during a download? Here's how to stop it
Why big downloads and uploads fail when your Mac sleeps, and how to keep it awake until the transfer is done, then let it sleep.
Quick answers
Will my Mac keep downloading when it goes to sleep?
Usually not. Sleep pauses most downloads. Keeping it awake until the download finishes avoids that.