Close the Lid, Keep Working: Windows 11 Laptop Lid Settings

//

Michael Collins

Open Control Panel > Hardware and Sound > Power Options > Choose what closing the lid does, set When I close the lid to Do nothing, and select Save changes. One warning first: a closed laptop that keeps running still makes heat, so never put it in a bag that way.

This covers Windows 11 laptops. Desktops and all-in-ones have no lid, so the option doesn’t appear on them.

Set the Lid to Do Nothing in Control Panel

This is the route Microsoft documents on its shut down, sleep and hibernate help page, and it works on every Windows 11 version. The page has two columns, so you can choose one behavior on the charger and another on battery.

  1. Select Start, type Control Panel and open it. If you like keyboard routes, these shortcuts for opening Control Panel are faster.
  2. With View by set to Category, select Hardware and Sound (Microsoft’s page goes through System and Security; both lead to the same place). In icon view, skip this step.
  3. Select Power Options.
  4. In the left pane, select Choose what closing the lid does. Its sibling link, Choose what the power buttons do, opens the same page.
  5. If the drop-downs are dimmed, select Change settings that are currently unavailable and approve the admin prompt.
  6. In the When I close the lid row, set Plugged in to Do nothing.
Control Panel lid close action set to Sleep on battery and Do nothing when plugged in
Illustration: Set Plugged in to Do nothing and keep the battery action on Sleep if appropriate.
  1. Decide on On battery. Leave it on Sleep unless you truly need the laptop to run unplugged with the lid shut.
  2. Select Save changes. The new action normally applies right away; if closing the lid still sleeps the laptop, restart once and test again.

Shortcut: typing lid in Start search usually brings up Change what closing the lid does, which opens the same page.

The Settings App Lid Option on Newer Builds

On recent Windows 11 24H2 and later builds, you may also see a lid control under Settings > System > Power & battery, in a section named something like Lid & power button controls, with a Closing the lid will make my PC drop-down for plugged in and on battery. Some laptop makers’ support pages describe it, but Microsoft’s own Windows 11 power settings page doesn’t mention it yet, and section names differ between builds.

Illustrated optional Windows 11 lid controls with separate battery and plugged in settings
Illustration: Example of the optional newer-build lid controls; availability and layout vary by device and build.

If you have it, choosing Do nothing there should give the same result. If you don’t, nothing is wrong with your PC; use Control Panel. When the two ever seem to disagree, trust the Control Panel page.

Pick an Action for Each Power Source

Microsoft’s lid switch close action reference lists exactly four choices, and on many laptops Sleep is what’s set out of the box. There is no “turn off the display” lid action, and no setting keeps the built-in screen lit while it faces the keyboard.

Action What happens Sensible for
Do nothing Everything keeps running; only the built-in panel goes dark Plugged in at a desk, monitor attached, long downloads
Sleep Work stays in memory at low power On battery, carrying the laptop around
Hibernate Open work is saved to the drive, then the laptop powers off On battery when days may pass between uses
Shut down Windows closes everything; unsaved work is lost Rarely the right lid choice

Two examples show how the columns work. Alex docks at a desk every morning and wants the laptop shut beside the monitor, so Alex sets Plugged in: Do nothing and On battery: Sleep. Jordan leaves a big game download running overnight on the charger and uses the same split, since the battery column only matters once the plug comes out. Hibernate may be missing from the list on some newer laptops; Microsoft notes that PCs with InstantGo (Connected Standby, the forerunner of Modern Standby) don’t have it, and on other laptops it may first need turning on under Shutdown settings on the same page.

Working Closed With an External Monitor or Dock

Using a shut laptop with a monitor, keyboard and mouse is often called clamshell mode. Windows has no separate switch for it; it is the lid setting plus a display choice.

  1. Connect the charger, monitor (directly or through a dock), keyboard and mouse.
  2. Confirm Plugged in is set to Do nothing.
  3. Press Windows logo key + P and choose Second screen only to put everything on the monitor, or Extend if you’ll open the lid later and use both. Microsoft’s multiple monitors page explains all four modes.
Windows 11 Project panel with Second screen only selected
Illustration: Second screen only sends the desktop to the external monitor.
  1. Close the lid. The monitor should stay on and windows move over to it.

Under Settings > System > Display > Multiple displays, you can also turn on Remember window locations based on monitor connection, which helps if you dock and undock daily. New to a second screen? This walkthrough on setting up dual monitors in Windows 11 covers cables and arrangement.

Before You Close It: Heat, Bags and Battery

