How to prevent Windows 11 from automatically going to sleep

Last update: 30/10/2025

  • Control display, sleep, and hibernation from Settings and advanced options.
  • Disable activation timers and adjust the disc, lid, and buttons to prevent unwanted events.
  • Use hibernation or hybrid sleep depending on your situation and turn off or restart every few days.
  • PowerToys (Awake) and custom plans help keep your team active without touching the entire system.

How to prevent Windows 11 from automatically going to sleep

¿How to prevent Windows 11 from automatically going into sleep mode? When Windows 11 decides to enter sleep mode on its own, it can be a real nuisance if you're waiting for a download, leaving a task running, or simply prefer that your computer remains ready to return instantly. The good news is that you have complete control over when the screen turns off, when the system goes to sleep, and when it hibernates., both when the device is running on battery power and when it is plugged into the mains.

In addition, recent versions of Windows have adjusted the default display and sleep settings to reduce power consumption when the computer is idle. Knowing these values ​​and where to adjust them is key to avoiding unwanted suspensions.This guide will help you troubleshoot automatic wake-ups or prevent your hard drive from shutting down. Below you'll find a complete and organized guide, with all the official and third-party methods, plus diagnostic solutions if your PC is doing the exact opposite of what you want.

Configure screen, sleep, and hibernation from the Settings app (Windows 11)

The most direct way to stop Windows 11 from sleeping is to access the power options in Settings. Go to Start > Settings > System > Power & display, sleep & hibernation times and expand the sections to view the screen and sleep timers.

Inside “Display and sleep” you will see two blocks (on battery and plugged in). If you want to completely disable sleep, select “Never” from the drop-down menus under “Put my device to sleep after”.You can do the same with the screen turning off if you don't want it to turn off by itself.

For many laptops and devices with “Modern Standby” (Modern standby drains battery in standby mode), Microsoft has adjusted the default times to save energy. These values ​​can be changed at any time and you are not obligated to keep them.But it's worth getting to know them:

Devices with modern standby mode Original (min) New setting (min)
With battery: turn off screen 4 3
When powered on: turn off screen 10 5
With battery: enter sleep mode 4 3
With power: enter suspension 10 5

On devices with S3 support (classic suspension), the default settings have also been reduced. Again, these are guidelines, not mandatory values.:

Devices with S3 Original (min) New setting (min)
With battery: turn off screen 5 3
When powered on: turn off screen 10 5
With battery: enter sleep mode 15 10
With power: enter suspension 30 15

If you use Windows 10, the process is very similar: Start > Settings > System > Power & sleepThere you can change how long the screen takes to turn off and when it goes into sleep mode, with the option to leave it on "Never".

Advanced power options (Control Panel)

Some finer preferences remain in the classic Control Panel. Open Control Panel > System and Security > Power Options, and tap “Change plan settings” on the active plan.

On that screen you can quickly adjust the minutes for Turn off the screen and "Put the device into sleep mode"If you want to disable both behaviors, set "Never" in both fields (repeat for both battery and mains power if you have a laptop).

Exclusive content - Click Here  How to mention everyone on WhatsApp: complete guide, tips, and updates

For full control, go to “Change advanced power settings”. In the options tree you can select Suspend, Hard Drive, Power Buttons, PCI Express and moreThe sections that are most relevant to prevent your PC from going to sleep or waking up on its own are:

  • Hard drive > Turn off disk after: set to “Never” (on laptops, adjust “On battery” and “On AC power”).
  • Suspend > Suspend afterChoose “Never” to prevent automatic suspension.
  • Suspend > Allow wake-up timersSelect "Disable" or "Only important wake-up timers" in Windows 11/10 if you want Windows to wake the computer only for critical events.
  • Suspend > Enable hybrid suspensionDecide if you want the hybrid option (useful for resuming even after power loss).

If the computer wakes up at specific times for no apparent reason, it is usually due to a programmed activation timer. Disabling the wake-up timers will prevent that automatic power-up. by tasks or applications.

Create a personalized energy plan

If you prefer not to touch the system plans, you can create your own. Go to Additional power settings and choose “Create a power plan” in the left column.

