Many users want to keep their laptop running while the lid is closed to continue downloading files, playing music, or using an external monitor. By default, most laptops go into sleep mode or hibernate when the lid is shut. However, you can easily change this setting on Windows and Mac to ensure your laptop remains active.
Using an external monitor for a larger display.
Keeping downloads, updates, or tasks running in the background.
Listening to music or podcasts without keeping the screen open.
Running server applications or background processes.
Select Hardware and Sound > Power Options.
Under When I close the lid, select:
Do nothing (for both battery and plugged-in modes).
Click Save changes to apply the settings.
Now, your Windows laptop will stay on even when the lid is closed.
Plug in an external keyboard and mouse.
Close the lid—your Mac will stay active on the external display.
InsomniaX
Amphetamine (available on the Mac App Store)
These apps prevent sleep mode and keep your MacBook running when the lid is closed.
Battery Life Impact: Continuous usage may reduce battery lifespan.
External Display Setup: If using an external monitor, make sure the connection is stable.
Why Keep Your Laptop Running With the Lid Closed?
There are several reasons why users prefer keeping their laptop on after closing the lid:Using an external monitor for a larger display.
Keeping downloads, updates, or tasks running in the background.
Listening to music or podcasts without keeping the screen open.
Running server applications or background processes.
How to Keep a Windows Laptop On When Closing the Lid
Step 1: Open Power Options
Click on the Start menu and search for Control Panel.Select Hardware and Sound > Power Options.
Step 2: Adjust Lid Settings
Click Choose what closing the lid does (found on the left sidebar).Under When I close the lid, select:
Do nothing (for both battery and plugged-in modes).
Click Save changes to apply the settings.
Now, your Windows laptop will stay on even when the lid is closed.
How to Keep a MacBook Running When Closed
MacBooks automatically enter sleep mode when the lid is closed, but you can bypass this using external accessories or software.Option 1: Use an External Monitor (Clamshell Mode)
Connect your MacBook to an external monitor via HDMI or USB-C.Plug in an external keyboard and mouse.
Close the lid—your Mac will stay active on the external display.
Option 2: Use a Third-Party App
If you want to keep your Mac running without an external monitor, use apps like:InsomniaX
Amphetamine (available on the Mac App Store)
These apps prevent sleep mode and keep your MacBook running when the lid is closed.
Precautions When Using a Laptop With the Lid Closed
Overheating Risk: Ensure proper ventilation to prevent heat buildup.Battery Life Impact: Continuous usage may reduce battery lifespan.
External Display Setup: If using an external monitor, make sure the connection is stable.

