Your monitor stays on, but your laptop screen goes dark

When you close your laptop lid, Windows and macOS automatically put the built-in screen to sleep — but your external monitor does not have to follow. You can tell your operating system to ignore the closed lid and keep working on the external display. This is useful if you use your laptop as a desktop replacement, docking it under a monitor and keyboard while you work.

The setting lives in your power and sleep options, and the change takes about two minutes. Your laptop will still go to sleep eventually (after the time you set), but closing the lid alone will not trigger it.

Key Takeaways

  • Windows lets you choose what happens when you close the lid — you can set it to do nothing, sleep, or shut down, separately for battery and plugged-in modes.
  • On a Mac, closing the lid always puts the built-in display to sleep, but an external monitor will stay on if your Mac is plugged in and set not to sleep.
  • The Windows setting is in Settings > System > Power & Battery > Power and sleep, under "When I close my lid".
  • On Mac, the setting is in System Settings > General > Login Items & Extensions, then choose what happens when you close the display.
  • If your laptop is plugged into a docking station, you may also need to check the docking station's own power settings.

How to change the setting on Windows

Open Settings by pressing the Windows key and typing "settings", then press Enter. Click System in the left sidebar, then click Power & Battery.

Scroll down until you see When I close my lid. You will see two options: one for when your laptop is plugged in, and one for when it is on battery. Click the dropdown next to "Plugged in" and choose Do nothing. This tells Windows to ignore the closed lid and keep your external monitor running.

If you want the same behavior on battery power, change that dropdown to Do nothing as well — but be aware that your laptop will drain faster if the screen stays on. Many people leave it set to Sleep for battery mode so the laptop rests when unplugged, but keep the plugged-in setting as Do nothing.

Close Settings. The change takes effect when ready. Next time you close your laptop lid, the external monitor will stay on and your laptop will keep running.

How to change the setting on Mac

Click the Apple menu in the top-left corner and select System Settings. Click General in the left sidebar, then click Login Items & Extensions.

Scroll down to find Close the display without putting the Mac to sleep and toggle it on. This option only appears if your Mac is plugged into power. When this toggle is on, closing your MacBook lid will put the built-in display to sleep, but your external monitor will stay on and your Mac will keep running.

If you do not see this option, your Mac may not be plugged in, or you may not have an external monitor connected. Plug in your power adapter and connect your external display, then check again.

What to do if your laptop is docked

If your laptop sits in a docking station rather than loose on a desk, check whether the docking station has its own power button or sleep settings. Some docking stations have a physical button that controls power to all connected devices, or a setting in their own software that overrides your laptop's power settings.

If your monitor goes dark even after you have changed the laptop's lid setting, try unplugging the docking station's power cable for five seconds, then plugging it back in. This resets the docking station and often fixes conflicts between the dock and your laptop's power settings. If the problem persists, check the docking station's manual or the manufacturer's website for a settings app you may need to install.

Why your monitor might still go dark

Even after you change the lid setting, your monitor can still go dark if your laptop's display timeout is set too low. This is separate from the lid-close setting. Open Settings (Windows) or System Settings (Mac) and look for Screen or Display settings. Find the option that says "Turn off display after" or "Sleep after" and set it to a longer time — 30 minutes or more if you want the monitor to stay on while you work.

On Windows, this setting is in Settings > System > Power & Battery > Screen and sleep. On Mac, it is in System Settings > Displays > Advanced, where you can set the sleep timer for your external display.

Keyboard and mouse still work when the lid is closed

Once you have made this change, your external keyboard and mouse will wake your laptop from sleep if it does fall asleep. This means you can close the lid, step away, and when you come back and move the mouse or press a key, your laptop will wake up and your monitor will light back up. You do not need to open the lid to use your laptop.

If you want to prevent accidental wake-ups from the keyboard, you can disable that in your laptop's BIOS or firmware settings — but that is a more advanced step and usually not necessary for most people.

Frequently Asked Questions

Will my laptop overheat if I close the lid while it is running?

No. Closing the lid does not block airflow to your laptop's vents. Your laptop will run at normal temperature. If you are concerned about heat, make sure your laptop is on a hard, flat surface (not a bed or pillow) so air can flow underneath it.

Can I close the lid on battery power and keep the monitor on?

On Windows, yes — you can set the battery mode to "Do nothing" just like the plugged-in mode. On Mac, the option only works when plugged in. If your Mac is on battery, closing the lid will put it to sleep regardless of the setting.

What if I want the laptop to sleep after a certain time, but the monitor to stay on longer?

Set your laptop's sleep timer to the time you want the laptop to sleep, and set your monitor's own sleep timer (in the monitor's menu or in your display settings) to a longer time. When the laptop sleeps, the monitor will stay on until its own timer runs out.

Does closing the lid damage my laptop?

No. Laptops are designed to close and open thousands of times. Closing the lid while the laptop is running does not cause any damage.

My monitor goes dark even though I changed the setting. What should I do?

First, check that your external monitor is plugged into power and turned on. Then restart your laptop and try again. If the problem continues, check your monitor's own power settings — some monitors have a sleep mode that activates after a set time, separate from your laptop's settings. Check your monitor's manual or on-screen menu for a sleep timer option.