Skip to content
Follow
Windows

How to Change When Your Windows 11 Computer Goes to Sleep

Richard
Written by
Richard
Mar 17, 2026 Updated Mar 18, 2026 3 min read
How to Change When Your Windows 11 Computer Goes to Sleep
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.

⚡ Quick Answer

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

  1. Open Settings: Press Windows key + I on your keyboard.
  2. Click System on the left menu, then select Power & battery (or just Power if you don’t see battery options).
  3. Click Screen and sleep to expand the options.
  4. 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.

  5. Close Settings when you’re done.
Windows 11 Power and battery settings tile in Settings app
Windows 11 Power & battery settings in the Settings app.

windows 11 screen and sleep settings options
windows 11 screen and sleep settings options

Alternative: Change Sleep Settings Using Control Panel

  1. Open the Control Panel by searching for it in the Start menu.
  2. Set the view to Small icons or Large icons if it’s not already, then click Power Options.
  3. Click Choose when the computer sleeps on the left side.
  4. 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.
  5. Click Save changes.
  6. Close Control Panel when finished.
Control Panel window showing computer sleep settings options
windows when i press the sleep button options new image

Advanced Option: Use Power Plan Settings

  1. Open Control Panel and go to Power Options.
  2. Click Change plan settings next to your current power plan.
  3. Select Change advanced power settings.
  4. Scroll down and click the plus (+) next to Sleep, then expand Sleep after.
  5. Set how many minutes or hours before sleep for On battery and Plugged in. Choose Never by entering 0.
  6. Click OK to save.
  7. Close Control Panel if you want.
Windows 11 sleep timeout configuration with time duration options
Windows 11 sleep timeout configuration with time duration options

Windows 11 sleep settings menu for adjusting power timeout values
windows sleep button action advanced power option window

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:

💻Code
powercfg -change -standby-timeout-dc <minutes>

This command sets the sleep time when your device is running on battery power (this applies to laptops).

💻Code
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:

💻Code
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?

Tags: #Windows 11
Was this helpful?
Richard

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.

📚 Related Tutorials

How to Change Power Plan in Windows 11
Windows How to Change Power Plan in Windows 11
How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11
How to Add or Remove the Sleep Button in Windows 11
Windows How to Add or Remove the Sleep Button in Windows 11
Windows 11 Control Panel Shortcuts Guide
Windows Windows 11 Control Panel Shortcuts Guide

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *