Open Settings > System > Power & battery > Screen and sleep, then set the sleep time for plugged in and on battery. This is the quickest way to change how long your PC waits before sleeping in Windows 11. It works for both laptops and desktops, and the same page also controls when the screen turns off.
Before you start, close any unsaved work—changing sleep settings won’t close apps, but it’s good to know where your files are saved. The steps below use menu names that are standard in Windows 11, though labels can differ slightly by version.
Before You Start: What Sleep Means on Your PC
Sleep puts your PC into a low-power state. Your open apps and files stay in memory, so you can wake it quickly. It uses a small amount of battery on a laptop, and almost no power on a desktop. If you want to keep your PC running but turn off the screen only, set the screen time separately. If you want to save the most power, set both times to shorter values.
You can set different times for when your PC is plugged in and when it runs on battery. This is useful if you want a longer sleep time at your desk but a shorter one when you’re away from an outlet.
Steps to Change Sleep Time in Windows 11
- Press Windows key + I to open Settings.
- Select System from the left sidebar.
- Select Power & battery (on a laptop) or Power (on a desktop).
- Scroll to the Screen and sleep section.
- Under On battery power, put my device to sleep after, choose a time from the dropdown—for example, 5, 10, 15, or 30 minutes, or 1 hour.
- Under When plugged in, put my device to sleep after, choose a separate time. If you never want it to sleep while plugged in, select Never.
- Optionally, set the Screen times above the sleep times. The screen can turn off earlier than sleep, which saves power without closing your work.
Your changes save automatically. There’s no “Apply” button. You can close Settings when done.
Why Screen and Sleep Times Are Separate
The screen time controls when the display turns off. The sleep time controls when the whole PC sleeps. You might want the screen off after 5 minutes but the PC to stay awake for 30 minutes, so you can still run downloads or backups. Setting them separately gives you that control. If you set the screen to turn off at the same time as sleep, the PC will sleep at that moment, not before.
On a laptop, the battery option is always available. On a desktop, you’ll only see the “plugged in” option, because a desktop doesn’t run on battery.
Worked Example: Setting a 10-Minute Sleep Time
Suppose you want your laptop to sleep after 10 minutes on battery and after 30 minutes when plugged in. Here’s what you set:
- On battery power, put my device to sleep after: 10 minutes
- When plugged in, put my device to sleep after: 30 minutes
- Screen on battery: 5 minutes (optional, so the screen turns off sooner)
- Screen plugged in: 10 minutes (optional)
With these settings, your screen turns off after 5 minutes on battery, and the PC sleeps after 10 minutes. When plugged in, the screen goes off after 10 minutes, and the PC sleeps after 30 minutes. If you’re in the middle of watching a video, the PC won’t sleep as long as the video is playing, because Windows detects media playback and keeps the system awake.
What to Do If Your PC Still Sleeps Too Soon
If you set a long sleep time but your PC still sleeps quickly, check these three things:
- Power mode: In Settings > System > Power & battery, check the power mode. If it’s set to “Best power efficiency,” Windows may shorten sleep times. Switch to “Balanced” or “Best performance” to keep your chosen times.
- Old settings from a previous version: If you upgraded from Windows 10, some old power plan settings might override the new Settings page. Open Control Panel > Hardware and Sound > Power Options, then click “Change plan settings” for your active plan. Check the “Put the computer to sleep” times there and set them to match.
- A specific app is preventing sleep: Some apps, like video players or download managers, can keep your PC awake. If you want to force sleep, close those apps first. You can also check which apps are using power by going to Settings > System > Power & battery > Battery usage (on a laptop).
Common Mistakes That Cause Sleep Settings to Fail
Here are three mistakes people often make, and what each one causes:
- Setting only the screen time and not the sleep time: Your screen turns off, but the PC stays fully awake, using more power. You’ll see a black screen but the fan still runs.
- Choosing “Never” for sleep while plugged in, then forgetting it: Your PC will never sleep on its own. This can drain your laptop battery if you unplug it later, and it wastes electricity on a desktop.
- Editing the old Control Panel power plan after changing Settings: The two can conflict. The Control Panel plan may have a shorter sleep time, so your PC sleeps sooner than you set in Settings. Always check both places if you’ve used Control Panel before.
How to Wake Your PC From Sleep
To wake your PC, press any key on the keyboard, move the mouse, or press the power button once. If your PC doesn’t wake, press the power button for a few seconds to force a restart—but you may lose unsaved work. To avoid that, save your files before letting the PC sleep. If you often have unsaved work, consider setting a longer sleep time or using “Hibernate” instead of sleep (available in the same Power & battery settings, under “Related settings” > “Additional power settings”).
Hibernate saves your work to the hard drive and uses zero power, but it takes longer to wake. Sleep is faster but uses a small amount of power. For most people, sleep is fine for short breaks, and hibernate is better for overnight or long periods away.
When to Talk to a Doctor About Sleep Issues
This guide is about your PC’s sleep settings. If you’re having trouble sleeping at night—like trouble falling asleep or waking often—that’s a different matter. Everyday habits like a consistent bedtime and a dark, quiet room may help you wind down. If poor sleep lasts for weeks or affects your daily life, talk to a doctor. They can help you find the cause and suggest safe options.
Related
- How to Rest Windows 11: Restart, Sleep, and Hibernate
- How to Restore a Window in Windows 10 and 11
- Kindness in the Workplace: 11 Simple Ideas
General information for everyday wellbeing, not medical advice. If something affects your health, sleep or mood for more than a short while, talk to a qualified professional. Read more
Spotted an error? Tell us and we will correct it (corrections policy).