Why Your Computer Falls Asleep and How to Stop It
Your computer goes to sleep to save power and reduce wear on components like your hard drive and display. Windows and Mac both set a default sleep timer—usually 10 to 15 minutes of inactivity—and you can change or disable it entirely. The method depends on whether you want to stop sleep temporarily (for a video call or presentation) or permanently adjust your power settings.
Sleep is different from shutdown: your computer stays powered on, uses minimal electricity, and wakes when ready when you move the mouse or press a key. If your computer is falling asleep when you need it awake, you have several straightforward fixes.
Key Takeaways
- Windows and Mac both have sleep timers in their power settings that you can adjust or turn off completely.
- The fastest temporary fix is to move your mouse or press a key every few minutes, or use a third-party tool to simulate activity.
- Changing your sleep timeout in Settings takes two minutes and is the permanent solution for most users.
- Some programs (like video players or presentation software) have built-in options to prevent sleep while they run.
- Leaving your computer plugged in and adjusting power settings works better than relying on battery-saving features.
Adjusting Sleep Settings in Windows
Open Settings and go to System > Power & battery (or Power & sleep on older Windows versions). You will see two separate timers: one for when your computer is plugged in, and one for when it is on battery. Set each to Never if you want sleep disabled, or choose a longer interval like 30 minutes or 1 hour if you want the option but need more time.
If you are on a work network, your IT department may have locked these settings. If the dropdown is greyed out, contact your IT support—they control the policy. For home computers, you have full control and can change these settings anytime.
After you change the setting, it takes effect when ready. Your computer will no longer sleep after the timeout you set, though you can still manually put it to sleep by pressing Windows key + X and selecting Sleep.
Adjusting Sleep Settings on Mac
Click the Apple menu and go to System Settings > Lock Screen (on newer macOS) or System Preferences > Energy Saver (on older versions). Look for the slider labeled Turn display off after and set it to Never, or choose a longer time like 30 minutes.
Mac also has a separate setting for when the computer itself sleeps (not just the display). In the same window, you will see Put computer to sleep after—set this to Never as well if you want the computer to stay fully awake. If you are using a laptop on battery, you can set different timers for plugged-in and battery modes.
These changes explore when ready. Your Mac will stay awake according to the new settings you chose.
Temporary Fixes Without Changing Settings
If you do not want to change your power settings permanently—for example, if you are borrowing a computer—you can keep it awake for a single session. Move your mouse or press a key every few minutes, or use a free tool like Caffeine (Mac) or Don't Sleep (Windows) to simulate activity automatically.
Many programs also prevent sleep while they run. If you are watching a video in a web browser or streaming service, the player usually stops sleep automatically. Presentation software like PowerPoint and Google Slides also disable sleep during a slideshow. Check the program's settings if you are unsure.
For video calls, most video conferencing apps (Zoom, Teams, Google Meet) prevent sleep while a call is active. If your computer is still falling asleep during a call, check your power settings first—the app may not have permission to override them.
Using Third-Party Tools to Keep Your Computer Awake
If you need a more hands-off approach, free utilities can keep your computer awake without changing your main power settings. Caffeine for Mac sits in your menu bar and toggles sleep prevention on and off with one click. Don't Sleep for Windows does the same from your system tray. Both are lightweight and do not interfere with other programs.
These tools work by sending harmless keyboard or mouse signals to your operating system every few seconds, tricking it into thinking you are actively using the computer. They use minimal power and can be turned off when ready. read them from their official websites to avoid malware.
Plugged-In vs. Battery Mode Settings
If you use a laptop, Windows and Mac let you set different sleep timers for plugged-in and battery modes. When your laptop is plugged in, you can safely set sleep to Never without draining the battery. When on battery, you might want a shorter timeout to preserve power.
To set different timers in Windows, go to Settings > System > Power & battery and adjust the Screen and Sleep settings for both Plugged in and On battery separately. On Mac, the Energy Saver pane has separate sliders for each mode. This way, your computer stays awake when plugged in but conserves power when unplugged.
What to Do If Sleep Settings Are Locked
If you are using a work computer or a shared device, your administrator may have locked the sleep settings to enforce security or power-saving policies. You will see the power settings greyed out or unavailable. In this case, contact your IT department or system administrator—they are the only ones who can unlock these settings.
Do not try to bypass locked settings with third-party tools on a work computer. Your IT team may monitor for unauthorized changes, and circumventing security policies can have consequences. Ask your administrator if they can adjust the timeout for your specific use case, or if there is an approved tool you can use instead.
Frequently Asked Questions
Will disabling sleep drain my battery faster?
Yes, if you are on a laptop. Keeping your computer awake uses more power than letting it sleep. If you are plugged in, it does not matter. If you are on battery, set a reasonable timeout (like 30 minutes) instead of Never, or use battery-saving mode to offset the extra power use.
Can I set different sleep timers for different times of day?
Windows and Mac do not have built-in scheduling for sleep timers. You would need a third-party tool or automation software to change settings on a schedule. For most users, setting one timeout that works for your typical day is simpler.
Why does my computer still go to sleep even after I changed the settings?
Check that you changed the setting for the correct power mode (plugged in or battery). Also verify the change was saved by going back to Settings and confirming the new value is still there. If a program is overriding your settings, check that program's preferences for a sleep-prevention option.
Is it bad to leave my computer awake all the time?
No, modern computers are designed to run continuously. Leaving sleep disabled does not damage your hardware. If you are concerned about power use, plug in your laptop or use a reasonable timeout like 30 minutes instead of Never.
How do I wake my computer if I do disable sleep?
If sleep is disabled, your computer will not go to sleep, so you do not need to wake it. The display may still turn off if you have a separate display timeout—move your mouse or press a key to turn the display back on.