Few things are more frustrating than starting a large download, walking away from your MacBook, and returning to find the download paused because the computer went to sleep. This is especially common when downloading large games, software installers, cloud backups, virtual machines, or video files that can take hours to complete.
The good news is that macOS gives you several ways to keep your MacBook awake during downloads. The best method depends on what you’re downloading, whether your MacBook is plugged into power, and which version of macOS you’re using.
This guide explains every practical option, when each one works best, and how to avoid unnecessary battery drain afterward.
Why Downloads Stop When Your MacBook Sleeps

Before changing any settings, it helps to understand what sleep actually does.
When a MacBook enters sleep mode, most background processes stop running. The processor enters a low-power state, network activity is reduced or suspended, and many applications pause their tasks.
If you’re downloading files through Safari, Chrome, Steam, Dropbox, or another application, the download usually pauses until the Mac wakes again.
There are exceptions. Some newer Macs can perform limited background tasks during certain low-power states, but you shouldn’t rely on this for large downloads. If uninterrupted downloading is important, preventing sleep is still the safest approach.
Keep in mind that turning off the display is different from putting the Mac to sleep. The display can go dark while the computer continues downloading normally.
Check Whether Your MacBook Is Actually Sleeping
Sometimes people think sleep is causing the problem when something else is responsible.
Your MacBook is probably sleeping if you notice any of these signs:
- The screen is completely black and doesn’t respond until you press a key or open the lid.
- Wi-Fi disconnects during long downloads.
- Download progress pauses for an extended period.
- Network activity resumes only after waking the Mac.
If the download stops even while the Mac is awake, the issue may instead be your internet connection, the download server, or the application you’re using.
Method 1: Change Sleep Settings in System Settings
For most users, adjusting macOS power settings is the simplest solution.
The exact steps depend on your version of macOS.
macOS Ventura, Sonoma, and Later
- Open System Settings.
- Select Lock Screen.
- Find Turn display off on power adapter when inactive.
- Increase the timer to a longer period that covers your download.
- Connect your MacBook to its charger.
Next:
- Return to System Settings.
- Open Battery.
- Select Options.
- Enable the option that prevents automatic sleeping when the display is off while connected to a power adapter, if your Mac model provides this setting.
Apple has changed these options several times across macOS releases, so the wording may vary slightly depending on your Mac.
macOS Monterey and Earlier
- Open System Preferences.
- Select Battery or Energy Saver.
- Click Power Adapter.
- Move the Turn display off after slider to a longer duration.
- Enable Prevent your Mac from automatically sleeping when the display is off, if available.
After saving the settings, your Mac should remain awake while plugged into power, allowing downloads to finish without interruption.
Method 2: Use the Terminal “caffeinate” Command
If you only need to keep your Mac awake temporarily, the Terminal provides one of the best solutions.
macOS includes a built-in command called caffeinate. As the name suggests, it keeps your Mac awake without permanently changing any system settings.
Open Terminal and enter:
caffeinate
As long as that Terminal window remains open, your Mac will not enter sleep.
When the download finishes:
- Return to Terminal.
- Press Control + C.
- Sleep behavior immediately returns to normal.
This approach is excellent because you don’t have to remember to change system settings later.
Keep the Mac Awake for a Specific Time
If you know roughly how long the download will take, specify a time limit.
For example, to prevent sleep for two hours:
caffeinate -t 7200
The number represents seconds.
Some common values include:
| Time | Seconds |
|---|---|
| 30 minutes | 1800 |
| 1 hour | 3600 |
| 2 hours | 7200 |
| 4 hours | 14400 |
Once the timer expires, macOS returns to its normal sleep behavior automatically.
Method 3: Keep the Display Off While Preventing Sleep
Many people assume the screen must stay on to prevent sleeping. It doesn’t.
Allowing the display to turn off while keeping the computer awake offers several advantages:
- Lower power consumption
- Less screen wear
- Reduced heat generation
- Fewer distractions overnight
On Macs that support it, enabling “Prevent automatic sleeping when the display is off” gives you the best balance between power savings and uninterrupted downloads.
You can also manually reduce screen brightness to nearly zero while leaving the Mac awake.
Method 4: Use Amphetamine for More Control
If you frequently download large files, a dedicated utility can be more convenient.
Amphetamine is a free Mac utility that keeps the computer awake under specific conditions.
Some examples include:
- Stay awake for a certain number of hours.
- Stay awake until a download finishes.
- Stay awake while a particular application is running.
- Stay awake only when connected to external power.
- Create reusable automation sessions.
This flexibility makes it useful for people who regularly download large media files, game libraries, development tools, or cloud backups.
Unlike permanently disabling sleep, you can configure Amphetamine to stop automatically once the task completes.
Method 5: Download While Connected to Power
Most sleep-related settings work better when the MacBook is plugged into its charger.
Apple designs macOS to be more aggressive about conserving battery power when running on battery alone. Even if you extend display timers, the system may still enter sleep sooner than expected.
For large downloads that may last several hours, connecting the charger is the safest approach.
It also avoids draining the battery during overnight downloads.
When Closing the Lid Still Stops Downloads
One of the most common questions is whether simply closing the MacBook lid allows downloads to continue.
In almost every case, the answer is no.
Closing the lid normally puts the MacBook to sleep immediately.
Changing Energy Saver or Battery settings usually does not override this behavior.
If you need downloads to continue:
- Leave the lid open.
- Turn the screen brightness down.
- Allow the display to switch off automatically.
Can Clamshell Mode Help?
Clamshell mode lets you use a MacBook with the lid closed, but only when:
- External monitor is connected
- External keyboard is connected
- External mouse or trackpad is connected
- Power adapter is connected
This mode is intended for desktop use rather than unattended downloads. Without an external display setup, closing the lid will still put the Mac to sleep.
Downloads That Commonly Stop During Sleep
The effect depends on the application.
Downloads that typically pause include:
- Safari downloads
- Chrome downloads
- Firefox downloads
- Steam game downloads
- Epic Games downloads
- Blizzard Battle.net downloads
- Large software installers
- ISO images
- Torrent clients without special sleep management
- Cloud synchronization tasks
Some cloud storage services may resume automatically after waking, but they still stop transferring data while the Mac sleeps.
Common Mistakes That Prevent Downloads From Finishing
Many download interruptions come from small configuration mistakes.
Confusing Display Sleep With Computer Sleep
Turning off the display is not the same as sleeping.
The display can be off while downloads continue normally.
Closing the Lid
Even if you’ve disabled automatic sleep, closing the lid usually overrides those settings.
Running on Low Battery
macOS may reduce background activity to conserve power.
For lengthy downloads, connect the charger before starting.
Forgetting About Scheduled Sleep
Some users configure automatic sleep schedules or Focus modes that indirectly interrupt overnight downloads.
If downloads consistently stop at the same time every night, review any scheduled automation you’ve created.
Troubleshooting If Your Downloads Still Pause
If you’ve already prevented sleep but downloads continue stopping, investigate these possibilities.
Check Your Internet Connection
Temporary Wi-Fi interruptions can pause downloads even though the Mac stays awake.
Restarting the router or switching to Ethernet can improve stability for extremely large downloads.
Verify the Download Application
Some applications pause downloads after network interruptions or require manual confirmation before resuming.
Look for options such as automatic resume or retry failed downloads.
Disable VPN Temporarily
VPN connections occasionally disconnect during long transfers.
If the download repeatedly stalls at random intervals, test the download without the VPN to see whether stability improves.
Make Sure the Mac Isn’t Restarting
Software updates, kernel panics, or unexpected shutdowns can interrupt downloads regardless of sleep settings.
Check whether your Mac has restarted unexpectedly by reviewing recent login times or system notifications.
Should You Disable Sleep Permanently?
For most people, no.
Sleep mode exists for good reasons:
- Conserves battery power
- Reduces energy consumption
- Extends battery lifespan
- Lowers heat production
- Improves overall efficiency
Instead of disabling sleep all the time, use one of these approaches when needed:
- Temporarily extend sleep settings.
- Use the
caffeinatecommand. - Use an app like Amphetamine.
- Plug the MacBook into power during long downloads.
Once the download finishes, return your Mac to its normal power-saving behavior.
Best Practices for Long Overnight Downloads
If you’re downloading hundreds of gigabytes or leaving the Mac running overnight, a few precautions can improve reliability.
- Connect the charger before starting.
- Use a stable Wi-Fi network or Ethernet if available.
- Leave the lid open.
- Allow only the display to turn off.
- Use
caffeinateif you don’t want to modify system settings. - Confirm you have enough available storage before beginning the download.
- Disable automatic sleep only for as long as necessary.
These small steps reduce the chances of waking up to an incomplete download.
Final Thoughts
Knowing how to stop a MacBook from sleeping when downloading files can save hours of frustration, especially when dealing with large software packages, games, backups, or media files.
For occasional downloads, the built-in caffeinate command is usually the easiest and safest solution because it doesn’t permanently change your Mac’s settings.
If you download large files regularly, adjusting your power settings or using a utility like Amphetamine provides more flexibility while still allowing the display to turn off and conserve energy.
Whichever method you choose, remember that closing the lid will usually put the MacBook to sleep.
Leaving the lid open, connecting the charger, and temporarily preventing sleep gives your downloads the best chance of finishing without interruption.
Related Articles
- How to Reduce Memory Usage on MacBook
- How to Disable Unnecessary macOS Background Processes Without Breaking Your Mac
- How to Recover Deleted Files From MacBook Without Time Machine
- How to Find Large Files Taking Up Space on Mac
If you think there’s been a mistake here, please do let us know by commenting on this post or Contact Us. And a member of our Content Integrity Team will review this decision with you.