Assign a name (“Personal Plan”, for example), press Next, and define the times to turn off the screen and suspend on battery and with power. To ensure the device never goes to sleep, mark "Never" in both.When finished, click Create and select the new plan to activate it.

Prevent the hard drive from turning off.

Windows power saving can also put the disk into sleep mode after X minutes of inactivity. This can interrupt background processes or cause a delay when waking up drivesChanging it is easy:

Open Control Panel > Power Options > Change plan settings > Advanced settings. Expand “Hard drive” and select “Never” for shutdown time ("On battery" and "On AC power" on laptops). This way the hard drive doesn't go to sleep on its own.

Use the “Maximum Performance” plan

If, in addition to avoiding suspensions, you want to push the hardware to its limits, the high-performance plan minimizes latency at the cost of higher power consumption. Go to Control Panel > Hardware and Sound > Power Options and choose “Maximum performance”.

On some devices (especially laptops) the plan does not appear by default. You can enable it with PowerShell or Command Prompt (admin) by running:

powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61

Go back to Power Options and select it. Be aware of the increased power consumption, especially if you're working on battery power..

Prevent the laptop from going to sleep when closing the lid.

If you want nothing to happen when you close the lid (for example, when using the laptop with an external monitor), you can change that action. Go to Control Panel > Hardware and Sound > Power Options > Choose what lid closes like.

There it defines “Do nothing” for “When closing the lid” both “On battery” and “On power”. Save changes and the system will not suspend when you lower the lid.

Troubleshooting: unexpected suspensions, hibernations, or reactivations

If, despite the adjustments, the computer continues to go to sleep or turn on by itself, it's time to check other areas. Start by confirming that the power settings are what you want. (Windows 11: System > Power and battery > Display and sleep; Windows 10: System > Power and sleep).

Next, go to Control Panel > System and Security > Power Options > “Change what the power buttons do”. There you decide the behavior of the buttons and the closing of the lid. (“Do nothing”, “Suspend”, “Hibernate”, “Shut down”). Make sure nothing forces you to suspend.

Exclusive content - Click Here  The best laptops with Artificial Intelligence

Hibernation can also interfere. To disable it completely, open a Command Prompt as administrator and run: Powercfg.exe / hibernate offIf you want to reactivate it later, use “powercfg.exe /hibernate on”.

Don't forget about software and firmware. Update BIOS/UEFI, Windows Update, and driversUpdates typically improve power stability and the handling of sleep states and errors such as driver_power_state_failure.

Overheating is another classic issue: if the equipment gets too hot, the system may suspend or shut down to protect itself. Check fans, cleanliness, and airflow if you notice abnormal heat.A refrigeration problem can simulate “spontaneous suspensions”.

Review scheduled tasks. Open Task Scheduler (Control Panel > Windows/Administrative Tools > Schedule Tasks), go into “Task Scheduler Library” and examine entries that wake or hibernate the computer (for example, commands like “shutdown /h”).

If the problem started suddenly and you remember that it was working fine before, try a restore point. Use System Restore to return to a previous stateAs a last resort, back up and consider resetting Windows if nothing else works.

Prevent Windows from waking up only on timers

