Close the lid without shutting down your laptop
When you connect an external monitor to your laptop, you can close the lid and keep working on the bigger screen. Your laptop stays on and running — it just stops using its own built-in display. This is called closing the lid without sleeping, and it requires one setting change before you close it.
The setting exists because laptops normally assume a closed lid means you are done working and should go to sleep to save battery. You need to tell your laptop to ignore that assumption and keep running instead. Once you change this setting, closing the lid becomes safe — your work stays open, your programs keep running, and you can use the external monitor as if it were a desktop computer.
The steps differ slightly between Windows and Mac, but the idea is the same: find the power setting that controls what happens when you close the lid, change it from "sleep" to "do nothing", and then you are ready to close the lid without losing anything.
Key Takeaways
- You must change your laptop's power setting before closing the lid, or it 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" from Sleep to Do Nothing.
- On Mac, open System Settings, go to General > Login Items & Extensions, scroll to Allow apps to prevent sleep, and add your external monitor app or disable sleep manually.
- After you change the setting, you can close the lid and use only the external monitor without interruption.
- If your laptop feels hot with the lid closed, prop it open slightly or use a laptop stand to let air flow underneath.
Windows: Change the lid-close setting
On Windows 10 or 11, the setting lives in the power menu. Click the Start button (the Windows logo in the bottom left), then type "power button" into the search box. Click Change what the power button does — this opens the power settings page.
Look for the section labeled When I close the lid. You will see a dropdown menu next to it, probably set to Sleep. Click that dropdown and select Do Nothing. Then click the Save Changes button at the bottom of the page. That is all you need to do — Windows will now ignore a closed lid and keep running.
If you do not see the "When I close the lid" option, your laptop may be using battery power. Plug it in first, then go back to Settings. Some Windows laptops hide this option when unplugged to protect battery life. Once you plug in the external monitor and close the lid, you will almost certainly have power nearby anyway.
Mac: Prevent sleep when the lid closes
Mac does not have a single "close the lid" setting the way Windows does. Instead, you prevent sleep by keeping something active. The simplest method is to open System Settings (the gear icon), then go to General > Login Items & Extensions. Scroll down to the section called Allow apps to prevent sleep.
Add any app you use regularly — your web browser, email, or text editor. Mac will keep that app awake even when the lid is closed, which means your monitor stays active. If you do not see this section, your Mac is older and uses a different system. In that case, open System Settings > General > Sleep and set the sleep timer to Never while you are plugged in.
A second option is to use the Caffeinate command in Terminal, but that requires typing code and is not necessary for most people. The app-prevention method works reliably and does not drain battery as long as you are plugged into power.
Connect the external monitor before closing the lid
Plug your monitor into the correct port on your laptop — usually USB-C, HDMI, or DisplayPort, depending on your model. Your laptop should recognize the monitor within a few seconds and show your desktop on the external screen. You may see a notification asking how you want to arrange the displays (extend, duplicate, or use external only). Choose whichever layout you prefer.
Wait a few seconds for the monitor to fully set up and display your desktop clearly. Then, with the monitor running and your setting changed, you can safely close the lid. Your laptop will stay on, and the external monitor will remain your active display.
Troubleshoot if your monitor goes dark when you close the lid
If the monitor goes black when ready after you close the lid, your setting change did not take effect. On Windows, go back to Settings and double-check that "When I close the lid" is set to Do Nothing, not Sleep. On Mac, verify that an app is listed under "Allow apps to prevent sleep" or that sleep is set to Never.
Another common cause is that your laptop went to sleep before you changed the setting. Restart your laptop, change the setting again, and make sure you see a confirmation message. Some Windows laptops require you to click Save Changes explicitly — if you close the Settings window without saving, the change will not stick.
If the monitor still goes dark, try unplugging the monitor and plugging it back in while the lid is closed. Some laptops need a moment to re-detect the external display after the lid closes. Wait 10 seconds, then check if the monitor wakes up.
Keep your laptop cool with the lid closed
Closing the lid traps heat inside your laptop, especially if you are doing demanding work like video editing or gaming. Check the bottom of your laptop after 30 minutes of use — if it feels very hot, prop the lid open slightly with a small object like a pencil or a laptop stand. This lets air flow underneath and keeps the temperature down.
You can also buy a laptop stand designed for closed-lid use. These stands angle your laptop so the vents stay clear of the desk surface. They cost between $20 and $60 and make a noticeable difference in cooling. If your laptop has vents on the sides or back, make sure nothing is blocking them when the lid is closed.
Use keyboard and mouse with your external setup
With your laptop closed and the external monitor running, you will need a separate keyboard and mouse — you cannot use your laptop's keyboard or trackpad when the lid is shut. Connect a wireless keyboard and mouse, or use a wired USB keyboard and mouse plugged into your laptop or a USB hub.
If you want to keep your laptop's keyboard available, prop the lid open at a steep angle instead of closing it completely. This gives you access to the keyboard while still using the external monitor as your main display. You lose some of the space-saving benefit, but you keep the flexibility of your laptop's input devices.
Frequently Asked Questions
Will closing the lid damage my laptop?
No. Laptops are designed to close, and closing the lid with the setting changed to "do nothing" is safe. The main concern is heat buildup, which you can manage by ensuring vents are not blocked and checking the temperature occasionally.
Can I use my laptop keyboard if the lid is closed?
No, you cannot reach the keyboard when the lid is fully closed. You will need an external keyboard and mouse. If you want keyboard access, prop the lid open at an angle or use a laptop stand that holds it partially open.
What if I want to use both the laptop screen and the external monitor at the same time?
Keep the lid open. When your lid is open, both screens stay active and you can drag windows between them. This uses more power and generates more heat, but it gives you more screen space to work with.
Does closing the lid save battery?
Not significantly if your laptop is plugged in. If you are running on battery, closing the lid does not help — the setting you changed only affects what happens when the lid closes, not power consumption. Closing the lid may help slightly by reducing airflow and heat loss, but the difference is small.
Why does my external monitor disconnect when I close the lid even after I changed the setting?
The setting may not have saved properly. Go back and confirm the change is still there — sometimes Windows resets it after an update. You can also try unplugging and replugging the monitor while the lid is closed to force your laptop to re-detect it.