AfterLid
All guides
THE AFTERLID FIELD GUIDEmacOS · Updated · 5 min read

Do Mac downloads continue in sleep mode?

Ordinary browser downloads generally pause when your Mac enters system sleep. Turning off or locking the display is different: the transfer can keep running while the Mac stays awake.

By Raj Sajnani, founder of AfterLid. We build the app discussed here.

THE SHORT ANSWER

For an existing download, run caffeinate -i -t 7200 in Terminal and leave it running with the lid open. It prevents idle system sleep for two hours. Check the actual download progress; an awake Mac cannot repair a failed transfer.

Give the download a bounded awake session

Open Terminal and run this while your browser or download app is transferring the file:

Prevent idle sleep for two hours
caffeinate -i -t 7200

The time is in seconds. Keep the Terminal process running and the laptop lid open. Press Control+C in that Terminal window to end the session early. When the command ends, macOS follows its usual sleep settings again.

This command does not keep the display lit. That is useful when you want the transfer to continue without lighting your desk all evening. You can still lock your screen; locking and putting the computer to sleep are separate actions.

Check the transfer, then check the assertion

Note the downloaded amount or progress percentage. Wait a short time without interacting with the Mac, then check that the amount has increased. Look at the destination folder too if the app exposes a partial file. A moving animation alone is weak evidence.

For a read only view of macOS power assertions, open another Terminal window:

Inspect active power assertions
pmset -g assertions

While the command is active, look for an idle sleep prevention assertion associated with caffeinate. A value of 1 beside PreventUserIdleSystemSleep indicates that an assertion is present at that moment. Other apps can hold one too. It does not prove that the download is progressing or will finish.

A setting may already cover your setup

On supported Mac laptops, Battery settings offer an option to prevent automatic sleeping on the power adapter while the display is off. The location and available controls vary by Mac and macOS version. Follow Apple’s sleep settings instructions for your model.

Some transfer apps already hold their own power assertion. If yours does, an additional tool may make no difference. Use the temporary command when you want a session that ends on its own, and restore your normal settings after a longer change.

Use Awake when you prefer an app control

AfterLid’s local power controls are Free. Select Awake for work with the lid open, check the transfer and return to Sleepy when you are finished. Awake keeps both the Mac and its display awake, so its display behavior differs from the command above.

A linked phone can show desktop status on Free. Remote mode changes require Pro. Follow the phone setup page for the current app links, and check the plan shown in your account before choosing a paid feature.

Separate sleep from a broken download

  • If the app shows a network error, check Wi-Fi, VPN access and the download server.
  • If the destination is full or disconnected, free space or reconnect the drive.
  • If the link expired, obtain a fresh link and check whether the service supports resuming.
  • If the command ended before the transfer, choose an appropriate duration for the next attempt.

AfterLid and caffeinate do not make a slow connection faster, restart a crashed browser or recover every interrupted file. For a comparison of the controls, read Caffeinate vs AfterLid.

Let the Mac sleep when the work is done

Confirm that the file completed and opens as expected, then end the awake session. Keep a working laptop on a stable surface with clear ventilation. Put it to sleep before placing it in a bag.

Always On is a separate AfterLid mode with helper setup and bounded sessions. It is not part of this lid open procedure, and its safeguards do not detect a backpack. Read the limits of guarded operation before choosing that mode.

Common questions

Can the screen turn off while the download continues?

Yes. The example uses -i for idle system sleep and does not request display sleep prevention. System sleep, display sleep and screen locking are different states.

Can I close Terminal?

Keep the caffeinate process running for this procedure. Closing its window can end it. Use Control+C when you intend to stop the awake session.

Does closing the lid keep the download going?

Do not rely on this command for lid closed operation. These steps assume an open laptop. Supported external display setups and AfterLid’s separate Always On mode have their own requirements.

Sources and scope

Sleep and display distinctions checked against the macOS caffeinate(8) manual on 8 November 2026. AfterLid mode and plan boundaries were checked against the current public homepage. Examples use an open laptop; behavior and availability can vary by installed version.

Published . Revised . Plan availability and connection behavior can change with the installed build.

Get AfterLid