Close your laptop without losing your display

When you close your laptop lid, Windows and Mac both have a default behavior: they put the computer to sleep. But you can change this so your external monitor stays active even when the lid is shut. The steps differ slightly between operating systems, and you have options depending on whether you want the laptop to sleep, stay awake, or just turn off its built-in screen.

The most common setup is to close the lid and let the external monitor remain your only active display while the laptop itself goes to sleep. This saves battery power and keeps your desk cleaner. If you want the laptop to stay fully awake and running while closed, that's also possible — you'll just use more power and generate more heat.

Key Takeaways

  • On Windows, you change lid-close behavior in Settings under Power, then choose Sleep, Hibernate, or Do Nothing.
  • On Mac, go to System Settings, then Energy Saver, and uncheck "Close the clamshell" to keep the external display active.
  • Your external monitor must be plugged in and turned on before you close the lid, or the system may not recognize it.
  • If your laptop goes to sleep when you close it, you can wake it by moving the mouse or pressing a key — the external monitor will turn back on.

Windows: Change what happens when you close the lid

Open Settings by pressing the Windows key and typing "Settings," then click the Settings app. Once it opens, select System from the left sidebar, then click Power.

Look for the section labeled Power and sleep. You'll see an option that says "When I close my lid." Click the dropdown menu next to it. Your choices are Sleep (the default), Hibernate, or Do Nothing. Choose Do Nothing if you want the laptop to stay fully awake with the lid closed. Choose Sleep if you want it to sleep but wake when you touch the mouse or keyboard. Choose Hibernate if you want it to save your work and shut down completely, using almost no power.

After you select your choice, close the Settings window. The change takes effect immediately. The next time you close your lid, the laptop will behave the way you set it.

Mac: Keep your external display active when closed

Click the Apple menu in the top-left corner and select System Settings. In the sidebar, click Energy Saver.

You'll see a checkbox that says Close the clamshell or Prevent automatic sleep while the clamshell is closed (the exact wording varies by macOS version). Uncheck this box. Your Mac will now keep running and keep your external monitor active even when you close the lid.

If you want the Mac to sleep after a certain amount of time instead of staying awake indefinitely, you can set that in the same window. Look for Turn display off after and choose your preferred time — 5 minutes, 10 minutes, or longer. This lets you save power while still keeping the external monitor available if you need it.

Make sure your external monitor is connected first

Before you close the laptop lid, plug your external monitor into the correct port and turn it on. The monitor should display your desktop before you close the lid. If you close the lid before the monitor is connected, your system may not recognize it, and you could end up with a black screen.

Most laptops use USB-C, HDMI, or DisplayPort for external monitors. Check your laptop's ports and your monitor's cable to make sure they match. If they don't match, you may need an adapter — these are inexpensive and widely available.

Once the monitor is on and showing your desktop, you can safely close the lid. The display should stay active on the external monitor.

What to do if the monitor goes black when you close the lid

If your external monitor goes black after you close the lid, the most common cause is that your system settings still have the old behavior. Go back to Settings (Windows) or System Settings (Mac) and double-check that you've selected the right option. On Windows, make sure "When I close my lid" is not set to Sleep. On Mac, make sure "Close the clamshell" is unchecked.

Another possibility is that your monitor cable came loose or the monitor lost power. Check that the cable is firmly plugged into both the laptop and the monitor, and that the monitor itself is turned on. If the monitor has a power button, press it to make sure it's not in standby mode.

If you're using a docking station, the issue might be with the dock itself. Unplug the dock from power for 10 seconds, then plug it back in. This resets the connection and often fixes display problems.

Waking your laptop when it's closed

If you set your laptop to sleep when the lid closes, you can wake it without opening the lid. Move your mouse or press any key on an external keyboard. The laptop will wake up, and your external monitor will turn back on. You don't need to open the lid at all.

If you set the laptop to do nothing when the lid closes, it stays awake the whole time, so there's nothing to wake — it's already running. This uses more battery power, so it's best for situations where your laptop is plugged into power.

Frequently Asked Questions

Will my laptop overheat if I close the lid and keep it running?

Closing the lid traps heat, so yes, your laptop will run hotter than normal. If you plan to keep it running with the lid closed for hours, make sure it's in a well-ventilated space and consider using a laptop stand that allows air to flow underneath. If the laptop gets too hot, it will automatically slow down to cool itself.

Can I use my keyboard and mouse while the lid is closed?

Yes, as long as they're external devices plugged into the laptop or connected wirelessly. Your external keyboard and mouse will work normally. The laptop's built-in trackpad won't work when the lid is closed, but you won't need it if you have an external mouse.

What if I have two external monitors?

Both monitors will stay active when you close the lid, as long as your laptop supports multiple displays and you have the right ports or a docking station. Windows and Mac both handle this automatically — just plug both monitors in before you close the lid, and they'll both stay on.

Does closing the lid damage my laptop?

No, closing the lid is designed to be safe. Laptops are built to handle being closed thousands of times. The only concern is heat buildup if the laptop is running with the lid closed for extended periods, but this is a performance issue, not a damage issue.

Can I lock my laptop without closing the lid?

Yes. On Windows, press Windows key + L to lock the screen. On Mac, press Control + Command + Q. Your external monitor will stay on, but your screen will be locked and require a password to unlock. This is useful if you want to step away without closing the lid or putting the laptop to sleep.