How To Change What Closing The Lid Does In Windows 11 (2026)
Windows 11 lets you decide what happens when you close a laptop lid or press the power button.
You can set each action to Do nothing, Sleep, Hibernate or Shut down, separately for battery and plugged in.
This guide shows the Settings path, the Control Panel path, and how to add Hibernate when it is missing.
Quick answer: where to change it
| Where | Path |
|---|---|
| Settings app | Settings > System > Power & battery > Lid & power button controls |
| Control Panel | Control Panel > Hardware and Sound > Power Options, then Choose what closing the lid does or Choose what the power buttons do |
| Options you can pick | Do nothing, Sleep, Hibernate, Shut down |
| Can be set per power source | Yes, On battery and Plugged in |
How to change the lid and power button in Settings
- Open Settings and select System.
- Select Power & battery.
- Expand Lid & power button controls.
- Next to “Closing the lid will make my PC,” choose an action for On battery and for Plugged in.
- Next to “Pressing the power button will make my PC,” choose an action for each power source.
Windows Central and Pureinfotech both describe this path, and note that the label can differ slightly between devices.
Pureinfotech lists the options as Do nothing, Sleep, Hibernate and Shut down.
How to change it in Control Panel
- Select Search on the taskbar, type control panel, and open it.
- Select System and Security.
- Under Power Options, select Choose what the power buttons do.
- Select Change settings that are currently unavailable.
- For a laptop, expand “When I close the lid” in the On battery column and pick an action, then repeat for Plugged in if you want.
- Expand “When I press the power button” and pick an action in the same way.
- Select Save changes.
This is the method on Microsoft’s own support page.
What each action does
| Action | What Microsoft says |
|---|---|
| Sleep | Uses very little power and resumes faster than a full start, so you return to your open work right away |
| Hibernate | Uses less power than Sleep but resumes more slowly, and suits long periods away from a charger |
| Shut down | Fully powers off the PC |
| Do nothing | Leaves the PC as it is, so it keeps running |
Microsoft says Sleep is best for short breaks and Hibernate for long stretches when you cannot charge.
Windows also saves your work and turns the PC off if the battery gets critically low during Sleep.
If Hibernate is missing
- Open Control Panel and select System and Security.
- Under Power Options, select Choose what the power buttons do.
- Select Change settings that are currently unavailable.
- In Shutdown settings, select Hibernate.
- Select Save changes.
Microsoft notes that Hibernate is not available on every PC, and PCs with InstantGo do not offer it.
After you enable it, you can pick Hibernate for the lid or power button, or choose it from Start, then Power.
How to keep a laptop running with the lid closed
- Open the lid and power button settings using either path above.
- Set “When I close the lid” to Do nothing for On battery, Plugged in, or both.
- Select Save changes.
- Connect an external monitor and close the lid to test it.
How-To Geek says this setting applies to all power plans and is meant for use with an external monitor, mouse and keyboard.
Warning: How-To Geek cautions that a laptop left running with the lid closed on battery can drain the battery without you noticing.
It also says running the laptop continuously this way shortens the battery’s useful life.
Other power settings on the same page
The Power & battery page also holds the timers that decide when the screen turns off and when the PC sleeps.
| Setting | Where to find it | What Microsoft says |
|---|---|---|
| Screen and sleep | Settings > System > Power & battery > Screen and sleep | Set how long before the screen turns off and the PC sleeps on battery, and pick a shorter time to save power |
| Power mode | Settings > System > Power & battery > Power mode | Choose a more efficient mode, though the option is not available on all PCs |
| Energy saver | Settings > System > Power & battery > Energy saver | Turn it on at a battery level you choose, or set Always use energy saver to On until you next plug in |
These come from Microsoft’s battery saving tips page, which gives no fixed times or percentages.
Energy saver can also be switched from the battery icon in the notification area.
How to wake the PC again
Microsoft says you can wake a sleeping PC by pressing the power button or opening a laptop lid.
Depending on the device, a key press or a mouse click may also work.
If you are unsure, check your PC maker’s documentation.
Quick fixes
| Problem | What to try |
|---|---|
| Options are greyed out in Control Panel | Select Change settings that are currently unavailable |
| No Hibernate option | Turn it on under Shutdown settings, if your PC supports it |
| No lid setting on a desktop | The lid action applies to laptops, so use the power button setting instead |
| Devices misbehave after waking | Disconnect and reconnect them, restart the PC, and keep drivers up to date |
Related Windows 11 guides
If your PC starts oddly after shutting down, read how to turn off Fast Startup on Windows 11.
To tidy the desktop while you are in Settings, see how to customize the taskbar in Windows 11.
If you set up a new default printer, see how to change the default printer in Windows 11.