How to Configure Lid Closed Settings in Windows 11 Power Options
Lid closed settings in Windows 11 control whether your laptop goes to sleep, hibernates, shuts down, or stays awake when you shut the lid. Changing this behavior stops your battery from draining in your bag. It also lets you run your PC with the screen closed while you use an external monitor.
You can set a different action for when the laptop runs on battery and for when it is plugged in. A common setup is Sleep on battery and Do nothing when plugged in with an external display attached.
Open Control Panel , select Hardware and Sound, click Power Options, then click Choose what closing the lid does. Select your preferred action—Do nothing, Sleep, Hibernate, or Shut down—from the drop-down menus for On battery and Plugged in, then click Save changes.
Change Lid Closed Settings in Control Panel
The classic Control Panel power options page is the quickest way to change the lid closed setting. It works the same on Windows 11 Home and Pro. It lets you pick one action for battery power and another for the wall charger.
- Open the Start menu, type
Control Panel, and press Enter. The Control Panel window opens.
Control Panel - Select Hardware and Sound, then click Power Options.

Control Panel › Hardware and Sound - Click the Choose what closing the lid does link on the left side of the window. The System Settings page opens.
- Find the When I close the lid: row. It has two columns: On battery and Plugged in.
- Click the drop-down menu next to each state and choose your preferred action: Do nothing, Sleep, Hibernate, or Shut down.

Control Panel showing 'When I close the lid' settings. - Click the Save changes button at the bottom of the window. The new settings apply right away and you do not need to restart.
If the When I close the lid: row is missing, your PC does not report a lid to Windows. This is normal on desktop PCs and some all-in-one machines. If Hibernate is not in the list, hibernation is turned off on your system. Some laptops also hide options their firmware does not support.
To undo a change, open the same page and pick the previous action. The Windows default for most laptops is Sleep for both states.
Modify Lid Close Behavior Using Command Prompt
You can also change the lid close behavior from Command Prompt or Windows Terminal. The commands update your active power scheme straight away. This is handy if you want to apply the same lid closed setting to several laptops without clicking through menus.
This step requires administrator privileges.
- Right-click the Start button and select Terminal (Admin) or Command Prompt (Admin). Click Yes if User Account Control asks for permission. A console window opens.
- Type the following command to change the behavior when running on battery power, then press Enter:
powercfg -setdcvalueindex SCHEME_CURRENT SUB_BUTTONS LIDACTION 0
(Note: Replace0with1for Sleep,2for Hibernate, or3for Shut down.) - Type the following command to change the behavior when plugged into a charger, then press Enter:
powercfg -setacvalueindex SCHEME_CURRENT SUB_BUTTONS LIDACTION 1 - Apply the updated configuration by typing this command and pressing Enter:
powercfg -setactive SCHEME_CURRENT
The commands change the power plan that is currently active. If you switch to a different power plan later, that plan keeps its own lid setting. To undo the change, run the same commands again with the value you used before. You can check the result on the Choose what closing the lid does page in Control Panel.
Prevent Battery Drain and Overheating While Closed
A laptop set to Do nothing and packed into a backpack keeps running with nothing to cool it. Heat builds up inside the chassis, which wears out the battery faster and can cause thermal throttling.
For travel, set the lid action to Sleep or Hibernate before you put the computer away. If you will not use the laptop for a while, shut it down completely.
- Hibernate saves your open documents to the drive and powers the machine off. It uses no battery at all.
- Sleep keeps a small amount of power flowing to system memory so the laptop wakes quickly. On many newer laptops, sleep is a low-power state that still uses some battery over a long period.
If you only need the laptop awake with the lid closed at a desk, change the Plugged in column and leave On battery on Sleep. That way, unplugging the laptop and walking away does not leave it running in your bag.
Troubleshooting Laptops That Stay Awake or Waken Up
If your laptop stays awake or wakes up on its own after you close the lid, a connected device is usually the cause. A USB mouse, a keyboard, or a network adapter can send a signal that wakes the machine. You can stop this by changing the wake permissions in Device Manager.
This step requires administrator privileges.
- Right-click the Start button and select Device Manager.
- Expand the Keyboards or Mice and other pointing devices category.
- Right-click your device and select Properties.
- Click the Power Management tab. Not every device has this tab. If it is missing, the driver does not support wake settings, so try another device.
- Uncheck the box labeled Allow this device to wake the computer, then click OK.
- Repeat this process for your network adapter under the Network adapters category if your system continues to wake up on its own.
To undo the change, tick the same box again. Change one device at a time and test after each one, so you know which device was the cause.
If this didn't work
If the lid closed setting still does not behave after the steps above, start with the built-in Power troubleshooter. In the Settings app, go to System, then Troubleshoot, then Other troubleshooters, and run the Power troubleshooter. It checks for broken power management settings and repairs them where it can.
If that does not help, try these in order:
- Open your power plan in Control Panel and restore the plan to its default settings. This clears out settings that may be corrupted or changed by third-party software. You will need to set your lid action again afterward.
- Install the latest BIOS or firmware update and chipset drivers from your laptop manufacturer. Many sleep and wake problems come from firmware bugs that the maker has already fixed.
- Restart the PC and test the lid again. Some changes only settle after a full restart.
How to set what closing the lid does?
Open Control Panel, select Hardware and Sound, then click Power Options. Choose what closing the lid does on the left side. Select your preferred action—Do nothing, Sleep, Hibernate, or Shut down—from the drop-down menus for battery and plugged-in modes, then save changes.
How do I adjust the lid close setting in 🪟 Windows 11?
Open Control Panel and go to Hardware and Sound Power Options. Click Choose what closing the lid does. Use the drop-down menus next to On battery and Plugged in to select your preferred behavior, then click Save changes.
How do I turn off the lid open action?
Windows doesn't have a built-in lid open action to disable. Lid settings only control what happens when you close the lid. If you want to prevent automatic wake-on-lid-open, check your laptop manufacturer's firmware or power settings for hardware-specific options.
How do I set my laptop to lock when I close the lid?
Windows doesn't lock your laptop when you close the lid. You can set it to sleep or hibernate instead. If you want automatic locking, set the lid to Sleep, then configure Windows to require a password when waking up in Control Panel Power Options Change plan settings
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!