Abstract created by Sensible Solutions AI
In abstract:
- Macworld explains how you can maintain your MacBook awake when the lid is closed, overriding macOS’s default sleep conduct for steady background duties.
- This clamshell mode setup requires exterior peripherals and advantages customers wanting desktop-style workstations with higher ergonomics and house administration.
- The free Amphetamine app gives essentially the most dependable resolution by disabling sleep settings, whereas newer macOS variations supply improved performance. Detailed directions are offered under.
Many Mac customers need to flip their MacBook right into a desktop-style workstation, utilizing an exterior show, keyboard, and mouse with the lid closed – a setup typically known as clamshell mode.
Operating a MacBook this manner could make sense for a number of causes, from supporting a number of exterior screens on sure Apple-silicon fashions to liberating up desk house and enhancing ergonomics. Others might want their Mac to maintain working with the lid closed whereas it downloads recordsdata, runs backups, or performs music.
The issue is that macOS is designed to place a MacBook to sleep as quickly as you shut the lid. On this article, we’ll clarify when and why clamshell mode works, what Apple formally helps, and the dependable methods to maintain your MacBook awake when the lid is closed.
Why use a MacBook with the lid closed

Utilizing a MacBook with the lid closed.
Petter Ahrnstedt
There are a number of practical and technical the reason why you would possibly select to function your MacBook with the lid closed.
Multi-Monitor Help: One key purpose to maintain the lid closed is in case you want to use a couple of exterior show. For sure fashions, such because the M3 MacBook Air and the 14-inch M3 MacBook Professional (with macOS Sonoma 14.6 or later), closing the lid is a technical requirement to drive two exterior shows. On these “plain” M-series chips, the system natively helps two shows; by closing the lid, you disable the interior display, permitting the {hardware} to energy a second exterior monitor.
Desk Group and Ergonomics: Utilizing a MacBook in clamshell mode means that you can moved out of the way in which to liberate bodily desk house, maybe tucking the laptop computer right into a vertical stand or a docking station, considerably lowering its footprint in your desk. That is notably helpful in case you choose utilizing a full-sized mechanical keyboard and a devoted mouse moderately than the built-in laptop computer peripherals.
Uninterrupted Background Duties: Chances are you’ll need to shut the lid whereas the Mac is busy with long-running duties, comparable to downloading giant software program updates, syncing a Time Machine backup, or enjoying music throughout a DJ set. Usually, closing the lid places the Mac to sleep, however particular settings or third-party apps like Amphetamine can maintain the system lively for these duties.
See additionally: Finest stands for MacBook and Finest MacBook docking stations.
Why MacBooks sleep when lid is closed
Apple doesn’t formally assist disabling sleep when the lid is closed with out a exterior monitor and energy supply by default, however there are workarounds.
MacBooks are designed to enter a sleep state when the lid is closed primarily to handle energy consumption and defend the {hardware}. This computerized transition helps protect battery life and prevents the system from overheating whereas saved in a confined house like a backpack.
The explanations for this conduct embrace:
Energy Administration: Closing the lid triggers a standby mode that considerably reduces energy utilization. As an illustration, newer reminiscence requirements like LPCAMM2 can cut back standby energy utilization by as much as 80% in comparison with older modules.
{Hardware} Safety: If a MacBook stays lively whereas closed in a bag, it may well overheat and turn into actually scorching as a result of it’s nonetheless processing duties with out satisfactory air flow.
Automated Updates: Whereas asleep, macOS might often wake the system to put in updates or sync information, although this will typically result in the system turning into unexpectedly heat if it doesn’t return to sleep correctly.
What it’s worthwhile to use a MacBook with the lid closed

