How to use a MacBook in clamshell mode with an external monitor

By Matyas Rathonyi. Published November 23, 2026. Guides

Yes, macOS includes clamshell mode for free when your MacBook is plugged into power with an external monitor, keyboard, and mouse connected, though Apple documents no way to run it unplugged on battery or without a monitor. When you want to keep a closed MacBook and its monitor running on battery, or without an external keyboard and mouse, Clamshell for Mac keeps a closed Apple Silicon MacBook awake with no admin password, for $9.99 once after a 7-day free trial.

Written by Matyas Rathonyi, the maker of Clamshell for Mac.

What you need for Apple's clamshell mode

Apple's current MacBook Air (M5) and MacBook Pro (M6, M5 Pro, and M5 Max) user guides do not use "clamshell mode" as a heading, instead stating: "When you have an external display and accessories (like a keyboard and mouse) connected to your MacBook Air, you can keep working even when the lid is closed" (with the matching sentence for MacBook Pro). Note that Clamshell for Mac is a separate paid menu bar app, not Apple's built-in mode.

Apple's support articles list three requirements for closed-lid monitor use:

Four checks light up one after another: power, an external display, an external keyboard and mouse, and accessory approval on Apple silicon. Then the lid can close. Power External display Keyboard and mouse Allowed (Apple silicon) then close the lid
Four checks, then the lid. These are the conditions Apple's support articles 102501 and 102282 list for using a Mac laptop with the lid closed and an external display.

How to put a MacBook in clamshell mode

  1. Connect power. Plug your MacBook into its power adapter, or into a USB-C monitor that powers the Mac (Apple Support 117373).
  2. Connect the monitor, keyboard, and mouse. Plug in the monitor's power cable first, then connect the monitor to your Mac (Apple Support 102555 notes your Mac detects it automatically once powered and connected), and connect your external keyboard and mouse or trackpad.
  3. Approve accessories on Apple Silicon. With the lid open, click Allow if macOS prompts you to let the display, keyboard, and mouse connect (Apple Support 102282).
  4. Close the lid. Once your desktop appears on the external monitor, close the MacBook lid and continue working on the external screen.

Two monitors on an M3 MacBook Air or M3 MacBook Pro: Apple Support 117373 specifies an order (requiring macOS Sonoma 14.3 or later on MacBook Air, or 14.6 or later on MacBook Pro). Connect keyboard, mouse, power, and the primary display (up to 6K at 60Hz or 4K at 144Hz), close the lid, then connect the second display (up to 5K at 60Hz or 4K at 100Hz).

Waking, sleeping, and opening the lid again: Apple's Mac User Guide ("Put your Mac to sleep or wake it") documents pressing a key on the keyboard or clicking the mouse or trackpad to wake a Mac, and choosing Apple menu > Sleep to sleep it while closed. On an M3 MacBook running two external monitors, opening the lid makes the secondary external display go dark or disconnect (Apple Support 117373).

How many external monitors work with the lid closed

Only the M3 MacBook Air and M3 MacBook Pro gain an extra external monitor when you close the lid. On the M4 and M5 MacBook Air, MacBook Neo, and the other M-series MacBook Pro models below, Apple's specs state that closing the lid does not increase the display count:

MacBook modelExternal monitors (Apple specs)
MacBook Air (M1, M2)1 (up to 6K at 60Hz)
MacBook Air (M3)1 open; 2 with lid closed
MacBook Air (M4, M5)Up to 2 (open or closed)
MacBook Neo1 (open or closed)
MacBook Pro (M3)Up to 2 with lid closed
MacBook Pro (M2/M3/M4 Pro, M4, M5, M6)Up to 2 (open or closed)
MacBook Pro (M5 Pro)Up to 3 (open or closed)
MacBook Pro (M2 Max to M5 Max)Up to 4 (open or closed)

Apple notes that MacBook Pro display counts depend on each display's resolution and refresh rate; for earlier models such as the M1 MacBook Pro, check Apple's technical specifications for your model (Apple Support 101571). Using a supported hub or daisy-chaining can drive up to 2 displays over a single Thunderbolt port, but does not raise your Mac's maximum count; connect the highest-resolution display first (Apple Support 122212).

