How to Change When Your Windows 11 Computer Goes to Sleep
You can change your Windows 11 computer’s sleep timer. This prevents it from shutting down too soon or staying on longer than you’d prefer.
The sleep setting decides how long your PC waits before it automatically enters a low-power state to save energy.
You can adjust this to keep your system active during important tasks, boosting productivity, or conserve power when you step away.
In Windows 11, you’ll usually find this setting within the Power & Battery options, often under Screen and sleep.
Open Settings, go to System, then Power & battery, and click Screen and sleep. Adjust the dropdown menus for “On battery power” and “When plugged in” to set your desired sleep timeout, or select “Never” to disable automatic sleep.
What is Sleep Mode?
Sleep is a mode that uses minimal power and helps conserve energy. When your PC goes to sleep, it uses minimal power but can wake up quickly, letting you pick up right where you left off. Windows also saves your work automatically in case your battery runs out.
Use Sleep mode when you’ll be away from your computer for a short while.
How to Change Sleep Timeout – The Easy Way
- Open Settings: Press Windows key + I on your keyboard.
- Click System on the left menu, then select Power & battery (or just Power if you don’t see battery options).
- Click Screen and sleep to expand the options.
- Here you can set how long your PC waits before it goes to sleep:
- On battery power, put my device to sleep after: Choose how many minutes or hours your laptop waits when not plugged in.
- When plugged in, put my device to sleep after: Choose how long your PC waits before sleeping when it’s plugged into power.
If you don’t want your PC to ever go to sleep automatically, choose Never.
- Close Settings when you’re done.

Alternative: Change Sleep Settings Using Control Panel
- Open the Control Panel by searching for it in the Start menu.
- Set the view to Small icons or Large icons if it’s not already, then click Power Options.
- Click Choose when the computer sleeps on the left side.
- Use the drop-down menus to pick how many minutes or hours before sleep for both On battery and Plugged in (if available). Select Never if you don’t want automatic sleep.
- Click Save changes.
- Close Control Panel when finished.

Advanced Option: Use Power Plan Settings
- Open Control Panel and go to Power Options.
- Click Change plan settings next to your current power plan.
- Select Change advanced power settings.
- Scroll down and click the plus (+) next to Sleep, then expand Sleep after.
- Set how many minutes or hours before sleep for On battery and Plugged in. Choose Never by entering 0.
- Click OK to save.
- Close Control Panel if you want.


Use Command Prompt to Change Sleep Timeout (For Advanced Users)
If you prefer using commands, you can change your sleep settings through Windows Terminal, Command Prompt, or PowerShell:
powercfg -change -standby-timeout-dc <minutes>
This command sets the sleep time when your device is running on battery power (this applies to laptops).
powercfg -change -standby-timeout-ac <minutes>
This command sets the sleep time when your device is plugged in.
Replace <minutes> with the number of minutes you want your PC to wait before going to sleep. Use 0 if you want it to never sleep.
For example, to set the sleep timeout to 30 minutes when plugged in, type:
powercfg -change -standby-timeout-ac 30
Note: Desktop PCs typically don’t have separate settings for battery and plugged-in power.
Summary
- Save Energy: Sleep mode helps your PC save power and protect your battery.
- Customize: You can pick how long your computer waits before sleeping.
- Easy to Change: Change sleep settings in Settings, Control Panel, or even with commands.
- Protect Your Work: Windows saves your work automatically in sleep mode.
- More Help: Check Microsoft’s official guide if you want to learn more.
Now you’re equipped to manage when your Windows 11 computer goes to sleep! Tweak these settings to match your workflow and help save energy.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!