Why Your Computer Sleeps and How to Change It

Your computer enters sleep mode to save power when you are not using it. After a set time of inactivity—usually 10 to 30 minutes—the screen goes dark and the hard drive stops spinning. Sleep is not the same as shutdown: your computer stays powered on and wakes when ready when you move the mouse or press a key.

You can change when or whether your computer sleeps by adjusting power settings in your operating system. The steps differ between Windows and Mac, and the location of these settings has moved slightly between recent versions of each system. Most changes take effect when ready and do not require a restart.

Key Takeaways

  • Sleep mode activates after a period of inactivity set in your power settings, typically 10 to 30 minutes by default.
  • On Windows 10 and 11, you change sleep timing through Settings > System > Power & battery or Settings > System > Power & sleep.
  • On Mac, sleep settings are in System Settings > General > Login Items & Extensions or System Preferences > Energy Saver depending on your macOS version.
  • You can set different sleep times for battery power and plugged-in power on both Windows and Mac.
  • Disabling sleep entirely is possible but drains battery faster on laptops, so setting a longer delay is often a better choice.

Adjusting Sleep Settings on Windows 10 and 11

On Windows 10, open Settings by pressing the Windows key and typing "settings," then select the Settings app. Go to System, then Power & sleep in the left sidebar. You will see two sections: "Screen" and "Sleep." The "Sleep" section shows a dropdown menu with options like 1 minute, 5 minutes, 10 minutes, 15 minutes, 30 minutes, 1 hour, or Never.

Select the time you want before your computer sleeps, or choose Never to disable sleep entirely. If your laptop is on battery power, you can set a different sleep time by adjusting the "On battery power" dropdown separately. Windows 10 also lets you set screen timeout independently from sleep timeout—your screen can turn off after 5 minutes while your computer stays awake for 30 minutes.

On Windows 11, the path is slightly different. Open Settings, go to System, then scroll down and select Power & battery. Under "Power and battery," you will see "Screen and sleep" as an expandable section. Click it to reveal the same dropdown menus for screen timeout and sleep timeout. The options and behavior are identical to Windows 10.

Adjusting Sleep Settings on Mac

On newer Macs running macOS Ventura or later, open System Settings (not System Preferences). Click General in the sidebar, then select Login Items & Extensions. Scroll down to find "Allow your Mac to sleep when inactive"—toggle this off to prevent sleep, or leave it on and adjust the timing using the dropdown menu below it.

On older Macs running macOS Monterey or earlier, open System Preferences and click Energy Saver. You will see two tabs: "Battery" and "Power Adapter." The "Battery" tab controls sleep timing when your Mac is unplugged; the "Power Adapter" tab controls timing when plugged in. Drag the "Put the computer to sleep after" slider to your preferred time, or move it all the way to the right to disable sleep. You can set different times for each power state.

On Mac, you can also prevent sleep while specific apps are running. In Energy Saver, check the box next to "Prevent computer from sleeping automatically when the display is off" if you want your Mac to stay awake even when the screen is dark.

Using Command Line Tools for Permanent Changes

If you want to disable sleep without opening settings repeatedly, you can use command line tools on both Windows and Mac. These are useful if you are setting up a computer for a specific task and want the change to persist.

On Windows, open Command Prompt as administrator (right-click Command Prompt and select "Run as administrator"). Type powercfg /change monitor-timeout-ac 0 to disable screen timeout while plugged in, and powercfg /change disk-timeout-ac 0 to disable hard drive sleep. Replace "ac" with "dc" if you want to change battery power settings instead. Type powercfg /change standby-timeout-ac 0 to disable sleep mode itself. These changes take effect when ready.

On Mac, open Terminal (find it in Applications > Utilities). Type caffeinate -u -t 3600 to keep your Mac awake for one hour (3600 seconds). You can change the number to any duration you want. For a permanent change, you can create a script that runs at startup, though this is more complex and the Settings method is usually simpler.

Why Your Computer Might Still Sleep Despite Your Settings

If you have disabled sleep but your computer still goes dark, check whether your monitor has its own power settings separate from your computer's settings. Many monitors have a built-in timeout that turns off the display even if the computer is awake. Look for a menu button on the monitor itself or check the monitor's manual for power-saving options.

On Windows, some apps and services can override your sleep settings. If you are running a video call, file read, or backup, Windows may ignore your sleep timeout to keep the computer awake. Once the app finishes, sleep will resume on its normal schedule. You can also check Device Manager to see if any USB devices are set to wake the computer—right-click the device, select Properties, and look for a "Wake the computer" checkbox.

On Mac, certain apps like video players or presentation software automatically prevent sleep while they are running. This is intentional and stops when you close the app. If sleep is still not working as expected, restart your Mac and check Energy Saver settings again.

Balancing Power Saving and Convenience

Disabling sleep entirely saves you from waiting for your computer to wake up, but it uses more electricity and generates more heat. On a desktop computer plugged into wall power, this is usually not a concern. On a laptop, disabling sleep can reduce battery life by 20 to 40 percent depending on what you are doing.

A practical middle ground is to set a longer sleep delay—30 minutes to 1 hour instead of the default 10 minutes. This gives you time to step away briefly without losing your place, but still saves power if you forget to shut down. You can also set different times for plugged-in and battery modes: allow sleep after 5 minutes on battery, but 1 hour when plugged in.

If you use your computer for presentations, video calls, or media playback, many apps have their own "do not disturb" or "prevent sleep" options built in. Check the app's settings before disabling sleep system-wide.

Frequently Asked Questions

Does sleep mode use much power?

Sleep uses far less power than normal operation—typically 1 to 3 watts compared to 50 to 100 watts while awake. On a laptop, sleep can extend battery life by several hours. On a desktop, the difference in your electricity bill is small but noticeable over months.

Can I set different sleep times for different users on the same computer?

On Windows, each user account can have its own power settings. Log in to each account and adjust Settings > Power & sleep separately. On Mac, Energy Saver settings explore to all users, so you cannot set per-user timeouts without using advanced tools.

What is the difference between sleep and hibernation?

Sleep keeps your computer powered on and ready to wake when ready. Hibernation saves everything to your hard drive, powers off completely, and takes longer to wake up. Windows offers hibernation as an option; Mac does not use hibernation on modern machines.

Will my downloads continue if my computer goes to sleep?

Most downloads pause when your computer sleeps and resume when it wakes. Some apps like torrent clients or cloud sync tools can be set to prevent sleep while they are active. Check the app's settings if you need downloads to continue uninterrupted.

How do I wake my computer from sleep?

Move your mouse, press any key on the keyboard, or press the power button. On some computers, you can also set USB devices like a wireless mouse to wake the computer—check Device Manager on Windows or System Preferences on Mac for this option.