Close the laptop lid without shutting down the computer
When you connect an external monitor to your laptop, you can close the lid and keep working on the larger screen. The key is to change what your laptop does when you close it — by default, most laptops go to sleep when the lid closes, but you can change that setting so the computer stays awake and sends everything to your monitor instead.
The steps differ between Windows and Mac, but both let you keep your laptop running with the lid shut. This setup is useful if you want a bigger screen without buying a desktop computer, or if you want to use your laptop as a second device tucked away while you work on the monitor.
Key Takeaways
- You must change your laptop's power settings before closing the lid, or the computer will go to sleep and disconnect from your monitor.
- On Windows, open Settings, go to System > Power & battery > Power button and lid, and change "When I close the lid" to "Do nothing".
- On Mac, open System Settings, go to General > Login Items & Extensions, scroll to Allow applications to prevent sleep, and add your monitor app if one exists.
- After you close the lid, your monitor becomes your only display — make sure it is plugged in and turned on, or you will see nothing.
- If your laptop keyboard and trackpad stop working after you close the lid, you will need an external keyboard and mouse to control the computer.
Windows: Change the lid close setting
On Windows, the setting that controls what happens when you close the lid lives in the Power settings. Open the Settings app by pressing the Windows key and typing "settings", then click the Settings icon that appears.
Once Settings is open, click System in the left sidebar, then scroll down and click Power & battery. Look for a section called Power button and lid and click it to expand. You will see a dropdown that says "When I close the lid" — click that dropdown and select Do nothing. Close the Settings window and you are done.
Now when you close your laptop lid, Windows will keep running and your monitor will stay active. The screen will not go dark, and any programs you have open will keep running. If you want the laptop to go to sleep later, you can always change this setting back.
Mac: Prevent sleep when the lid closes
Mac does not have a single "close lid" setting like Windows does. Instead, you prevent sleep by telling the system that an app needs to keep running. Open System Settings by clicking the Apple menu in the top left corner and selecting System Settings.
Click General in the sidebar, then scroll down and click Login Items & Extensions. Scroll down further until you see a section called Allow applications to prevent sleep. If you have an app for your external monitor (some monitor manufacturers provide one), add it to this list by clicking the plus button and selecting the app. If you do not have a monitor app, you can add any app you use regularly — the system will keep running as long as that app is active.
If you do not want to add an app, another option is to go back to System Settings, click General, then Sleep, and set the computer sleep timer to Never. This keeps your Mac awake all the time, though it uses more battery power if you are running on battery.
Connect your monitor before closing the lid
Make sure your external monitor is plugged in and turned on before you close the laptop lid. Plug the monitor cable into the correct port on your laptop — this is usually USB-C, HDMI, DisplayPort, or Thunderbolt, depending on your laptop model. If you are not sure which port to use, check your laptop's manual or look at the monitor's cable to see what connector it has.
Once the monitor is connected and powered on, your laptop screen should show the same image on both displays, or your monitor should become your main screen. Wait a few seconds for the connection to register, then close the laptop lid. Your monitor should stay on and show your desktop or whatever was on your screen.
Use an external keyboard and mouse
When your laptop lid is closed, the built-in keyboard and trackpad will not work — they are physically blocked by the closed lid and the laptop does not register input from them. You will need an external keyboard and mouse (or trackpad) to control your computer once the lid is shut.
Connect your keyboard and mouse before you close the lid, either by plugging them in via USB or by pairing them wirelessly if they use Bluetooth. Test them to make sure they work, then close the lid. You should be able to move the mouse, click, and type normally using the external devices.
If you forget to connect a keyboard and mouse before closing the lid, you can still open the lid again to regain control — closing the lid does not lock you out of the computer, it just disables the built-in input devices.
Troubleshoot if your monitor goes dark
If you close the lid and your monitor screen goes black or dark, the most common cause is that you did not change the power setting before closing. Open the lid again, go back to your power settings (Settings > System > Power & battery > Power button and lid on Windows, or System Settings > General > Sleep on Mac), and make sure the setting is correct. Then close the lid again.
Another reason the screen might go dark is that your monitor is not receiving power or is not turned on. Check that the monitor's power cable is plugged into a working outlet and that the monitor's power button is pressed. Some monitors have a brightness dial or button on the front — if the screen is very dim, try turning up the brightness.
If the monitor is on and the power setting is correct but the screen is still dark, try moving the mouse or pressing a key on your external keyboard to wake the display. Sometimes the monitor enters a low-power mode and needs input to wake up. If that does not work, unplug the monitor cable from your laptop, wait five seconds, and plug it back in to reset the connection.
Frequently Asked Questions
Will my laptop overheat if I close the lid and keep it running?
Closing the lid does not block airflow on most laptops — the vents are usually on the sides or bottom. However, running your laptop for long periods without breaks can cause heat buildup. Make sure your laptop is on a hard, flat surface (not a bed or pillow) so air can flow underneath, and consider using a laptop stand or cooling pad if you plan to run it closed for many hours.
Can I use my laptop monitor and external monitor at the same time?
Yes, but only if you do not close the lid. If you keep the lid open, both screens will work together — you can drag windows between them or use one for your main work and one for reference. Once you close the lid, the laptop screen turns off and only the external monitor works.
What if my laptop does not have the power setting I am looking for?
Some laptops, especially older models or those with custom software, may not have the exact settings described here. Check your laptop manufacturer's support website for your specific model. You can also try searching "how to close lid without sleep" plus your laptop model name to find instructions tailored to your device.
Do I need to unplug my monitor when I close the laptop lid?
No. You can leave the monitor plugged in and powered on. When you close the lid, the monitor will stay connected and active. You can open the lid again anytime and both screens will work together, or you can leave it closed and keep using just the monitor.
Will closing the lid damage my laptop?
No. Laptops are designed to close, and closing the lid does not harm the screen, hinges, or internal components. The lid is meant to protect the screen when you are not using it, so closing it while the computer runs is safe.