← GuidesPower · 4 min read · November 23, 2026 · by Dom, who makes Desktop Goods

Mac 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.

You start a big download, walk away, and come back to find it paused at 40%. When a Mac goes to sleep it drops its network connection, so downloads, uploads, backups to a server and cloud syncs stop until it wakes up again. Some pick up where they left off, plenty don’t.

The fix is to keep the Mac awake until the transfer is done, and only that long.

Keep the display on? Not needed

The screen turning off isn’t the problem. A Mac with a dark display keeps working. What stops a download is system sleep. So you can let the display sleep and keep the rest awake, which saves power and the screen.

Option 1: caffeinate until the download app quits

Open Terminal and type:

caffeinate -i

Your Mac stays awake until you close Terminal or press ⌃C. If the download runs in its own app, you can tie it to that app instead. Find its process ID in Activity Monitor (the PID column), then run:

caffeinate -i -w PID

Replace PID with the number. Your Mac stays awake until that app quits.

Option 2: change your sleep settings for tonight

On a MacBook, open System Settings, click Battery, then Options, and turn on Prevent automatic sleeping on power adapter when the display is off. On a desktop Mac the equivalent lives under Energy. Just remember to switch it back in the morning.

Option 3: one click, and it lets go by itself

Vigil keeps your Mac awake for 15 minutes, 1 hour, 3 hours, no limit, or until an app you pick quits, so a download app, a game launcher or an installer can hold the Mac awake for exactly as long as it runs. Choose to let the display dim while it works. When the time is up or the app quits, your Mac sleeps normally again. Nothing in your settings changes.

Two more tips

  • Plug in. On battery, macOS is more eager to sleep, and closing a MacBook’s lid always sleeps it.
  • Check the app’s own setting. Some download managers and backup apps have their own “prevent sleep while downloading” option. If yours does, that’s the simplest fix.
Try it right here

Vigil, live in your browser

This is the real interface. Click around. If it fits, it's yours for $4.99 once, with 30-day refunds.

Exporting “Wedding film final.mov”
4K · 38 min
41%About 52 minutes left
Export stops if your Mac goes to sleep.
Display sleeps in 0:08
Your Mac went to sleep.The export stopped at 41%. Click to wake it.
VigilOff
AWAKE FOR ANOTHER1:00:00
Keep awake for
Try it: wait, then keep it awake

Related