The most likely cause is a power setting or a driver that wakes your PC right after it sleeps. Start by checking your power plan and updating your display driver. This fixes most cases without any deeper changes.
Quick Power Settings Check
Your PC may be entering sleep too quickly, or a setting may be forcing it. Here is how to check and adjust the basic sleep timer.
- Open Settings > System > Power & sleep (or Power & battery on laptops).
- Under Sleep, set On battery power, sleep after and When plugged in, sleep after to a longer time, like 30 minutes or more.
- If you want to stop sleep entirely, choose Never for both. But remember that sleep saves energy and lets your PC wake quickly.
If the sleep timer is already long, the issue is likely something else, like a device waking the PC or a driver problem.
Update Display and Chipset Drivers
An outdated or incompatible display driver is a common cause of sleep problems. Windows may try to sleep, but the driver fails, so the screen turns off and then back on, or the PC wakes immediately.
- Right-click the Start button and select Device Manager.
- Expand Display adapters, right-click your graphics card, and choose Update driver.
- Select Search automatically for drivers. If Windows finds none, go to the manufacturer’s website (Intel, AMD, or NVIDIA) and download the latest driver for your model.
- Also update the System devices and Network adapters drivers in the same way, because these can also affect sleep.
After updating, restart your PC and test sleep. If the problem persists, move on to the next step.
Stop Devices from Waking the PC
Sometimes a mouse, keyboard, or network adapter wakes the PC right after it sleeps. You can check which devices are allowed to wake it and disable that for devices you don’t need.
- Open Device Manager again.
- Expand Mice and other pointing devices, right-click your mouse, and choose Properties.
- Go to the Power Management tab and uncheck Allow this device to wake the computer.
- Repeat for your keyboard and for your network adapter (under Network adapters).
If you still want to wake the PC with the keyboard or mouse, leave them enabled. But if the PC wakes on its own, disabling these can stop it.
Use the Power Troubleshooter
Windows has a built-in troubleshooter that can find and fix power problems automatically. It is a quick step that often resolves the issue.
- Open Settings > Update & Security > Troubleshoot (or System > Troubleshoot on newer versions).
- Select Power and click Run the troubleshooter.
- Follow the on-screen instructions. It may ask you to restart.
If the troubleshooter finds nothing, you can also check the power plan settings in the Control Panel for advanced options.
Advanced Power Plan Settings
Sometimes the default power plan has a hidden setting that forces sleep or prevents it. You can reset the plan to its defaults.
- Open Control Panel > Hardware and Sound > Power Options.
- Next to your selected plan, click Change plan settings.
- Click Change advanced power settings.
- In the new window, click Restore plan defaults and then OK.
This resets all sleep and wake timers to standard values. After that, go back to the basic sleep settings and set your preferred times again.
When to Seek Professional Help
If you have tried all the above and the PC still enters sleep mode unexpectedly, the problem may be hardware-related. A failing power supply, overheating, or a faulty motherboard can cause sudden shutdowns that look like sleep. In that case, contact a computer repair technician. They can run diagnostics that you cannot do at home safely.
Also, if your PC is a laptop and the battery is old or swollen, do not attempt to replace it yourself unless you are trained. Take it to a professional.
Before you call, note when the problem happens. Does it occur only when the PC is idle, or also while you are working? This information helps the technician diagnose faster.
Related
General information for everyday wellbeing, not medical advice. If something affects your health, sleep or mood for more than a short while, talk to a qualified professional. Read more
Spotted an error? Tell us and we will correct it (corrections policy).