Identify when the transfer stops
Read the download app’s last message first: paused transfer, network error, storage shortage or sign-in required. If it fails while you are actively using the Mac, check Wi-Fi, VPN, the server and free space before changing power settings. Expiring links and a closed download app are separate problems.
If the failure consistently follows locking or closing the lid, note the timing and check power behavior. A dark screen alone does not identify the cause.
Screen off is not system sleep
A display can be off while the system continues working. Locking does not itself prove a transfer stopped, but automatic system sleep can follow later. On supported Macs, Apple provides an option to prevent automatic sleep on power while the display is off. Keep password protection enabled.
Wake for network access is not a general promise to keep arbitrary downloads running overnight; Apple describes brief wakeups for shared services.
Use caffeinate with the lid open
The command below requests prevention of idle system sleep for one hour. Keep that terminal open and download in your usual app. Stop early with Ctrl+C. The -t value is in seconds; the assertion ends after the timeout.
-i concerns idle system sleep; -d concerns display sleep and is unnecessary just to allow the screen to turn off. caffeinate does not resume failed downloads, guarantee connectivity, or override every sleep condition. Consult man caffeinate on your own Mac.
caffeinate -i -t 3600man caffeinateClosing the lid changes the conditions
An open-lid test does not establish closed-lid behavior. For an external-display setup, check the Mac’s supported display configuration, power, external keyboard and mouse. A charger alone does not establish that configuration.
Without an external screen, test a short noncritical transfer separately. Compare bytes received before and after closing the lid; finding the app still open is not proof of continuous progress.
Use pika for closed-lid downloads
Install pika and prepare its helper. Start the download, turn Session ON, leave Monitor OFF if display retention is unnecessary, then close the lid. Open-lid toggles do not immediately blank the display; the display policy applies after lid closure.
Reopen after a short interval and inspect progress. Turn Session OFF when finished; this releases sleep prevention without immediately blanking the screen. Use power on a ventilated desk, not inside a closed bag. Protection thresholds or helper failures may stop the session. pika does not handle download errors or detect transfer completion for you.
Check completion and common questions
Check that the download app reports completion and the saved file has the expected size. Verify a checksum if the publisher supplies one. Resume through the app’s supported workflow; an expired link may require returning to the original download page.
Screen state does not guarantee faster transfer. Preventing sleep does not guarantee Wi-Fi, VPN or server availability. Start with a short test; these steps are not a claim of uninterrupted operation across all hardware and apps.
Sources
Checked October 11, 2026 against Apple documentation, the local caffeinate(8) manual and pika source. Written by the pika maker. Sources are linked below.
- Apple · Sleep and wake settings
- Apple · External displays
man caffeinate· macOS System Manager’s Manual