Windows 10 & 11 power & sleep settings

How to Change Sleep Time in Windows 10 & 11, Even With No Sleep Option

Changing or adjusting the sleep time in Windows 10 and 11 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, the powercfg commands that change them instantly, how to set sleep to Never, why screen-off and sleep are two separate timers, and how to use different sleep times at different times of day.

Quick answer: On Windows 10, go to Settings → System → Power & sleep and, under Sleep, set When plugged in, PC goes to sleep after to the time you want. On Windows 11, go to Settings → System → Power & battery, expand Screen and sleep (newer builds: Screen, sleep, & hibernate timeouts) and set Make my device sleep after — some builds still say Put my device to sleep after — to the minutes you want. To keep the PC from sleeping, pick Never on either version. 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.

Download PowerDoze free Does Windows have a sleep timer? →

Where the sleep timeout lives (Windows 11 vs 10)

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.

Don't want your PC to sleep? Set sleep to Never

Overnight downloads, a remote session, a long video export — the worst thing is the PC falling asleep halfway through. The fix is simple: go back to Settings → System → Power & battery (Power & sleep on Windows 10) and set the sleep dropdown to Never. The PC then stops sleeping when it's been idle. The command-line version is under "Change it from the command line (powercfg)".

The trade-off is just as simple: with Never, the PC stays awake all day. It keeps drawing power while you're away — on battery, that's charge going for nothing — and it's easy to forget to switch it back. Two steadier options: set Never only for the hours you need it and change it back when you're done, or skip Never and pick a long timeout (two hours, say) that just covers your task.

Only need to hold sleep off now and then, without touching settings? Microsoft's own PowerToys includes a small tool called Awake. It's free and keeps the PC awake without changing your power settings. Its limit: it doesn't work while the lock screen is showing (Microsoft's docs say so). We compare the options in this guide.

Change it from the command line (powercfg)

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 timeoutpowercfg /change standby-timeout-ac 30standby-timeout-dc 15
Turn off screen afterpowercfg /change monitor-timeout-ac 10monitor-timeout-dc 5
Hibernate afterpowercfg /change hibernate-timeout-ac 120hibernate-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 dropdowns write — they just take effect the instant you press Enter.

Screen off vs sleep — two different timers

This trips up almost everyone. "Turn my screen off after" (monitor-timeout) only blanks the display — the PC keeps running, downloads keep going, the fan keeps spinning. "Make my device 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 darkTurn my screen off afterBlanks the monitor; PC stays fully awake
When the PC actually sleepsMake my device sleep afterLow-power sleep — this is the one most people mean
Different behavior by time of dayPowerDoze scheduled power modesWindows can't; free for up to 3 rules

"There's no sleep option at all"

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:

Find the hidden timeout

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.

Set it from the command line anyway

powercfg /change standby-timeout-ac 30 writes the sleep timeout directly to the active plan and works even when the option isn't 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.

Different sleep times by time of day — PowerDoze (free)

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 you can't do by changing a single setting. 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 — not a one-off "sleep in 30 minutes" countdown. Windows has no built-in sleep countdown either; it only has a shutdown countdown (how that works). Limit: The free tier caps at 3 rules; Pro removes it and adds app- and Wi-Fi-based switching.

Download PowerDoze free See time-based scheduling →

Frequently asked questions

How do I change how long before Windows goes to sleep?

Settings → System → Power & battery (Windows 11) or Power & sleep (Windows 10). On Windows 11 expand Screen and sleep (newer builds: Screen, sleep, & hibernate timeouts) and set Make my device sleep after — some builds still say Put my device to sleep after. On Windows 10, under Sleep: When plugged in, PC goes to sleep after. 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).

Where are the power and sleep settings in Windows 10 and 11?

Windows 10: Settings → System → Power & sleep. Windows 11: Settings → System → Power & battery → Screen and sleep (newer builds: Screen, sleep, & hibernate timeouts). For hibernate, hybrid sleep, and wake timers, go to Control Panel → Power Options → Change plan settings → Change advanced power settings.

What is the powercfg command to change sleep time?

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.

How do I stop my PC from going to sleep automatically?

Go to the same Settings page and set the sleep dropdown to Never — on a laptop, set both the plugged-in and on-battery values. That only stops sleep; screen-off is a separate timer. Switch it back when you're done, or the PC stays awake all the time.

Why is there no sleep option in my power settings?

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 option is missing.

My screen turns off but the PC won't sleep — why?

Screen-off (monitor-timeout) and sleep (standby-timeout) are separate timers. If the display blanks but the PC stays on, either your sleep timeout is longer than the screen-off timeout or set to Never, or something is holding a wake lock — run powercfg /requests to see what. See our won't-sleep guide.

Can Windows use different sleep times at different times of day?

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.

Get PowerDoze from the Microsoft StoreGet PowerDoze from the Microsoft Store

See also: Does Windows have a sleep timer? · Why Windows won't sleep · PC waking itself up? Wake timers explained · Schedule power plans by time · All features