Foundry
To function your MacBook with the lid closed, you have to have particular exterior {hardware} related and meet the next necessities:
Exterior Show: The Mac have to be related to an exterior monitor.
Energy Supply: Whereas older variations of macOS typically required the MacBook to be plugged into an influence adapter to remain awake on this mode, newer variations and Apple Silicon fashions might perform on battery energy, although protecting it plugged in continues to be really useful for constant efficiency. Clamshell mode is extra dependable when the MacBook is plugged into an influence adapter.
Exterior Peripherals: You need to have an exterior keyboard and mouse (wired or Bluetooth) to wake and management the pc.
Up-to-date software program: Utilizing a MacBook with the lid closed is so much easier than it was in case you are utilizing a more recent Mac and a newer model of the Mac working system. In actual fact, in case you are experiencing points utilizing your Mac with the lid closed then it’s probably that you could possibly tackle this by updating your Mac to a latest model of macOS, assuming your Mac helps it (see our macOS compatibility checker). Newer variations of macOS have made this course of a lot smoother, resolving lots of the bugs that plagued older Intel-based MacBooks.
Easy methods to use a MacBook with the lid closed
Comply with these steps to make use of your laptop computer as a desktop laptop by connecting it to exterior peripherals whereas the built-in show is shut.
- Join a keyboard, monitor and mouse to your MacBook. In case you are utilizing a Bluetooth mouse and keyboard, guarantee that Bluetooth is enabled and that the peripherals are paired with the Mac.
- Activate the laptop computer.
- Wait on your macOS desktop to seem on the exterior monitor.
- After your Mac pocket book’s Desktop seems on the exterior show, shut the pc’s lid.
- Your exterior monitor might flash off for a second, however it should then present your Desktop (if this doesn’t mechanically occur you could have to wake your Mac by urgent a key on the exterior keyboard or transferring the mouse).
- Chances are you’ll discover that your MacBook must be plugged in by way of the ability adapter for the display to seem on the exterior monitor, however ours didn’t.
You may learn extra about utilizing a second show together with your Mac right here.
However even with these settings, in case you aren’t connected to an exterior monitor closing the lid will trigger the Mac to sleep.
What in case you don’t need to plug in an exterior show? Learn on…
Easy methods to cease a MacBook from sleeping when the lid is closed
Suppose you don’t need your MacBook to sleep if you shut the lid? Possibly it’s busy downloading one thing and also you don’t need it to cease, however it’s worthwhile to carry it someplace. Or possibly you’ve left it downloading an replace in a single day or syncing your Time Machine backup, and also you’d choose to not see the backlit keyboard. In one other state of affairs you would possibly need to play music from the MacBook with out having to have the lid open – one thing prone to attraction to some DJs.
The issue is that your Mac will fall asleep if you shut the lid if it’s not plugged in and related to an exterior show.
To cease a MacBook from sleeping when the lid is closed – particularly when it’s operating on battery energy and never related to an exterior monitor – you usually want to make use of third-party software program or superior system instructions. By default, macOS is designed to enter sleep mode on this state to protect battery life and stop overheating.
Possibility 1: Use Third-Occasion App
Probably the most dependable option to obtain that is via free utilities designed to override macOS sleep settings.
Our advice is Amphetamine, which is free and might be downloaded from the Mac App Retailer:
As famous in our spherical up of the greatest free Mac apps, Amphetamine will maintain your Mac awake. That includes a menu bar-based interface, the app allows you to quickly override your Mac’s sleep schedule (even when your MacBooks’s lid is closed) and even provides just a few helpful options like activating solely when related to particular Wi-Fi networks and protecting solely sure drives awake.
To configure Amphetamine for this particular state of affairs, observe these steps:
- Obtain and open Amphetamine from the Mac App Retailer.
- Click on the pill-shaped icon in your menu bar and choose Fast Settings.
- Within the Session Defaults part, uncheck the field for “Enable system sleep when show is closed”.
- Begin a brand new session (e.g., “Indefinitely” or “Whereas App is Operating”) to maintain the Mac awake after closing the lid
Alternatively, Caffeinated is accessible on the Mac App Retailer right here for $3.99/£3.99, this app additionally overrides the Vitality Saver settings to maintain your Mac awake, stopping your Mac from going to sleep.
Possibility 2: Use Terminal Instructions
If you happen to choose to not set up third-party software program, you should use the Terminal to disable sleep mode solely.
- Open Terminal.
- Enter the next command: sudo pmset -a disablesleep 1
That ought to cease your Mac sleeping.
Please observe that utilizing this command will forestall the Mac from sleeping in all eventualities till you reverse it by coming into:
sudo pmset -a disablesleep 0
Possibility 3: Older macOS variations solely
In macOS Monterey and older it was attainable to cease the Mac sleeping with the lid shut. Sadly, later variations of macOS are designed to enter sleep mode on this state to protect battery life and stop overheating.
- Open System Preferences.
- Go to Battery (or Vitality Saver).
- Choose “Forestall your Mac from mechanically sleeping when the show is off.”
Easy methods to play music together with your Mac’s lid closed
You should use the free Amphetamine app (talked about above) to maintain your Mac awake whereas the show is closed, right here’s how:
As soon as put in on a Mac you can see a pill-shaped icon within the menu bar on the prime of the display. You may select from choices comparable to Begin New Session Whereas File is Downloading or Whereas App is Operating.
If you wish to maintain Music (or what app you might be utilizing)operating with the lid closed, first, it’s worthwhile to have that app open. Then observe these steps:
- Click on on the Amphetamine icon within the menu bar.
- Click on on Fast Settings.
- Within the Session Defaults part, deselect “Enable system sleep when show is closed.”
- Return to the primary menu and choose Whereas App is Operating and choose Music or the app you might be utilizing. In case your app isn’t open, it won’t seem within the listing. Solely apps which are operating seem.
- You’ll now be capable of shut your Mac’s lid and proceed listening to Music.

