How to Stop Laptop from Sleeping
In this article
Prevent your laptop from sleeping by adjusting power settings in Windows or macOS. This keeps the screen and system active during presentations, downloads, or media playback without interruption.
What You'll Need
- A Windows PC or Mac laptop
- Administrative access to change system settings
- Access to power or battery settings in the operating system
Step-by-Step
- On Windows, click the Start menu and select Settings (the gear icon).
- Navigate to System > Power & battery. On older versions, this may be labeled Power & sleep.
- Under the Screen and sleep section, find the options for When plugged in and When on battery.
- Set the Screen dropdown to a longer duration or Never for both conditions if needed.
- Set the Sleep dropdown to a longer duration or Never to prevent the laptop from entering sleep mode.
- Click Additional power settings on the right (if visible) to access more detailed plans.
- Select Choose or customize a power plan, then click Change plan settings next to your active plan.
- Choose Change advanced power settings to open the full options window.
- Expand Sleep, then expand Sleep after, and set the values to 0 minutes (which means Never) for both On battery and Plugged in.
- Click Apply, then OK to save changes.
- On macOS, click the Apple menu and select System Settings (or System Preferences on older versions).
- Go to Battery or Energy Saver, depending on your macOS version.
- Select Battery and change the Turn display off after slider to a longer time or Never (if available).
- Repeat for the Power Adapter tab when the laptop is plugged in.
- Uncheck options like Put hard disks to sleep when possible and Slightly dim the display while on battery, if present.
- Disable the option that reads Put display to sleep when inactive for X minutes if you want full control.
- Close the window; settings are saved automatically.
Common Mistakes
One frequent error is only adjusting the screen timeout but leaving the sleep setting unchanged. The screen can turn off independently of sleep mode, so both must be configured. Another mistake is forgetting to adjust settings for both battery and plugged-in states, leading to unexpected sleep when unplugging. Some users also overlook the advanced power settings in Windows, missing key options like system unattended sleep timeout. On Macs, users often miss that display sleep and system sleep are separate—disabling display sleep doesn't stop the system from sleeping. Also, closing the laptop lid typically triggers sleep regardless of settings, unless reconfigured in advanced options.
Tips
Use the 'High performance' or 'Balanced' power plan in Windows for easier access to sleep settings. If you're giving a presentation, plug in the laptop and set both screen and sleep to Never temporarily. On macOS, consider using the Terminal command caffeinate to prevent sleep for a specific duration—run caffeinate -u -t 3600 to keep the system awake for one hour. Always revert settings afterward to preserve battery life. For frequent use, create a custom power plan in Windows or a shell script on macOS to toggle settings quickly. Avoid setting sleep to Never permanently, as it can lead to overheating or battery drain.
Troubleshooting
If the laptop still sleeps after changing settings, first restart it to ensure changes take effect. Check for pending system updates, as outdated OS versions may not apply power settings correctly. Verify that no third-party applications (like presentation or remote access tools) are overriding power behavior. In Windows, run the power troubleshooter: go to Settings > System > Troubleshoot > Other troubleshooters > Power > Run. Ensure that the active power plan is the one you modified—switching plans resets settings. On Mac, reset the System Management Controller (SMC) if sleep issues persist: shut down, press Shift+Control+Option+Power simultaneously for 10 seconds, then release. If the laptop sleeps when the lid closes, adjust lid close actions in Windows via Choose what closing the lid does, or use an external display setup on Mac to prevent sleep. If all else fails, create a new user profile to test if the issue is account-specific.
Frequently Asked Questions
Does preventing sleep harm my laptop?
No, not immediately. But prolonged use without sleep can lead to heat buildup and faster battery wear. Use this setting temporarily and monitor temperature.
Why does my laptop sleep even after I changed the settings?
Another app or power plan might be overriding your changes. Also, closing the lid or low battery can trigger sleep regardless of settings.
Can I keep my laptop awake without changing power settings?
Yes. Use apps like Caffeine for macOS or Windocks Keep Awake for Windows, or run a video or script to simulate activity.
Will my downloads continue if the laptop sleeps?
No. Sleep mode pauses most background tasks. Prevent sleep or use a download manager with wake-on-LAN support if available.
How do I stop sleep when the lid is closed?
In Windows, go to Power & sleep > Additional power settings > Choose what closing the lid does, then set it to Do nothing. On Mac, the laptop must be connected to a power source and an external display.
Is there a keyboard shortcut to prevent sleep?
Windows doesn’t have a built-in shortcut, but you can create a script or use third-party tools. On Mac, no native shortcut exists, but apps can provide one.