Power

Your Mac won't sleep. An app or device is holding it awake

Short answerA Mac that will not sleep is usually obeying an instruction, not disobeying yours. Apps and system services can hold power assertions — standing requests that the Mac stay awake for a backup, a download, a call, or a shared library. macOS lists them, with the name of whoever holds each one, in Terminal: pmset -g assertions. Read that list before changing a setting. The holder named there is the repair: quit it, finish its job, or disconnect it. Don't reset power settings wholesale or delete sleep-related files to test what one printed list already answers.

You close the lid or choose Sleep and the Mac stays warm, fans turning, battery falling by morning. Or the screen sleeps and the machine plainly does not. Either way, something is spending your battery on staying awake, and it has a name.

macOS keeps the guest list of who is keeping it up. This fault is unusual: the diagnostic prints its suspects. So this page starts with the list and spends its effort on reading it well. Which holders are legitimate and finishing, and which one never lets go.

Do it by hand below, or let Noah read this Mac's power logs first (more at the end).

First, read who is asking

The command prints the Mac's sleep state and, under it, the assertions other software currently holds, each with the holding program's name. PreventUserIdleSystemSleep is the one that keeps a Mac awake past its idle timer while still letting the screen sleep.

zsh — Terminal
% pmset -g assertions

Run in Terminal. Read the list under the assertion names for the programs holding them. A holder with a job you recognise — a backup mid-run, a download — is a reason. A holder you don't recognise, or one still there hours later, is the suspect.

NoahNoah cannot see the assertions list, so that command stays yours to run. It can read recent power logs, which can show wakes at the times you noticed — the holder's name still comes from your run of the list above.

A holder with a job you recognise

The list names your backup, a cloud sync mid-upload, a browser downloading, or a call app — and the Mac sleeps normally once those finish.

Then the assertion is the feature working: the Mac stayed awake to finish exactly what you would have wanted finished. The fault, if any, is only that the job runs at hours you expected sleep — a scheduling taste, not a defect.

Fixlet the named job finish and test sleep straight after. Sleeping then closes the case. If the job's schedule is the problem, change that app's schedule in its own settings. A backup at midnight on a laptop you close at ten is the shape of it. Don't fight the assertion it legitimately holds.

A holder that never releases

One name holds its assertion for hours, across the work it claimed to be doing, or reappears the moment you quit it.

That holder is stuck or misbehaving: an app holding a finished download open, a sync retried forever, or a helper relaunched by its own launcher each time it exits. Quitting settles which of those it is, because a stuck holder stays gone and a relaunched one returns with its owner.

Fixquit the named app fully, then choose Sleep from the Apple menu and watch whether the Mac sleeps and stays asleep. If it does, update that app from its maker before trusting it overnight again. If the holder returns without you opening the app, note its maker in System Settings → General → Login Items. Its background helper is the relaunch path. The app's update or removal is the repair.

No holder explains it

The assertion list is short or empty of suspects, yet the Mac still will not sleep, often waking soon after it does.

What remains is outside the list: a USB device or dock waking it, network wakes for sharing services, or a wake schedule. Those act at the moment of waking rather than holding it awake, so they are tested by subtraction at the moment of sleep.

Fixdisconnect USB devices and docks, then choose Sleep and leave it. Sleeping bare convicts the disconnected set; reconnect one piece at a time across separate sleeps. If it still wakes bare, change one wake cause at a time. For Bluetooth, turn the suspect device off or disconnect it; current macOS has no Bluetooth wake switch to turn. For network waking, open System Settings → Battery → Options on a laptop, or Energy on a desktop, and turn off Wake for network access. Test sleep between each change.

What to avoid

  • Resetting all power or energy settings first. The assertion list names the holder in one command. A wholesale reset changes your sleep timers to test what the list already told you.
  • Deleting sleepimage or power-related files from forum posts. Those files are products of sleeping, not causes of staying awake. The cause has a name in the assertion list.
  • Killing processes from the assertion list by number. Quit the app by name so its owner can restart it cleanly or stay closed by your choice. A killed helper relaunched by its launcher teaches you nothing about which of those it is.
  • Accepting a warm overnight Mac as a personality trait. A holder that never releases is a named app with a fix or an update. The list makes it findable; leave no unnamed drain running.
Try Noah free

Sleep when you close it.

Just tell Noah what's wrong:

My Mac won't go to sleep.
Name what keeps it awakeFirst conversation freeNew customers: 7-day free trialOnly with your OK

Already have Noah? Open it on this problem →

Frequently asked questions

Why won't my Mac go to sleep?

Usually an app or service holds a power assertion — a standing request to stay awake. Run pmset -g assertions in Terminal: the holders are named. Finish or quit the one you don't recognise, then test Sleep. No suspect holder: disconnect USB gear and test bare.

What is a power assertion on a Mac?

A request an app makes that macOS stay awake for a job: a backup, download, call, or share. pmset -g assertions lists who holds them right now. A holder with a finishing job is a feature; one holding for hours after its job is the fault.

My Mac wakes up right after sleeping. Is that the same fault?

Related, tested differently: waking is an event, not a holder. Disconnect USB devices and docks and test sleep bare, then turn Bluetooth devices off and check Wake for network access in Battery (or Energy) settings, one change at a time. The assertion list still comes first, to rule out a holder re-waking it.

Should I reset my Mac's power settings?

Not before reading pmset -g assertions. That list names who is keeping the Mac awake, for free, in one command. Resets change timers wholesale to test what the list already answers.

Commands in this guide are standard, read-only macOS diagnostics unless noted; anything that changes your system is called out. When in doubt, back up first with Time Machine.