Where to find sleep settings on Windows and Mac
Your computer's sleep timer lives in the power settings, not in a general preferences menu. On Windows 10 and 11, open Settings, go to System, then Power & battery (or Power & sleep on older versions). On Mac, open System Settings, click General, then select Sleep in the sidebar. Both operating systems let you set different timers for when the computer is plugged in versus running on battery.
The sleep timer controls when your screen turns off and when the computer itself enters a low-power state. This is different from the lock screen, which appears when you step away but keeps the computer running. You can set sleep to happen after 1 minute, 5 minutes, 15 minutes, or any custom interval you choose — or you can disable it entirely so the computer never sleeps unless you manually put it to sleep.
Key Takeaways
- Windows sleep settings are in Settings > System > Power & battery; Mac settings are in System Settings > General > Sleep.
- You can set different sleep timers for plugged-in and battery power, so your laptop sleeps faster on battery to save charge.
- Disabling sleep entirely means your computer runs continuously until you manually shut it down or put it to sleep yourself.
- Some programs (like video players or presentation software) can override your sleep settings while they are running.
Changing sleep time on Windows
Open Settings and navigate to System > Power & battery. Under "Screen and sleep," you will see two dropdown menus: one for "Screen" and one for "Sleep." The Screen setting controls when your display turns off; the Sleep setting controls when the computer itself goes into sleep mode. You can set each independently.
Click the Sleep dropdown and choose your preferred time — common options are 1, 5, 10, 15, or 30 minutes of inactivity. If you want the computer to never sleep, select "Never." If you are using a laptop, you will see separate settings for "On battery" and "Plugged in," so you can make the computer sleep faster when running on battery to preserve charge.
Windows also includes an advanced power plan option for users who want more control. Press Windows key + R, type "powercfg.cpl," and press Enter. This opens the Power Options panel, where you can create custom power plans with different sleep times for different scenarios. Most people do not need this level of control, but it exists if your work requires it.
Changing sleep time on Mac
Open System Settings and click General in the sidebar. Select Sleep, and you will see sliders for "Turn display off after" and "Put computer to sleep after." The display setting controls when your screen goes dark; the computer sleep setting controls when the Mac enters sleep mode. You can set each to a different interval or disable either one by selecting "Never."
Mac also separates settings for when the computer is plugged in versus on battery. If you are using a MacBook, the battery settings appear below the plugged-in settings. This lets you preserve battery life by having the Mac sleep faster when unplugged. Unlike Windows, Mac does not offer custom power plans — the settings you see are the only options available.
Why programs sometimes override your sleep settings
Video players, presentation software, and some streaming apps can tell your computer to stay awake while they are running. This prevents your screen from going dark in the middle of a movie or presentation. The override is temporary and only lasts while the program is active; once you close it, your normal sleep settings take over again.
If a program is preventing sleep and you want to force the computer to sleep anyway, you can manually put it to sleep. On Windows, press Alt + F4 to close the program, then use the Start menu to select Sleep. On Mac, press Control + Eject (or Control + Power on newer models) to bring up the sleep option, or use the Apple menu and select Sleep.
Setting different timers for different power states
Both Windows and Mac let you set one sleep timer for when the computer is plugged in and a different timer for when it is running on battery. This is useful if you want your laptop to stay awake longer when you are at a desk but sleep faster when you are mobile and want to preserve battery.
On Windows, the "On battery" and "Plugged in" sections appear side by side in Power & battery settings. On Mac, the battery settings appear below the plugged-in settings in the Sleep panel. A common setup is to set sleep to "Never" when plugged in (so your desktop or docked laptop stays awake) and 5 or 10 minutes on battery (so your laptop does not drain charge while you are away).
What happens when your computer sleeps
Sleep mode is different from shutdown. When your computer sleeps, it enters a low-power state where the processor and most components slow down or turn off, but the computer remains ready to wake up when ready when you move the mouse or press a key. Your open programs and files stay in memory, so you return to exactly where you left off.
Sleep uses much less power than running normally but more power than being completely shut down. If your computer is plugged in, sleep makes little difference to your electricity bill. If you are on battery, sleep extends your charge time significantly compared to leaving the computer awake. Hibernation (available on Windows) is an even deeper sleep state that saves everything to the hard drive and uses almost no power, but it takes longer to wake up.
Troubleshooting sleep that does not work
If your computer is not sleeping when it should, check whether a program is overriding your settings. Video players, web browsers with active streams, and some background apps can prevent sleep. Close the program and try again, or check the program's settings to see if it has its own sleep override option.
On Windows, you can also check the Event Viewer to see what is preventing sleep. Press Windows key + R, type "eventvwr.msc," and look under Windows Logs > System for "Power-Troubleshooter" events. On Mac, open Terminal and type "pmset -g log" to see a history of sleep and wake events. If your computer is waking up unexpectedly, these logs can show you which device or program is causing it.
Frequently Asked Questions
Can I set sleep to happen after 2 minutes or 7 minutes instead of the preset options?
On Windows, yes — the dropdown menu includes a "Custom" option that lets you enter any number of minutes you want. On Mac, the sliders let you set any interval from 1 minute to several hours. Both systems also allow you to set sleep to "Never" if you want the computer to stay awake indefinitely.
Does sleep mode use electricity?
Yes, but very little. A sleeping computer uses roughly 1 to 3 watts of power, compared to 50 to 150 watts when running normally. If your computer is plugged in, the difference is negligible on your electricity bill. On battery, sleep extends your charge time significantly.
Will my downloads or uploads stop if the computer goes to sleep?
Yes. When the computer sleeps, network activity stops. Large downloads, uploads, or file transfers will pause and resume when you wake the computer. If you need to read or upload a large file, disable sleep temporarily or set it to a longer interval than the transfer will take.
What is the difference between sleep and hibernation?
Sleep keeps your computer in a low-power state with everything in memory, so it wakes up when ready. Hibernation saves everything to the hard drive and uses almost no power, but takes longer to wake up. Windows offers hibernation as an option; Mac does not have a separate hibernation mode.
Can I set sleep to happen automatically at a specific time of day?
Windows does not have a built-in scheduler for this. Mac users can use the Energy Saver settings in System Preferences to schedule sleep, though this feature is limited. For more control, both systems support third-party scheduling software, but the standard sleep timer based on inactivity is the most common approach.