MacBook Air clamshell mode

Where Apple's clamshell mode stops

Apple's built-in mode covers a plugged-in desk setup, and stops in three everyday cases:

Run closed-lid on battery or without peripherals with Clamshell

When you want to unplug your MacBook, skip the external keyboard and mouse, or close the lid with no monitor attached, Clamshell for Mac fills every gap Apple's setup leaves open:

Try it on your own setup first: Download free trial (free for 7 days, no card required; $9.99 once for 1 Mac or $19.99 for up to 3 Macs, with a 14-day money-back guarantee).

Clamshell mode not working?

If your external monitor goes black when you close the lid, check power, your external keyboard and mouse, Apple Silicon accessory approval, direct ports instead of hubs, and your model's display limit. See MacBook clamshell mode not working for Apple's full checklist.

When Apple's built-in mode is all you need

Frequently asked questions

How do I put my Mac into clamshell mode?

Connect power, an external monitor, and an external keyboard and mouse, approve the accessories with the lid open if macOS prompts you on Apple Silicon, then close the lid. This is built into macOS for free; if you want closed-lid monitor use on battery or without peripherals, use Clamshell for Mac.

Can you close your MacBook Air while using a monitor?

Yes. Connect power, your external monitor, and an external keyboard and mouse, approve accessories on Apple Silicon, and close the lid. On an M3 MacBook Air, closing the lid also unlocks a second external monitor (up to 5K at 60Hz); M4 and M5 MacBook Air already support two external monitors open or closed.

Does clamshell mode work on battery?

No. Apple Support 102501 lists power as a requirement and documents no battery mode for closed-lid external monitor use, which is why clamshell mode sleeps when you unplug. To keep a closed MacBook and its monitor awake on battery (with a 20% low-battery floor by default), start Clamshell's 7-day free trial.

Is it okay to use a MacBook in clamshell mode?

Yes, within Apple's operating guidelines: Apple documents closed-lid monitor use and advises running a Mac laptop between 50° and 95° F (10° and 35° C) on a stable surface with good ventilation (Apple Support 102336). If you use Clamshell for Mac, its heat cut-off stays on at all times and lets the Mac sleep under serious thermal pressure.

How do I turn off clamshell mode?

Open the MacBook lid or disconnect the external monitor, or choose Apple menu > Sleep to sleep the Mac while closed. On an M3 MacBook running two external monitors, opening the lid causes the secondary external monitor to go dark or disconnect (Apple Support 117373).

Can I close my laptop while using a monitor?

On a MacBook, yes, for free when plugged into power with an external monitor, keyboard, and mouse attached (or on battery with Clamshell for Mac). On a Windows laptop, Microsoft documents a When I close the lid menu under Additional power settings > Choose what closing the lid does.

Related guides

Try Clamshell free for 7 days

Keep your closed Apple Silicon MacBook running with a monitor on battery, with no external keyboard or mouse, or with no monitor at all. No admin password, always-on heat cut-off, and a 20% battery floor.

Download free trial $9.99 once, no subscription

$9.99 for 1 Mac, $19.99 for up to 3 Macs. 7-day free trial with no card required and a 14-day money-back guarantee. Apple Silicon, macOS 14 or later, notarized by Apple. Also available via Homebrew (brew install --cask clamshell) or Setapp.

Sources checked November 23, 2026: Apple Support articles 102501 (April 6, 2026), 102282 (April 30, 2026), 117373 (July 30, 2024), 102555, 102336 (April 2, 2026), 101571 (November 5, 2026), 122212 (March 10, 2026), and 126473 (March 10, 2026); Apple MacBook Air spec pages (111883, 111867, 111346, 118551) and MacBook Pro display pages (149453 to 149477); MacBook Air (M5), MacBook Pro (M6, M5 Pro, M5 Max), and Mac (macOS 27) User Guides; apple.com/macbook-air; and Microsoft's "Shut down, sleep, or hibernate your PC" page. Clamshell details come from version 2.0.5. Product names belong to their respective owners.