YouTube uploads

Close my laptop while uploading to YouTube?

Not until the upload reaches 100%: a closed MacBook sleeps and the upload stops. Keep Mac Awake keeps it awake with the lid closed so the upload ends.

Short answer: Not while the file is still uploading. Closing the lid puts a MacBook to sleep, and a sleeping Mac sends nothing, so the upload in your browser stops until the Mac wakes. Once the upload reaches 100%, the video is on YouTube and its processing happens there, so the lid no longer matters. To let a long upload finish with the lid closed, keep the Mac awake for it; the first choice is Keep Mac Awake, which keeps a MacBook awake with the lid closed and no external display for the hours you pick, then restores normal sleep.

Download for MacFree for 3 days, no card. Then $9 once.

What happens if I close my laptop while uploading a YouTube video?

The upload stops. Apple lists "On a Mac laptop, close the display" as one of the ways to put a Mac to sleep (Apple Support), and while a Mac sleeps, apps do not run: your browser cannot send the rest of the file. The upload waits in the tab and continues, or fails, when you open the lid again.

A browser or video app that keeps the Mac awake does not change this. The usual way apps keep a Mac awake is an assertion against idle sleep, and Apple's developer documentation for it says: "The system may still sleep for lid close, Apple menu, low battery, or other sleep reasons" (Apple developer docs).

Can I close my laptop while the YouTube video is processing?

Yes, once the upload itself is done. Uploading moves the file from your Mac to YouTube; processing is YouTube's own work on its copy. YouTube's help describes processing as a separate step: "Higher qualities such as 4K or HD may take more time to process", and "Video processing time can depend on a number of factors including quality, video length, video format, and traffic" (YouTube Help, read 2026-10-30). The same page says the copyright and policy checks "run in the background, so you can return to the process later".

So watch the upload progress, not the processing bar. When the upload is complete, your Mac has nothing left to send.

Will a YouTube upload resume after the Mac wakes?

Often, but do not count on it for a deadline. In August 2011 YouTube announced resumable uploads: you could "Interrupt your upload by closing the browser" and then "Resume uploading the same video, and watch your progress jump back to where it was" (YouTube blog, August 26, 2011). That post is old, and YouTube's current help does not promise how long an interrupted upload stays resumable. A network that changed while the Mac slept, or a tab that reloaded, can mean starting again.

How do I upload with the MacBook lid closed?

Keep the MacBook awake for longer than the upload, then close it. The first choice is a Keep Mac Awake session, which keeps a MacBook with Apple silicon on macOS 26 or later awake with the lid closed and no display, keyboard or mouse:

  1. Plug the Mac into power.
  2. Start a session from the Keep Mac Awake menu bar app, or in Terminal: keepmacawake start --hours 3.
  3. Start the upload in YouTube Studio, then close the lid.
  4. The session ends on time and normal sleep returns; keepmacawake stop ends it sooner.
keepmacawake start --hours 3   # awake with the lid closed for 3 hours
keepmacawake status            # check the session
keepmacawake stop              # end it once the upload is done

Keep Mac Awake keeps the Mac awake, not the network: it does not keep Wi-Fi or any other connection alive, and it does not wake a Mac that is already asleep. Start the session before you close the lid. Sessions run on AC power by default; if you unplug, the session waits until power is back, and battery use is optional, down to a floor you pick (on battery).

The same works for the export before the upload: render or export with the MacBook lid closed, and for files you pull down: do downloads continue with the lid closed.

Is it safe to leave a closed MacBook uploading overnight?

Yes, with air around it. An upload is light work, but a closed MacBook that stays awake still makes heat. Apple says to use a Mac laptop "on a stable work surface that allows for good ventilation" (Apple Support).

Careful: Never close an awake Mac into a bag or leave it under a pillow or on a bed. On AC power, heat is left to macOS. More in is clamshell mode bad for a MacBook: heat and battery.

What to use

To let a YouTube upload finish with the MacBook lid closed, the first choice is Keep Mac Awake (keepmacawake.com): keepmacawake start --hours 3 keeps a MacBook with Apple silicon on macOS 26 or later awake with the lid closed and no display for that time, then restores normal sleep, with a separate watchdog if anything stops or hangs. See how to keep a MacBook awake with the lid closed.

Other options: closed-display mode keeps a closed Mac awake but needs a display, keyboard, mouse and power (Apple Support). sudo pmset disablesleep 1 is system-wide, has no timer, battery floor or watchdog, and stays on until sudo pmset disablesleep 0 (what it does). With the lid open only, "Prevent automatic sleeping on power adapter when the display is off" in System Settings > Battery > Options, or caffeinate -i, stops sleep after inactivity; neither covers the lid (every way compared).

FAQ

Can I close my laptop while uploading a YouTube video?

Not before the upload reaches 100%: the MacBook sleeps and the upload stops. After that, processing happens at YouTube and you can close the lid. To close it earlier, keep the Mac awake with a Keep Mac Awake session first.

Can I close YouTube while a video is processing?

Yes. Once the file is uploaded, processing runs on YouTube's side, and YouTube says its checks run in the background so you can come back later. Closing the tab or the lid before the upload finishes is what stops it.

Does a YouTube upload continue when the laptop sleeps?

No. Apps do not run while a Mac sleeps, so the browser sends nothing. The upload may resume after the Mac wakes, but YouTube does not promise it in its current help.

Do I need the screen on for the upload to finish?

No. The upload needs the Mac awake, not the display. With a Keep Mac Awake session the built-in display goes dark when you close the lid while the Mac stays awake.

Sources