MacBook Clamshell Mode with an External Monitor: When Do You Need an App?
Native clamshell mode already keeps a MacBook running with the lid closed when it's on power with an external display. A keep-awake app covers the rest.
Two different "lid closed" scenarios
| Scenario | What macOS does | Do you need an app? |
|---|---|---|
| Power adapter + external display + keyboard/mouse | Native clamshell mode: the built-in display turns off, the Mac keeps running | Usually no |
| No external display, lid closed | Lid-closed sleep; tasks stop | Yes |
| Battery only + external display | Many Macs still sleep when the lid closes | Usually yes |
| Start/stop by process, audio, remote session, or schedule | The system can't do this | Yes |
How native clamshell mode works
Connect the MacBook to a power adapter, an external display, and an external keyboard and mouse, then close the lid. macOS turns off the built-in display and extends the desktop to the external display. This is built into the system; no extra app is required.
If you already use this setup but still get a black screen or a disconnect after closing the lid, check:
- the power adapter is connected (clamshell mode usually requires power);
- the display cable, input source, and resolution are correct;
- an external keyboard and mouse are connected (the built-in keyboard is unavailable with the lid closed);
- press a key on the external keyboard after closing the lid to see if it wakes.
When you still need an app
Native clamshell mode covers the "external display + power" case. It doesn't help with:
- No external display: keep a MacBook running with the lid closed in a bag for downloads, builds, or agents;
- Battery power: many Macs still sleep when the lid closes;
- Automation: start and stop by process, audio, remote session, CPU/network, or schedule;
- Safety guards: stop on low battery, thermal protection, automatic reset on quit/crash/restart;
- A menu-bar switch: toggle screen-off awake or lid-closed awake by hand.
HeyWakeup's Awake When Closed is session-level. It doesn't need root or an admin password, and it restores the system default when the app quits, crashes, or the Mac restarts.
Common questions
The external display goes black after I close the lid — is that the app? If you haven't installed an app, check power, cable, input source, keyboard, and mouse first. Native clamshell mode should work with power and an external display.
The built-in display stays on after I close the lid. Native clamshell mode turns the built-in display off. If it doesn't, check the display settings and the lid-related options.
Do I still need a keep-awake app with an external display? If you're on power, the external display works, and you don't need automation, usually not. Install one when you need no external display, battery power, automatic conditions, or safety guards.
Will an app interfere with the external display? Lid-closed awake only prevents system sleep; it doesn't change how the display is connected. The display still turns on and off according to the system and the monitor.
Bottom line
Try native mode first: power adapter + external display + keyboard/mouse. If it works with the lid closed, you don't need an app. If you need to keep running without an external display, on battery, with automatic conditions, or with low-battery and thermal guards, use HeyWakeup.
Related reading
- Keep your Mac awake with the lid closed (no password)
- Use Your MacBook as a Music Player with the Lid Closed
- Keep AI Agent Runs Alive with the Lid Closed (Claude Code, Codex)
Download HeyWakeup · Pricing · Support