Close your laptop and keep using it with a monitor

When you connect an external monitor to your laptop, you can close the laptop lid and continue working on the larger screen. Your laptop will stay on and keep running — it won't go to sleep or shut down. The keyboard and trackpad stop working once the lid closes, so you'll need an external keyboard and mouse, but everything else functions normally.

The process is straightforward: plug in your monitor, connect a keyboard and mouse, then close the lid. Your laptop detects the external display and automatically switches to it. On Windows, this usually happens instantly. On Mac, you may need to adjust a setting first so the laptop doesn't go to sleep when you close it.

Key Takeaways

  • Closing your laptop lid while an external monitor is connected keeps your laptop running — it won't shut down or enter sleep mode.
  • You must connect an external keyboard and mouse before closing the lid, because the laptop's keyboard and trackpad become inaccessible.
  • On Windows, your laptop automatically detects the external monitor when you close the lid and switches to it without any settings changes.
  • On Mac, you need to turn off "Automatically light up external displays when they wake from sleep" in System Settings so your laptop doesn't sleep when you close the lid.
  • If your laptop doesn't detect the monitor after closing the lid, restart it with the lid closed and the monitor already plugged in.

What happens when you close your laptop lid

Closing your laptop lid does not turn off your computer or put it to sleep — not when an external monitor is connected. Your laptop continues running all open programs, downloads, and background tasks. The only thing that stops working is the built-in screen and the keyboard and trackpad.

This is useful because you get the desk space of a closed laptop plus the screen real estate of a monitor. Your laptop takes up minimal room, and you work entirely on the external display. The laptop itself becomes almost invisible — just a small box under your desk or monitor arm.

Connect your monitor, keyboard, and mouse first

Before you close the lid, plug in three things: the monitor, the keyboard, and the mouse. The monitor connects to your laptop via HDMI, USB-C, DisplayPort, or whatever port your laptop has. The keyboard and mouse connect via USB, Bluetooth, or a wireless receiver.

If you close the lid without connecting a keyboard and mouse, you'll have no way to control your laptop. The trackpad and keyboard are disabled the moment the lid closes. You'll be stuck staring at a monitor with no way to type or click anything. So always plug in input devices first.

Test that the monitor displays your screen before you close the lid. Open a web browser or document so you can see that the external display is working. This takes 30 seconds and prevents the frustration of closing the lid and discovering the monitor wasn't connected properly.

Windows: Close the lid and switch to the monitor

On Windows, the process is automatic. Plug in your monitor, keyboard, and mouse. Close the lid. Windows detects the external monitor and immediately switches your display to it. You don't need to change any settings or press any keys.

If Windows doesn't detect the monitor after you close the lid, press Windows key + P to open the display menu. You'll see options like "Extend" or "Second screen only." Choose "Second screen only" to use only the external monitor. Then restart your laptop with the lid closed and the monitor already plugged in — Windows will remember this configuration next time.

If you want to use the laptop again with the lid open, just open it. Windows will detect the built-in screen and ask whether you want to extend the display or use only the laptop screen. Choose whichever you prefer.

Mac: Turn off sleep when the lid closes

On Mac, you need to change one setting before closing the lid. Go to System Settings, then click "General" in the left sidebar. Scroll down and click "Login Items." Look for an option called "Automatically light up external displays when they wake from sleep" — turn this off.

The exact location of this setting varies depending on your macOS version. If you can't find it in Login Items, try searching for "external display" in System Settings using the search box at the top. Once you turn it off, your Mac will stay awake when you close the lid and an external monitor is connected.

After you change this setting, close the lid. Your Mac will continue running and display everything on the external monitor. When you open the lid again, your Mac will wake up normally and you can choose whether to use the built-in screen or the external monitor.

Troubleshooting when the monitor doesn't work

If you close the lid and the monitor stays blank, the most common cause is that the monitor wasn't fully connected before you closed the lid. Open the lid again, unplug the monitor cable from your laptop, wait five seconds, and plug it back in. Then close the lid again.

If the monitor still doesn't work, restart your laptop with the lid closed and the monitor already plugged in. This forces your laptop to detect the external display during startup. On Windows, hold the power button for 10 seconds to shut down completely, then press it again to restart. On Mac, hold the power button until "Shut Down" appears on screen, click it, wait 10 seconds, then press the power button again to restart.

Check that your keyboard and mouse are working. If they're not responding, the issue is with those devices, not the monitor. Try unplugging and replugging them, or if they're wireless, check that they're turned on and paired with your laptop.

Using your closed laptop as a desktop

Once your monitor, keyboard, and mouse are working with the lid closed, your laptop functions exactly like a desktop computer. You can open as many programs as you want, work for hours, and everything stays running. The only difference is that your computer is portable — you can unplug the monitor, keyboard, and mouse, open the lid, and take your laptop somewhere else.

Many people set up their laptops this way permanently. The laptop sits closed under the desk, connected to a monitor, keyboard, and mouse. When they need to travel, they close the monitor, unplug everything, open the laptop, and go. It's the flexibility of a laptop with the comfort of a desktop setup.

If you want to add more monitors, you can do that too. Some laptops support two or three external monitors at once. Check your laptop's manual or the manufacturer's website to see how many displays it can handle.

Frequently Asked Questions

Will my laptop overheat if I keep the lid closed?

No. Laptops are designed to run with the lid closed. The vents are on the sides and bottom, not the top, so closing the lid doesn't block airflow. As long as your laptop is on a hard, flat surface and not covered by blankets or cushions, it will stay cool.

Can I use my laptop's built-in speakers with the lid closed?

Yes, the speakers work fine with the lid closed. If you want better sound, connect external speakers to your laptop via USB or a 3.5mm audio jack. The audio will play through whichever speakers you have connected.

What if I want to use both the laptop screen and the monitor at the same time?

Open the lid. Your laptop will detect both screens. On Windows, press Windows key + P and choose "Extend" to use both displays. On Mac, both screens will work automatically. You can drag windows between them or use one for work and one for reference.

Do I need to unplug the monitor before closing the lid?

No. You can leave everything plugged in and just close the lid. Your laptop will keep running and displaying on the monitor. Unplugging and replugging is only necessary if the monitor stops working.

Can I charge my laptop while the lid is closed?

Yes. Plug in your power adapter and close the lid. Your laptop will charge normally. The power adapter doesn't interfere with the monitor, keyboard, or mouse.