Does a Mac keep downloading when it goes to sleep?
December 4, 2026 · ASH
Usually not. When a Mac goes to sleep, apps stop running, and that includes the browser or app doing the download. Some downloads pick up again when you wake the Mac. Many start over, or stop with an error, and you find out an hour later.
The fix is to keep the Mac awake until the download is done. There are three easy ways to do it, and one thing to watch out for: the lid.
Why does my Mac sleep in the middle of a download?
macOS decides to sleep when nobody touches the keyboard or mouse for a while. A download running in the background does not count as you using the Mac. Some apps tell macOS “I am busy, stay awake” while they work, but plenty of them don't, so the Mac goes to sleep with the progress bar half full.
You can check what is holding your Mac awake right now with this command in Terminal:
pmset -g assertions
If nothing is listed under PreventUserIdleSystemSleep or PreventUserIdleDisplaySleep for your download app, the Mac will sleep on its normal schedule.
1. Run caffeinate -i for the length of the download
Open Terminal and type caffeinate -i. The Mac keeps running, the display can still turn off, and the download keeps going. Press Control-C when it is done.
If you know roughly how long it takes, add a time in seconds: caffeinate -i -t 7200 stops after two hours. If you start the download from Terminal yourself, put it after caffeinate, for example caffeinate -i curl -O https://example.com/big-file.zip, and the Mac stays awake exactly until the download ends.
2. Change the sleep settings for the night
For an overnight download, you can stop the Mac from sleeping at all:
- On a MacBook: System Settings → Battery → Options → turn on “Prevent automatic sleeping on power adapter when the display is off”, and plug it in.
- On a desktop Mac: System Settings → Displays → Advanced → the same switch.
The catch is remembering to turn it back off in the morning.
3. Click a timer in the menu bar
This is the case I made Brewake for. Click the cup in the menu bar and pick how long, say 2 hours. Your Mac does not sleep and the display does not dim until the time is up, then Brewake turns itself off. The cup is full while it is on, so you can see at a glance that the download is safe.
If you run pmset -g assertions while Brewake is on, you will see it listed as “Brewake is keeping this Mac awake”. That is the same kind of request video players make while you watch something.
Brewake runs on macOS 13 or later, on Apple Silicon and Intel. It has a 7-day trial, then costs $2.99 once.
What about closing the lid?
None of the above stops lid sleep. A MacBook goes to sleep when you close the lid, unless it is plugged in and connected to an external display, keyboard and mouse. For a long download, leave the lid open and turn the brightness all the way down instead.
Questions
Will the download resume when the Mac wakes up? Sometimes. It depends on the app and the server. Browsers can often resume a paused download, but app stores and installers may start over. Keeping the Mac awake is more reliable than hoping it resumes.
Does the screen have to stay on? No. caffeinate -i lets the screen turn off while the Mac keeps running. Brewake keeps the screen on, which is handy when you want to glance at the progress bar.
Does Wi‑Fi stay connected while the Mac is awake? Yes. As long as the Mac is awake, the network stays up like normal.
More on the general case: How to keep your Mac awake: Settings, caffeinate, or a menu bar app.