Read this before you choose Do nothing on battery. A running laptop with its lid shut still produces heat, and in a backpack or sleeve that heat has nowhere to go. Nothing on the outside tells you it’s still on.

  • Run it closed on a hard, flat surface such as a desk or stand, never on a bed, couch or carpet that blocks vents.
  • Before packing up, sleep it yourself from Start > Power > Sleep if both columns say Do nothing.
  • Heavy work (games, video exports) makes the most heat. If the fan stays loud or the case gets hot, open the lid. Windows has no real fan off switch, as explained in this piece on turning off a laptop fan in Windows 11.
  • On battery, closing the lid doesn’t save power with Do nothing; the charge falls at the normal working rate. For a laptop that lives on the charger with the lid shut, a battery charge limit of 80% (where the maker supports it) can reduce wear.

What Modern Standby Changes

Many current laptops use Modern Standby rather than older S3 sleep. Per Microsoft’s Modern Standby overview, closing the lid, pressing the power button or going idle starts a low-power state in which the system can stay connected, a bit like a phone.

That doesn’t mean Sleep keeps your work going. Microsoft’s Modern Standby and S3 comparison says desktop apps are stopped, while background tasks from Microsoft Store apps may still run and maintenance such as updates can happen on AC power. So a browser download or a desktop music player stops when the laptop sleeps; only Do nothing keeps them running. A sleeping Modern Standby laptop can also feel warm or lose some charge, which is why Hibernate suits long gaps on battery.

To see which sleep type you have, open Terminal and run powercfg /a. Microsoft’s powercfg reference says it reports the available sleep states and why others aren’t available. On Modern Standby machines the list typically mentions S0 Low Power Idle.

Example powercfg sleep state output highlighting S0 Low Power Idle
Illustration: Example output from a Modern Standby device; your available sleep states may differ.

Set It With powercfg

For several laptops, or when the Control Panel page won’t open, use the LIDACTION setting from Microsoft’s lid reference (0 Do nothing, 1 Sleep, 2 Hibernate, 3 Shut down). Right-click Start, choose Terminal (Admin) and run:

powercfg /setacvalueindex SCHEME_CURRENT SUB_BUTTONS LIDACTION 0
powercfg /setdcvalueindex SCHEME_CURRENT SUB_BUTTONS LIDACTION 1
powercfg /setactive SCHEME_CURRENT

The first line sets plugged in (AC) to Do nothing, the second sets battery (DC) to Sleep, and the third reapplies your current power plan so the change takes effect. These lines change only the active plan, so repeat them after switching plans.

Fixes When It Still Sleeps, Greys Out or Disappears

  • It sleeps after a few minutes anyway. That’s the idle timer, not the lid. Check Make my device sleep after in Settings > System > Power & battery > Screen, sleep & hibernate timeouts. Microsoft’s current defaults on Modern Standby laptops are short (3 minutes on battery, 5 plugged in). This guide to Windows 11 sleep and power settings covers the timers. If your laptop has presence sensing, check that feature too.
  • The drop-downs stay grey. On a work or school PC, the organization can set the lid action by policy. Ask IT rather than editing the registry.
  • Your choice keeps reverting. A laptop maker’s power app may apply its own profile. Check its battery or power section, then set the lid action again.
  • The link is missing. Desktops don’t report a lid. On a laptop, install the latest drivers and firmware from the maker’s support site and restart. You won’t find a lid row in Advanced power settings by default, because Microsoft marks that setting as hidden.
  • The monitor blanks when you close the lid. Make sure the charger is in and the Plugged in column says Do nothing, pick a mode with Windows logo key + P, then update the graphics driver and dock firmware. Microsoft also suggests reconnecting monitors that misbehave after wake.

Test It and Put It Back

Play music through the speakers or start a large file copy, close the lid for a minute and reopen it. If the audio never paused and the copy kept moving, the setting works. To undo, return to Choose what closing the lid does, set both columns to Sleep and select Save changes.

Lid Setting Questions

Does closing the lid lock Windows when it’s set to Do nothing?

No. Anyone who opens it lands on your desktop. Press Windows logo key + L before walking away; other options are in this guide to locking a Windows computer.

Can music keep playing with the lid closed?

Yes, with Do nothing for the current power source and no idle sleep kicking in. Speaker, Bluetooth and output details are covered in keeping music playing with the laptop closed.

Hibernate or Shut down as the lid action?

Hibernate. It saves open apps and documents and restores them when you power on. Shut down closes everything, and unsaved work is lost.

Does this change the power button?

No. The same page has a separate When I press the power button row with its own two columns.

Next step: set Plugged in to Do nothing, leave On battery on Sleep, and run the music test before relying on it overnight.