Foundry
Easy methods to proceed a obtain with a MacBook lid closed

Foundry
To proceed a obtain together with your MacBook lid closed, you usually want to forestall the system from coming into its default sleep mode. Whereas macOS sometimes sleeps when the lid is shut to avoid wasting energy, you possibly can override this conduct utilizing built-in system settings or third-party purposes.
You may additionally use Amphetamine in case you wished to obtain one thing with the display closed, however essentially the most direct means to make sure downloads proceed within the background with out third-party software program is to allow “Wake for community entry.” This enables your Mac to carry out background duties, comparable to downloading updates or syncing information, even whereas it’s technically sleeping.
In macOS Ventura and later
- Open System Settings.
- Go to Battery.
- Click on on Choices.
- Ensure that “Wake for community entry” is ready to At all times.
In macOS Monterey and older
There’s a comparable setting in Monterey and older that you should use to ensure downloads proceed within the background.
- Open System Preferences.
- Go to Battery (or Vitality Saver).
- Select “Wake for community entry.”
To make use of Amphetamine for downloads with the lid closed, observe these steps:
- Click on the Amphetamine icon within the menu bar and choose Fast Settings.
- Deselect Enable system sleep when show is closed.
- Begin a session by choosing Whereas File is Downloading or Whereas App is Operating (choosing your browser or obtain supervisor)
See: How Apple has revamped System Preferences in macOS Ventura.
Easy methods to flip a MacBook on with the lid closed
One associated downside you would possibly come throughout in case you are utilizing your Mac with the lid closed is that in terms of turning your Mac on it could appear that it’s important to open the lid to press the ability change… Fortunately there’s a workaround for that state of affairs that you just would possibly discover helpful.
In case your setup means your MacBook is connected to a show it is possible for you to to make use of it with out having the show open – however what about when it’s worthwhile to flip it on? At that time, you will want to open the lid to press the Energy button proper? Not essentially.
It’s straightforward to wake your MacBook from sleep with out opening the lid. Simply click on or transfer the mouse or faucet on the keyboard. However what if you wish to begin the Mac up with out opening the lid to disclose the ability button?
Can it’s performed? It might probably! (Form of)
macOS Ventura and later
In older variations of macOS it was attainable to set your Mac to change on and off at sure instances of the day. Sadly, that is not as easy to arrange.
To schedule your Mac to activate or off in macOS Ventura or later it’s worthwhile to use Terminal. Comply with these steps:
- Open Terminal.
- enter one of many following pmset instructions:
pmset -g sched(See the present schedule).sudo pmset repeat wake M 8:00:00(Schedule your Mac to wake at 8:00 a.m. each Monday.)sudo pmset repeat cancel(Cancel the present schedule.) - Press Return.
For extra recommendation about how to do that seek the advice of Apple’s assist web page.
We additionally cowl Easy methods to schedule your Mac to activate and off individually and Easy methods to set the ability scheduler that disappeared in macOS Ventura.
macOS Monterey and older:
There’s a setting in Monterey and older that allows you to set your Mac to change on at a specific time.
- Open System Preferences.
- Click on Battery (or Vitality Saver in older variations).
- Click on Schedule.
- Now click on beside Begin Up or Wake and select the times and instances you need your Mac to begin up. Be aware that the Mac will solely activate when it’s plugged into energy–you could possibly simply depart the Mac unplugged, after which if you need it to begin up, merely plug it in.

Foundry