If the PC turns on in the early hours of the morning or at fixed times, it is almost certainly an activation timer. Disable them in Power Options > Advanced settings > Sleep > Allow wake-up timers (Change it to "Disable", and if it's a laptop, adjust it for both battery and power-up modes).

When the PC does not wake from sleep mode

Windows computer

If the computer does not wake up when you move the mouse/keyboard, or it freezes on a black screen, check peripherals and drivers. Disconnect and reconnect the keyboard/mouse, try other ports, and update the graphics drivers. (Device Manager > Display adapters > Update driver).

Check that it's not the screen protector. Look for “Screen saver” in Settings, and disable it or adjust its behavior to rule out screensaver blocks.

Run the power troubleshooter. In Settings > Update & Security > TroubleshootLaunch the power tool and apply suggested fixes.

The "quick start" feature may interfere. Temporarily disable it from the system shutdown options to check if resuming from suspension improves.

Differences between suspending, hibernating, and hybrid suspension

In sleep mode, the system state is stored in RAM and power consumption decreases, but does not reach zero. The advantage is resuming almost instantly, with programs and documents exactly as they were.However, the battery will run out if you don't use the device for a while.

During hibernation, the state is saved to disk (hiberfil.sys file). It consumes practically nothing, and although it takes longer to resume than from suspension, you lose nothing in the event of a power outage..

The hybrid suspension combines both: it saves to RAM and to disk. If everything is normal, you resume quickly; if there is a power loss, it is restored from the disk.You can enable it in Advanced Options > Suspend > Allow hybrid suspend.

When is it advisable to use or avoid suspension?

The suspension is incredibly convenient for short breaks: you're back in seconds and can pick up right where you left off. It even allows your PC to receive updates or downloads while you are not actively using it.without turning it off completely.

However, abusing the suspension on a continuous basis has costs. In laptops, the battery and some components may be affected.And a certain "fatigue" of memory and caches is not cleared until restarting.

For balance, it's advisable to turn off or restart every two or three days if you use the equipment daily. This frees up memory, prevents BSOD errors after long sleep sessions, and extends the life of the hardware..

Exclusive content - Click Here  All the ways to shut down Windows 11 without opening the Start menu

Alternatives to keep your PC awake (PowerToys and third parties)

If you like to leave your device awake while you do other things, there's a lightweight and official option: PowerToys. The utility includes "Awake," which keeps your PC awake without changing your power plans.Install it from the Microsoft Store or GitHub and activate it when you need it.

There are also third-party utilities that simulate activity to avoid suspension, such as KeepAliveHD. Use them wisely and only if you need themsince the built-in Windows tools are usually sufficient.

Frequently asked questions: hibernate, suspend, or shut down

Which is better, shutting down or hibernating? It depends on the situation. If you're going to be gone for a long time, shutting down saves more energy and leaves the system "clean"; for long absences with a return to the same point, hibernate. is ideal.

Should it be suspended or turned off at night? Turning it off ensures less consumption and a "fresh" start-upIf you're going to resume immediately in the morning, suspending your studies saves you time.

Key differences: Suspend saves to RAM (fast but uses resources); hibernate saves to disk (slower when resuming, uses almost no resources)The hybrid suspension gives you the best of both worlds.

How to avoid locking up when returning from suspension (case study)

If leaving "Never suspend on battery" enabled causes the screen to turn off, and pressing a key takes you back to the login screen, it's inactivity lock. You can change it in Settings > Accounts > Sign-in options.

In Windows 11, look for the setting "If you've been away, when should Windows ask you to sign in?". Set it to “Never” if you don’t want to re-enter your password every time the screen turns off.If you use a screen saver, make sure that "On resume, show the login screen" is not checked.

Hibernation: how to activate and use it

programs that slow down Windows

Hibernation is usually available on laptops and consumes less power than suspend. You can start it from Start > HibernateIf it doesn't appear, add the option in "Choose the behavior of the power buttons".

You can also define what each button (“Power”, “Sleep”) does when you press it, and what happens when you close the lid. Remember to save the changes for them to take effect..

Editing the power plan in Windows 11/10

To fine-tune the power mode, go to Settings > System > Power & battery. In “Power Mode” choose the profile you prefer (best battery, balanced, best performance)and compensate for it with suspension times that suit your usage.

If all else fails…

You've checked power, timers, drivers, BIOS, and tasks, and it's still the same. Consider using a previous restore point or, if there is no alternative, resetting Windows. After backing up your data, it's also a good idea to contact your device manufacturer's support if you suspect a firmware issue.

Controlling when your PC goes to sleep or wakes up isn't complicated if you know where the switches are: from "Display and Sleep" timers and advanced power plans to hibernation, hybrid sleep, scheduled tasks, and utilities like PowerToys. With these settings properly configured, you'll prevent Windows 11 from automatically going to sleep, avoid waking up at inconvenient times, and know exactly when to suspend, hibernate, shut down, or simply continue working.For more information we leave you the official Windows support.

Related article:
How to make the PC never sleep