Close MacBook Lid With a Monitor: Make It Sleep, Not Stay On
A MacBook with a monitor attached stays awake when you close the lid. Here's how to make it sleep instead: Apple menu, shortcuts, hot corner, or Terminal.
GuideUpdated 6 min read
On this page
You close the lid expecting the MacBook to sleep. The external monitor stays lit and everything moves onto it. This is clamshell mode, and macOS treats it as a deliberate setup rather than a mistake.
Why the Mac stays awake with the lid closed
macOS reads a closed lid plus an external display as "I'm working at a desk." The Mac keeps running and draws everything on the external screen, the same way it would with the lid open and a keyboard and mouse attached. Clamshell setups usually have the Mac on power with an external keyboard and mouse, which is why a bare, unplugged MacBook still sleeps when you close it.
As of November 2026 we found no option in System Settings on macOS 14 Sonoma, 15 Sequoia or 26 Tahoe that turns this behavior off. The practical answer is to change what you do before closing the lid, not to look for a hidden switch.
Fix 1: sleep the Mac, then close the lid
This is the most reliable method. The Mac is already asleep when the lid shuts, so there is nothing for clamshell mode to take over.
- Choose Apple menu > Sleep.
- Wait for the external display to go dark.
- Close the lid.
To wake it later, press a key, or click the mouse or trackpad. Opening the lid also wakes it.
Apple's page is Mac keyboard shortcuts. Check it for your keyboard type before relying on a key combination.
Fix 2: lock the screen first
Some people lock the screen with Control-Command-Q, which Apple lists as the shortcut that locks your screen. That protects the desktop while you are away.
Be clear about what it does. Locking is not sleeping. The Mac keeps running, and the display stays on until its normal idle timeout. If your goal is a Mac that is actually asleep, use Fix 1. If your goal is only a locked screen, this is enough.
Fix 3: put the displays to sleep with a shortcut
Apple lists Control-Shift-Power button as the shortcut that puts your displays to sleep, on built-in keyboards without Touch ID. The Mac itself keeps running, which helps when a download or a build should carry on.
Whether a password is needed afterward depends on your Lock Screen settings:
- Open System Settings and search for "Lock Screen".
- Set Require password after screen saver begins or display is turned off to Immediately.
If your MacBook has Touch ID, that shortcut may not apply. The hot corner below does the same job without a key combination.
Fix 4: set a hot corner to put the display to sleep
A hot corner gives you a mouse-only way to darken the screen when you walk away.
- Open System Settings and search for "Hot Corners".
- Click Hot Corners… and choose a corner you don't touch by accident.
- Pick Put Display to Sleep from that corner's menu, then click Done.
Moving the pointer into that corner sleeps the displays. This is display sleep, so the Mac keeps running. The same menu has a Lock Screen option if you would rather lock directly.
Fix 5: sleep from Terminal
This puts the whole Mac to sleep immediately:
pmset sleepnowIt does the same as Apple menu > Sleep and changes no settings, so there is nothing to undo. It is handy if you already have Terminal open or want to call it from a script.
Fix 6: unplug the display first
If you disconnect the monitor before closing the lid, the MacBook sleeps as it normally would. It is the only way to get true lid-close sleep, but it means pulling a cable every time, and it doesn't suit a dock setup you want to leave connected.
Which method fits
| Goal | What you see | Best fix |
|---|---|---|
| Leaving for the day | Monitor stays lit after lid close | Apple menu > Sleep, then close the lid |
| Stepping away, work continues | Want the screen dark, Mac running | Hot corner, or Control-Shift-Power (no Touch ID) |
| Want a password on return | Screen not locked | Control-Command-Q, plus the Lock Screen password setting |
| Terminal or script | No menu access | pmset sleepnow |
| Going laptop-only | Dock stays plugged in | Unplug the display, then close the lid |
If the Mac doesn't stay asleep
- It wakes soon after you close the lid. A connected device can wake it, such as a keyboard, mouse, dock or the display. Unplug peripherals one at a time to find the one responsible.
- The external display stays lit. The Mac isn't asleep. Sleep it first and wait for the display to go dark before you shut the lid.
- The external display is dark or not detected after waking. Sleep the Mac and wake it again. Apple's page on dark or low-resolution external displays covers more steps.
- The Mac won't sleep at all. Another app may be holding it awake, or a sleep setting may be in the way. See what's keeping your Mac awake and Mac sleep settings explained. Apple's sleep and wake settings page covers the battery and lock screen options.
- You want the opposite. If you want the Mac to keep running with the lid closed, see clamshell mode on Mac.
Checklist before you close the lid
- The Mac is asleep (you used the Apple menu or
pmset sleepnow), not just locked. - The external display has gone dark.
- No download, backup or build you care about is still running, since sleep pauses it.
- Any app that was keeping the Mac awake has been quit.
If nothing works
If the Mac keeps waking, stays lit with the lid closed, or ignores sleep commands, contact Apple Support. Include your Mac model, macOS version, the display or dock model, and what happens after you choose Apple menu > Sleep. Running pmset -g assertions in Terminal and attaching the output helps, because it lists what is blocking sleep.
My MacBook (model and year) on macOS (version) does not stay asleep when
I close the lid with an external display (model) connected. After I choose
Apple menu > Sleep, it wakes within (time). Steps tried: unplugged
peripherals, restarted, checked Lock Screen and Battery settings. Output
of "pmset -g assertions" is attached. What else can keep it awake?Common questions
Can I make the lid always sleep the Mac, even with a monitor connected?
Not with a setting we know of. Closing the lid with an external display attached is how macOS handles clamshell use, so the habits above are the practical workaround.
Is a locked screen the same as a sleeping Mac?
No. Locking only requires a password to get back in. The Mac keeps running, and the display stays on until its idle timeout.
Does the hot corner sleep the whole Mac?
No. Put Display to Sleep darkens the displays only. Use Apple menu > Sleep if you want the whole Mac asleep.
Why does it only sleep when the monitor is unplugged?
With no external display attached, closing the lid simply sleeps the Mac. Plugging a display in lets macOS treat the closed lid as a clamshell setup instead.