To keep your Windows 11 laptop running when the lid is closed, change the power settings so the system does not sleep, hibernate, or shut down. This is useful when using an external monitor, keyboard, and mouse in a desktop-like setup. No additional software is needed—just access the built-in power options.

What You'll Need

  • A Windows 11 laptop or tablet with a lid that can be closedAdministrator access to the device (standard user accounts can usually change these settings)
  • An external monitor, keyboard, and mouse (optional but recommended for typical use cases)

Step-by-Step

  1. Right-click the Start button and select Power Options from the menu. This opens the Settings app to the System > Power & battery page.
  2. Scroll down and click Additional power settings under the Related settings section. This opens the legacy Control Panel Power Options window.
  3. In the Power Options window, locate your current power plan (e.g., Balanced, Power saver, or High performance) and click Change plan settings next to it.
  4. On the Edit Plan Settings page, click Change advanced power settings at the bottom.
  5. In the Advanced Settings dialog box, expand the Power buttons and lid section by clicking the plus (+) icon next to it.
  6. Expand the Lid close action subsection underneath it.
  7. You will see two dropdown menus: one for On battery and one for Plugged in. Click each dropdown and select Do nothing for both if you want the laptop to remain active when the lid is closed regardless of power source. Alternatively, you can set different actions for battery vs. plugged in (e.g., Sleep on battery, Do nothing when plugged in).
  8. Click Apply, then OK to save the changes.
  9. Close the Power Options window and test the setting by closing the lid while connected to an external monitor. The display should remain active on the external screen, and the system should continue running.

Common Mistakes

  • Only changing the setting in the modern Settings > System > Power & battery page without accessing Additional power settings—this does not expose the lid close action controls in Windows 11.
  • Assuming the change takes effect immediately without clicking Apply and OK in the advanced settings dialog.
  • Setting the lid close action to Do nothing only on battery or only plugged in, then being surprised when the behavior differs based on power source.
  • Forgetting that some laptops may still power off USB ports or disable audio when the lid is closed, even if the system stays on, due to manufacturer-specific power policies.
  • Not verifying that the external display is set to extend or duplicate mode in Display Settings, leading to the assumption the laptop is off when it's actually just not sending video to the internal screen.

Tips

  • If you frequently dock and undock your laptop, consider creating a custom power plan with the lid close action set to Do nothing only when docked, using third-party tools or scripts if needed, as Windows 11 does not automate this per docking state.
  • To prevent overheating when running with the lid closed, ensure the laptop is on a hard, flat surface with adequate ventilation—avoid using it on beds, sofas, or laps where vents can be blocked.
  • Check the Event Viewer (Windows Logs > System) if the system unexpectedly sleeps or shuts down despite the settings—look for Kernel-Power or Power-Troubleshooter events to diagnose the cause.
  • Use the powercfg command in an elevated Command Prompt to verify current settings: run powercfg /query and look for SubGroup "Lid Close Action" (GUID: 5ca83367-6e45-459f-a27b-476b1d01c936) to confirm the AC and DC values are set to 0 (Do nothing).
  • If you're using a USB-C docking station, confirm it supports continuous display output when the laptop lid is closed—some docks rely on the laptop's internal screen being active to initialize the external video chain.

Troubleshooting

  • System still sleeps when lid is closed: Double-check that you modified the correct power plan. Windows may have multiple plans, and changes only apply to the active one. Ensure Apply and OK were clicked in the advanced settings dialog.
  • External monitor goes black when lid closes: Go to Settings > System > Display, click Detect, and ensure the external display is set to Extend or Duplicate. Also check the monitor's input source and cable connection.
  • Laptop overheats: Clean the vents with compressed air, ensure nothing blocks airflow, and consider using a cooling pad. Avoid running intensive tasks (like gaming or video rendering) for extended periods with the lid closed unless the laptop is designed for it.
  • Settings revert after reboot or update: Some OEM utilities (like Lenovo Vantage, Dell Power Manager, or HP Command Center) override Windows power settings. Open the manufacturer's software and look for lid close or power behavior settings to adjust them there.
  • Cannot find Additional power settings: If the link is missing, search for "Control Panel" in the Start menu, open it, go to Hardware and Sound > Power Options, and proceed from step 3 above. The path may vary slightly by Windows 11 version, but the Control Panel method remains reliable.

Frequently Asked Questions

Will closing the lid damage my laptop?

No, closing the lid does not damage the laptop. However, running it with the lid closed for long periods can increase internal temperatures, so ensure proper ventilation and avoid blocking vents.

Can I set different actions for when the laptop is on battery vs. plugged in?

Yes, in the Advanced Power Settings, you can independently configure the Lid close action for On battery and Plugged in using the two dropdown menus.

Why does my laptop still sleep even after setting it to Do nothing?

This is often due to third-party power management software from the laptop manufacturer overriding Windows settings. Check for utilities like Dell Power Manager, Lenovo Vantage, or HP Support Assistant and adjust their power policies.

Will this setting affect battery life?

Yes, if you set the lid close action to Do nothing while on battery, the laptop will continue to consume power and drain the battery faster than if it slept or hibernated.

Is there a way to automate this setting when I dock my laptop?

Windows 11 does not natively automate power plan changes based on docking state. You would need to use third-party automation tools or scripts triggered by dock detection events, or manually switch plans.

What if I don’t see the Lid close action option at all?

This is rare but can occur on certain devices with customized firmware or enterprise-managed systems. In such cases, the behavior may be locked by policy or hardware design—consult your device’s support documentation or IT administrator.