MacBook close lid settings: is there a do nothing option?

By Matyas Rathonyi. Published November 23, 2026. Guides

No. macOS has no "When I close the lid" setting, and closing a MacBook lid puts the Mac to sleep. To get Windows' "Do nothing" behavior on a MacBook without attaching a monitor or running sudo commands, Clamshell for Mac keeps a closed Apple Silicon MacBook running on battery or power with no admin password and nothing to undo, for $9.99 once after a 7-day free trial.

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

Why macOS has no "do nothing" lid setting

Apple's Mac User Guide states macOS's built-in lid behavior in one line: to sleep a Mac laptop, "On a Mac laptop, close the display." To wake it, "On a Mac laptop, open the display." Apple's Battery, Lock Screen, and Displays guides for macOS 27, and its Battery guide for macOS 14, include no switch for what happens when you close the lid.

People moving from Windows expect Microsoft's lid menu. Microsoft documents separate When I close the lid menus for On battery and Plugged in under Control Panel > System and Security > Power Options > Choose what the power buttons do on Windows 11 (or Settings > System > Power & sleep > Additional power settings > Choose what closing the lid does on Windows 10), with Sleep, Hibernate, and Do nothing as choices. macOS has no matching menu.

Every lid-related setting macOS does have

System Settings and Terminal include several power and lock controls near lid behavior, checked against Apple's documentation and the macOS 27.2.1 pmset(1) manual:

Where to lookSettingCovers closing the lid?
Battery > OptionsPrevent automatic sleeping on power adapterPower only, display off only
Battery > OptionsWake for network accessWakes after sleep only
Lock ScreenRequire password after display turns offLock delay after sleep only
Lock ScreenTurn display off when inactiveIdle screen timers only
DisplaysArrange, resolution, brightness, refresh rateDisplay layout and picture only
Terminal (nvram)BootPreference (%00, %01, %02)Startup from shut down only
Terminal (pmset)sudo pmset -a disablesleep 1Stops all sleep, needs sudo

To inspect your current power settings without changing anything, run either read-only command in Terminal:

pmset -g
pmset -g custom

Where the free macOS workarounds stop

If you want your MacBook to keep working after you shut the lid, macOS leaves you with two free built-in routes, and each asks for something in return:

Why pay $9.99 once instead of using sudo pmset? You skip admin passwords, manual undo commands, and the risk of forgetting it is on, while getting a menu bar switch, an always-on heat cut-off, and a 20% battery floor.

Keep a closed MacBook running with Clamshell

If you want a real "do nothing" switch when you close the lid, Clamshell for Mac is a menu bar app built for that job:

Test it on your Mac before paying anything: 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).

Three rows, a closed MacBook. With power, an external display, keyboard and mouse, it keeps running. Closed with none of that, it sleeps. With Clamshell armed, it keeps running on battery or power. Power, display, keyboard, mouse Apple's closed-lid setup Closed, nothing attached Mac sleeps Clamshell armed battery or power
Two ways a closed MacBook keeps running. Apple's desk setup, or an app armed before you close the lid. Without either, Apple documents closing the lid as a way to sleep the Mac.

Two lid settings macOS does give you for free

If you are looking for locking or startup behavior rather than keeping a closed Mac awake, macOS handles both built in:

When you do not need Clamshell

Frequently asked questions

Is there a "do nothing when I close the lid" option on Mac?

No. Unlike Windows Power Options, macOS has no System Settings choice that stops closing the lid from sleeping the Mac. To keep a closed MacBook running without an external monitor or sudo commands, start Clamshell's 7-day free trial.

Does "Prevent automatic sleeping on power adapter when the display is off" stop lid sleep?

Apple documents that switch under Battery > Options for preventing automatic sleep when the Mac is plugged in and the display is off, not for closing the lid. It applies on power only; to keep a closed MacBook awake on power or battery, use Clamshell.

How do I make my Mac lock when I close the lid?

Open Apple menu > System Settings > Lock Screen and choose your delay next to Require password after screen saver begins or display is turned off. Because closing the lid sleeps the Mac by default, macOS asks for your password on wake according to that setting.

Can I stop my MacBook from turning on when I open the lid?

Yes, when it is shut down on an Apple Silicon MacBook running macOS Sequoia 15 or later. Apple Support 120622 documents sudo nvram BootPreference=%01 in Terminal to disable startup on lid open, and sudo nvram -d BootPreference to restore the default.

Why pay $9.99 for Clamshell when sudo pmset disablesleep 1 is free?

Running sudo pmset -a disablesleep 1 asks for an admin password, turns off all sleep on the Mac until you manually reverse it, and has no menu bar indicator, battery floor, or heat cut-off. Clamshell costs $9.99 once with no subscription so you can arm closed-lid awake mode with no admin rights, an always-on heat cut-off, a 20% battery stop, and normal lid sleep back when you disarm or quit.

Related guides

Try Clamshell free for 7 days

Give your MacBook the close-lid control macOS leaves out, with no admin password, an always-on heat cut-off, and a 20% battery floor. Normal lid sleep returns when you disarm or quit.

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), and 120622 (February 4, 2026); Apple Mac User Guide pages for Battery, Lock Screen, Displays, Sleep, and Require a password (macOS 14 and macOS 27); Microsoft's Windows power options and HDR settings documentation; and the macOS 27.2.1 pmset(1) manual. Clamshell details come from version 2.0.5. Product names belong to their respective owners.