Using a MacBook closed with an external monitor
23 November 2026 · Martín Acuña Lledó · Applies to macOS 13 Ventura through macOS 27
Running a MacBook with the lid closed on a stand, with an external monitor, keyboard and mouse, is one of the most common desk setups. It mostly works. The trouble is at the edges: the screen stays black when you close the lid, a second monitor disappears when you open it, windows rearrange themselves, or the laptop screen looks wrong after you unplug. This page covers what Apple says the setup needs, what goes wrong and why, and what helps.
What Apple says it needs
Apple's article "If your external display is dark or low resolution" says: "If the display is connected to a Mac laptop computer with a closed lid, make sure that the Mac is connected to power and using an external keyboard and mouse." If the external screen stays black when you close the lid, check those two first.
Apple used to have a separate article on closed-display mode. I could not find it on Apple's site any more, so the line above is the current guidance.
Does closing the lid add a monitor?
It depends on the model, and Apple says so in two places:
- MacBook Air and MacBook Pro with M3. Apple's page "Use dual monitors with your MacBook Air and MacBook Pro with M3 chip" says you can connect two external displays when you close the lid. It lists an external keyboard and mouse or trackpad, macOS Sonoma 14.3 or later on the MacBook Air, and power. It also warns: "If you open the laptop lid when both displays are connected, the secondary external display will go dark or disconnect."
- MacBook Air with M4 or M5. Apple's page on how many displays a MacBook Air supports says: "Closing the lid of your MacBook Air with M4 chip will not increase the number of external displays that can be supported", and the same for M5. On those, the lid makes no difference to the count.
For other models, the limit is in your Mac's tech specs. See how many external monitors your Mac supports.
What goes wrong
- Windows rearrange when you close or open the lid. To macOS, the built-in screen disappearing or coming back is a display change, the same as plugging a monitor in or out. It moves windows to fit the new set of displays and does not always move them back.
- A second monitor drops when you open the lid. On M3 MacBooks with two external displays, that is the documented behaviour quoted above, not a fault.
- The built-in screen is wrong after you unplug. In an Apple Community thread with 104 "Me too" votes, a MacBook Pro user who works closed on a CalDigit hub describes the built-in screen coming back at the wrong scaled resolution, with a squashed menu bar, after unplugging. Details in built-in display looks wrong after undocking.
- The external monitor changes resolution in clamshell. In a MacRumors thread, a user with an M1 Max MacBook Pro and a Dell U3818DW reported in January 2025 that closing the lid switched the Dell to 1280x720. Turning a monitor off and on while closed also moved and resized windows for the original poster back in 2020.
Fixes without an app
- Power, keyboard and mouse first. As Apple says, a closed MacBook needs to be on power with an external keyboard and mouse.
- Close the lid after the monitors are up, and open it before you unplug. The author of the Apple Community thread reported that waking at the desk, opening the lid so the built-in screen joins the external ones, and only then unplugging stopped the built-in screen problem. One user's workaround, not an Apple fix.
- On M3, decide: lid closed with two monitors, or lid open with one. Switching between them is where the second display drops.
- Keep the external monitor connected while you are away. Set "Turn display off when inactive" to Never in System Settings → Lock Screen, use a password-protected screen saver, and turn off deep sleep in the monitor's menu. A monitor that never drops its link cannot cause a rearrangement. See Mac loses window positions when you lock it.
- Make Detect Displays your first move. If the external screen does not come back, Apple suggests closing the lid for a few seconds and opening it again, or holding Option in System Settings → Displays and clicking Detect Displays.
More dock-specific advice is in a MacBook, a dock and different monitors.
How Many Displays handles it
Many Displays treats lid closed and lid open as two different combinations of displays, and keeps a layout for each. When you close or open the lid, it freezes saving while the displays reconfigure, so the shuffle is never recorded. Once the displays have been stable for a few seconds, it puts back the arrangement, resolution, refresh rate, rotation and HDR for that combination, then every window to its display, position and size. The first time it sees a combination, for example your monitors with the lid open, it starts from the closest setup it knows and remembers that one separately from then on.
When you unplug and the built-in screen comes back at a wrong resolution, it restores the last good mode it saw with the MacBook alone. With the MacBook alone it does not move windows.
Where it does not help:
- A black screen when you close the lid. That is power, keyboard or the Mac's display limit. No app can light the screen.
- The second display dropping on M3 when you open the lid. That is how Apple documents it.
- A broken menu bar after unplugging. It restores the built-in screen's resolution, not the menu bar layout. A restart is still the fix for that.
Download the free trial How it works
Questions
What do I need to use a MacBook with the lid closed?
Apple says that with a closed lid the Mac should be connected to power and use an external keyboard and mouse. For the MacBook Air and MacBook Pro with M3, Apple's page on dual monitors also lists macOS Sonoma 14.3 or later for the MacBook Air.
Does closing the lid let me use more external monitors?
Only on some models. Apple says the MacBook Air and MacBook Pro with M3 can drive two external displays when the lid is closed. For the MacBook Air with M4 or M5, Apple says closing the lid will not increase the number of external displays that can be supported.
Why do my windows move when I close or open the lid?
To macOS the built-in screen appearing or disappearing is a display change like plugging a monitor in or out. It rearranges windows for the new set of displays, and on an M3 MacBook with two external monitors, Apple says opening the lid makes the second external display go dark or disconnect.
Why is the built-in screen wrong after I use the Mac closed and then unplug?
Apple Community users report the built-in screen coming back at the wrong scaled resolution or with a broken menu bar after closed-lid use. One workaround reported there is to open the lid before unplugging.