By default, most Windows 11 PCs will go into sleep mode after a certain period of time to conserve power. If you’d like to always keep your Windows 11 PC awake, you can make changes in Settings or try one of Microsoft’s PowerToys. Here’s how.

How to Keep Your PC From Sleeping in Settings

It’s easy to keep your PC from sleeping using the Settings app. First, launch Settings by pressing Windows+i on your keyboard. Or you can right-click the Start button and choose “Settings” from the list.

In Windows 11, right-click the Start button and select "Settings."

In Settings, choose “System” in the sidebar, then click “Power & Battery.”

Click "System" in the sidebar, then select "Power & Battery."

In Power and Battery options, expand the “Screen and Sleep” section by clicking it if necessary. Below that, if you have a battery-powered PC such as a laptop or tablet, you’ll see four options. If you have a desktop PC, you’ll see only two.

Expand the "Screen and Sleep" section.

Advertisement

If you’d like to keep your portable PC always awake even when not plugged in, set “On battery power, put my device to sleep after” to “Never.”

Warning: If you set “On battery power, put my device to sleep after” to “Never,” your PC will continue to operate until it runs out of power, which could drain your battery unintentionally.

If you’d like to keep your PC from sleeping when plugged in, locate the drop-down menu labeled “On battery power, when plugged in, put my device to sleep,” and set the option to “Never.”

In Windows 11 Settings, set the sleep-related drop-down boxes to "Never."

While you’re at it, you can also prevent your screen from turning off using the “Turn off my screen after” option (or options, for laptops) on the “Power & Battery” page. To do so, set the desired option to “Never” using the drop-down menu.

After that, close Settings, and your PC is set to stay up all night and all day. You can still put your machine to sleep manually using the power icon in the Start menu (choose “Sleep”) or by using a dedicated sleep key on your device if you have one.

RELATED: Should You Shut Down, Sleep, or Hibernate Your Laptop?

How to Keep Your PC From Sleeping With PowerToys

With PowerToys Awake in Windows 11, check "Keep Awake Indefinitely."

Thanks to a tool that comes with the free Microsoft PowerToys utility suite, you can quickly toggle when you want your PC to stay awake in the taskbar.

To do so, install PowerToys in the Microsoft Store app, then run it. Activate the “Awake” module, then right-click its coffee cup icon in your taskbar’s overflow menu. In the “Mode” menu, place a checkmark beside “Keep Awake Indefinitely.” When you want your PC to sleep again according to its usual settings, select “Off (Passive)” in the Awake menu instead. Pleasant dreams!

RELATED: How to Temporarily Stop Your Windows PC from Sleeping

Profile Photo for Benj Edwards Benj Edwards
Benj Edwards is an Associate Editor for How-To Geek. For over 15 years, he has written about technology and tech history for sites such as The Atlantic, Fast Company, PCMag, PCWorld, Macworld, Ars Technica, and Wired. In 2005, he created Vintage Computing and Gaming, a blog devoted to tech history. He also created The Culture of Tech podcast and regularly contributes to the Retronauts retrogaming podcast.
Read Full Bio ยป

The above article may contain affiliate links, which help support How-To Geek.