Skip to content
PCFixWorkbench

Power & Sleep · Laptops

Fix a laptop that shuts down when you close the lid instead of sleeping

Written November 26, 2026

Closing the lid does what Windows is told to do in the lid settings — and something has told it to shut down, or sleep itself is failing and the laptop gives up. Set the lid action first, then check the sleep state underneath it.

What you need

Read the problem before you touch it

  1. Confirm what actually happens. Close the lid, wait a minute, and open it. A sleeping laptop wakes quickly to the sign-in screen with your work as you left it. A shut-down laptop shows the maker's logo and a full start, with apps closed. A hibernating laptop also starts from the logo but restores your work — slower than sleep, and not a fault. Name which of the three you have before changing settings.
  2. Check whether it happens on battery too. Unplug, repeat the test, and note the result. Windows holds separate lid settings for battery and plugged in, so a laptop can sleep correctly on mains power and shut down on battery — that pattern alone tells you it is a setting, not a failure.
  3. Note anything that changed recently. A new work profile, a maker's utility update, or a Windows update can reset power settings. If the behavior started with a change like that, the settings check below is very likely the whole fix.

The simple fixes, in order

  1. Set the lid action to Sleep for both power states. Open Control Panel > Hardware and Sound > Power Options and select Choose what closing the lid does on the left. Set When I close the lid to Sleep for both On battery and Plugged in, then save changes. Microsoft describes these power settings in Power settings in Windows 11. Test by closing the lid.
  2. Check the maker's utility has not taken over. Many laptops ship with a maker app that carries its own lid and power behavior. If one is installed, open it and check its lid or power section matches Sleep. Where the two disagree, the maker's tool often wins, so set both to the same thing.
  3. Restart, then test once more. Power settings occasionally need a restart to take hold after they have been changed by another tool. Restart once and repeat the lid test on mains power and on battery.

The advanced route: when Sleep is set but shutdown still happens

  1. Check sleep itself from the Start menu. Put the laptop to sleep from Start > Power > Sleep without touching the lid. If it shuts down from there too, the lid is innocent — sleep is failing. Note any error, fan burst, or immediate restart as it tries to sleep; that detail decides the next step.
  2. Look at what stopped sleep in Event Viewer. Open Event Viewer and check Windows Logs > System around the time of a failed sleep. A driver or device named in repeated errors at those moments is the usual culprit. Updating that device's driver — graphics and network drivers are the common ones — is the fix to try before anything deeper.
  3. Test hibernate as the working alternative. On the same Choose what closing the lid does page, Hibernate may be offered as a lid action. If sleep keeps failing and you need the lid to preserve your work today, set the lid to Hibernate while the sleep fault is worked on. It is slower to wake, but your session survives — a fair trade until sleep is fixed.

End state

When it goes wrong

Related fixes

Sources