Changing how long before your PC sleeps takes about ten seconds — once you know which setting to change, because Windows hides several sleep timers in different places. Here's where every one lives in Windows 11 and 10, the powercfg commands that change them instantly, why screen-off and sleep are two separate timers, and how to use different sleep times at different times of day.
Quick answer: Settings → System → Power & battery (Windows 11) or Power & sleep (Windows 10) → set "Put my device to sleep after" to the minutes you want. Prefer a command line? powercfg /change standby-timeout-ac 30 sets it to 30 minutes while plugged in. Read on for battery vs plugged-in, the screen-off trap, and the missing-sleep-option fix.
Microsoft moved and renamed this page between Windows versions, which is half the reason people can't find it:
On a laptop you'll see two values for each timer — On battery and Plugged in — and they're set independently. A desktop only shows the plugged-in value. Setting any timer to Never (drag it all the way, or use 0 on the command line) disables it.
The GUI changes one profile at a time; powercfg changes the active power plan instantly and works even when the Settings page hides an option. Run these in Command Prompt or PowerShell (no admin needed for your own plan). The number is always minutes; 0 means Never.
| What you're changing | Plugged in | On battery |
|---|---|---|
| Sleep timeout | powercfg /change standby-timeout-ac 30 | standby-timeout-dc 15 |
| Turn off screen after | powercfg /change monitor-timeout-ac 10 | monitor-timeout-dc 5 |
| Hibernate after | powercfg /change hibernate-timeout-ac 120 | hibernate-timeout-dc 60 |
To see everything at a glance, powercfg /query dumps the active plan; powercfg /change standby-timeout-ac 0 turns sleep off entirely while plugged in. These are the same values the Settings sliders write — they just take effect the instant you press Enter.
This trips up almost everyone. "Turn off screen after" (monitor-timeout) only blanks the display — the PC keeps running, downloads keep going, the fan keeps spinning. "Put my device to sleep after" (standby-timeout) is what actually puts the machine to sleep. If your screen goes black but the computer clearly stays on, you changed the wrong timer.
| You want to change… | Setting name | What it does |
|---|---|---|
| When the display goes dark | Turn off screen after | Blanks the monitor; PC stays fully awake |
| When the PC actually sleeps | Put my device to sleep after | Low-power sleep — this is the one most people mean |
| Different behavior by time of day | PowerDoze scheduled power modes | Windows can't; free for up to 3 rules |
Some desktops and Modern Standby (S0ix) laptops don't show a classic sleep timeout in the simple Settings page — you might only see "screen off." Two ways around it:
Control Panel → Power Options → Change plan settings → Change advanced power settings → Sleep → Sleep after. The advanced dialog exposes the timeout even when the modern Settings page hides it.
Best for: Machines where Settings only shows "screen off." Note: If "Sleep after" is greyed out, a group policy or the manufacturer's power plan is locking it.
powercfg /change standby-timeout-ac 30 writes the sleep timeout directly to the active plan and works even when no slider is visible. Check it stuck with powercfg /query.
Best for: When the GUI is missing or locked. Note: A true Modern Standby machine never enters classic S3 sleep — it uses low-power S0 standby instead, so behavior differs from an older PC.
Changed the timeout but the PC still won't sleep? Something is holding it awake — a download, a video, or an app with a wake lock. See why Windows won't sleep and how to find what's blocking it.
Windows stores exactly one sleep timeout per power state, so you can't tell it "sleep after 5 minutes overnight, but never during work hours." That's the one thing changing a single setting can't do. PowerDoze can: build one power mode with a short sleep timeout and another that never sleeps, then attach time-based rules (schedules can cross midnight) so it switches automatically. The sleep timeout rides along with CPU limits, cooling, and screen-off as one mode — not a setting you keep re-editing. Free for up to 3 rules and 2 power modes, no account required.
Honest note: This is about scheduling and automating the sleep timeout — for a one-off "sleep in 30 minutes" countdown, use the DIY trick here instead. Limit: The free tier caps at 3 rules; Pro removes it and adds app- and Wi-Fi-based switching.
Settings → System → Power & battery (Windows 11) or Power & sleep (Windows 10) → "Put my device to sleep after," then pick the minutes. On a laptop set both the plugged-in and on-battery values. From a command line: powercfg /change standby-timeout-ac 30 (plugged in) or standby-timeout-dc (battery).
Settings → System → Power & battery → Screen and sleep. It's called Power & sleep on Windows 10. For hibernate, hybrid sleep, and wake timers, go to Control Panel → Power Options → Change plan settings → Change advanced power settings.
powercfg /change standby-timeout-ac 30 sets sleep to 30 minutes while plugged in; standby-timeout-dc does battery. Use monitor-timeout-ac/-dc for screen-off and hibernate-timeout-ac/-dc for hibernate. A value of 0 means Never.
Some desktops and Modern Standby laptops hide the classic timeout in the simple Settings page. Open Control Panel → Power Options → Change plan settings → Change advanced power settings → Sleep, or just run powercfg /change standby-timeout-ac 30, which works even when the slider is missing.
Screen-off (monitor-timeout) and sleep (standby-timeout) are separate timers. If the display blanks but the PC stays on, your sleep timeout is longer, set to Never, or something is holding a wake lock — run powercfg /requests to see what. See our won't-sleep guide.
Not on its own — it stores one timeout per power state. PowerDoze can: one power mode with a short sleep timeout, one that never sleeps, and time-based rules that switch automatically. Free for up to 3 rules.
Want the sleep timeout to change itself — short overnight, off during work — instead of editing it by hand? Time-based rules are free, up to 3 rules and 2 power modes, no account required.
Download free for Windows 10/11See also: Does Windows have a sleep timer? · Why Windows won't sleep · Schedule power plans by time · All features