No, not while macOS is installing: Apple says to let installation complete without putting your Mac to sleep or closing its lid, because the Mac might restart and show a progress bar or blank screen several times. Do not use a keep-awake app for the update itself, but for other long downloads and background tasks you want to finish with the lid closed, Clamshell for Mac keeps a closed Apple Silicon MacBook awake on battery or power with no admin password, for $9.99 once after a 7-day free trial.
Written by Matyas Rathonyi, the maker of Clamshell for Mac.
Keep the lid open while macOS installs
Apple Support article 108382 ("Update macOS on Mac") gives one clear instruction: "Allow installation to complete without putting your Mac to sleep or closing its lid. During installation, your Mac might restart and show a progress bar or blank screen several times."
That rule applies even if you use a keep-awake app such as Clamshell for Mac. A macOS update restarts your Mac, and a restart disarms Clamshell and restores normal lid sleep anyway. Keep the lid open until the update finishes and brings you back to your login screen.
How to update without babysitting your MacBook
If you do not want to sit in front of a progress bar, Apple documents a straightforward overnight routine:
- Back up first. Apple Support 108382 advises backing up your Mac before installing new software.
- Plug into power. Apple's Mac User Guide ("Keep your Mac up to date") notes that Mac laptops must have the power adapter plugged in for automatic downloads; staying plugged in through a long install also keeps the battery from running down mid-update.
- Start in the evening or schedule for tonight. Open System Settings > General > Software Update (or search Software Update with Spotlight), enter your administrator password when prompted, and either start in the evening (Apple Support 102535 recommends starting then so it can finish overnight if needed) or choose to install the updates later that night (Mac User Guide). Leave the lid open until installation finishes.
What about closing the lid while the update downloads?
Closing the lid puts a Mac laptop to sleep by default (Apple Mac User Guide, "Put your Mac to sleep or wake it"), and macOS leaves gaps around closed-lid downloads:
- Automatic updates need a charger. Under System Settings > General > Software Update > Automatic Updates (Download new updates when available, Install macOS updates, and Install Security Responses and system files), Apple states: "Laptop computers must have the power adapter plugged in to automatically download updates."
- Power Nap is gone from macOS 27 documentation. On macOS 26, Apple's Power Nap guide (Battery > Options > Enable Power Nap) noted that a plugged-in sleeping Mac could download software updates. On macOS 27, Apple removed that page and dropped Power Nap from its sleep settings guide, leaving closed-lid manual update downloads undocumented.
- Terminal download requires admin access. The
softwareupdatemanual on macOS 27.2.1 documentssoftwareupdate --downloadto fetch updates without installing them (for later installation withsoftwareupdate --installor through System Settings), and notes thatsoftwareupdaterequires administrator authentication for every command except--list. - Other downloads pause when you shut the lid. For browser downloads, app installers, backups, and project transfers, closing the lid sleeps the Mac and stops the transfer (see does a MacBook keep downloading with the lid closed).
Keep downloads and long tasks running with the lid closed
Leave the lid open once macOS starts installing. For the rest of your work, when you want large downloads, backups, exports, or builds to finish with the lid shut instead of leaving your screen open on a desk, Clamshell for Mac handles the closed-lid work macOS pauses:
- Finish downloads and long tasks with the lid closed. Close your MacBook on battery or power without interrupting downloads, file transfers, or background jobs.
- Let the Mac sleep automatically once work ends. Built-in modules such as Sleep When Idle and Finish Jobs, Then Sleep let a closed MacBook sleep once downloads, exports, backups, or busy tasks finish.
- No admin password and built-in safeguards. No
sudo, no privileged helper, an always-on heat cut-off, and a 20% low-battery floor by default. Normal lid sleep returns whenever you disarm, quit, or restart. - Notarized for Apple Silicon. Runs on Apple Silicon MacBooks with macOS 14 or later via direct download, Homebrew (
brew install --cask clamshell), or Setapp.
Try it on your next large download or long run: 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).
If the update seems stuck
Apple Support 102535 ("If your Mac starts up to an Apple logo or progress bar") notes that during a macOS update or upgrade, the Apple logo or progress bar "might persist for much longer than usual" and "might move slowly and pause for long periods." Give it time first; if it still appears stuck, follow the recovery steps in Apple Support 102535.
When you do not need Clamshell
- While macOS is actively installing. Follow Apple's instruction and leave the lid open until installation and all restarts complete.
- You only want lid-open idle sleep stopped, or you use an Intel Mac. macOS's built-in Lock Screen and Battery settings handle lid-open sleep for free (see how to prevent your Mac from sleeping), and Clamshell requires Apple Silicon and macOS 14 or later.
Frequently asked questions
Can I close my MacBook lid while updating?
No, not while macOS is installing. Apple Support 108382 says to let the installation complete without putting your Mac to sleep or closing its lid because it might restart several times.
Can I leave my Mac updating overnight?
Yes, with the lid open. Apple Support 102535 recommends starting installation in the evening so it can finish overnight if needed, and Apple's Mac User Guide lets you choose to install updates later that night.
How long should a Mac update take?
Apple gives no fixed time. Apple Support 102535 notes that the Apple logo or progress bar "might persist for much longer than usual" and pause for long periods, which is why Apple suggests starting in the evening.
What do I do if my Mac is stuck while updating?
Wait first, because long pauses on the progress bar are normal during macOS updates (Apple Support 102535). If it still does not move, follow the recovery steps in Apple Support 102535 rather than closing the lid.
Can Clamshell keep my MacBook awake during a macOS update?
Do not use Clamshell for the installation phase: Apple instructs keeping the lid open, and installation restarts your Mac, which disarms Clamshell and restores normal lid sleep. Use Clamshell for what it does cover: keeping other downloads, file transfers, builds, and long tasks running with the lid closed.
Related guides
- Does a MacBook keep downloading with the lid closed?
- How to prevent your Mac from sleeping
- How to keep a Mac running with the lid closed
Try Clamshell free for 7 days
Leave the lid open for macOS installs, and use Clamshell for everything else you want running with the lid shut: downloads, backups, builds, and long tasks, with no admin password, an always-on heat cut-off, and a 20% battery floor.
$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 108382 (September 14, 2026) and 102535 (October 2, 2024); Apple Mac User Guide pages "Keep your Mac up to date" and "Put your Mac to sleep or wake it" (macOS 27), and "Turn Power Nap on or off on Mac" (macOS 26); and the macOS 27.2.1 softwareupdate(8) manual page. Clamshell details come from version 2.0.5. Product names belong to their respective owners.