How To Fix A Mac That Won’t Sleep Or Wakes Up On Its Own (2026)
A Mac that will not go to sleep, or wakes up while you are away, is almost always being held awake by a setting, a shared service or a busy process.
Apple has one page for sleep and wake problems and another for sleep and wake settings.
This guide follows them in order, from the settings you can change in a minute to the devices you may need to unplug.
Quick answer: what keeps a Mac awake
| What you see | Likely cause | Where to fix it |
|---|---|---|
| The screen stays on far too long | Idle time is set too long | System Settings > Lock Screen |
| The Mac wakes when nobody touched it | Network access can wake it | Battery > Options, or Energy on a desktop |
| The Mac will not sleep while sharing is on | Shared services keep it awake | General > Sharing |
| The fan runs while it should be asleep | A process is using the CPU | Activity Monitor, CPU tab |
| Sleep fails only with a drive or accessory plugged in | A faulty USB or Thunderbolt device | Unplug devices, add them back one by one |
Check how long the Mac waits before sleeping
- Choose Apple menu > System Settings.
- Click Lock Screen in the sidebar, and scroll down if you need to.
- Use the menu next to Turn display off on battery when inactive and choose a time.
- Use the menu next to Turn display off on power adapter when inactive and choose a time.
Apple lists this as the first check when a Mac does not sleep when you expect it to.
Turn off the setting that blocks automatic sleep
On a Mac laptop, go to System Settings > Battery and click Options.
Turn off Prevent automatic sleeping on power adapter when the display is off.
On a Mac desktop, the same option is named Prevent automatic sleeping when the display is off, and it is under System Settings > Energy.
Apple notes that delaying, preventing or allowing disruption of sleep may increase power consumption.
Stop the Mac waking for network access
Apple says other users on your network can wake your Mac to use its shared resources.
| Mac type | Where the setting is | What to choose |
|---|---|---|
| MacBook | System Settings > Battery > Options > Wake for network access | Never |
| Desktop Mac | System Settings > Energy > Wake for network access | Turn it off |
Apple says some options may not appear, depending on your Mac model.
Turn off sharing you do not need
Apple says shared services such as printer sharing or file sharing can keep your Mac awake.
- Choose Apple menu > System Settings.
- Click General in the sidebar, then click Sharing.
- Turn off any service you do not need.
If printing is part of the problem, our guide to a stuck print queue on a Mac may help.
Look for a process using the CPU
Apple says background processes can stop the Mac from sleeping.
- In Finder, go to Applications > Utilities > Activity Monitor.
- Click the CPU button at the top to sort by CPU use.
- Look for a process using an unexpectedly high share of the CPU.
If an app is stuck, our guide to force quitting an app on a Mac shows how to close it.
Wait for Spotlight to finish indexing
Apple says the Mac will not sleep while Spotlight is indexing your disk.
Open Spotlight to see whether indexing is in progress.
Apple says indexing can take several hours, depending on the number of files.
Quit apps that read from a disk
Apple says apps that read from a disk or optical drive can prevent sleep.
Apple’s examples are Music reading songs from a disk and DVD Player reading an optical disc.
Unplug USB and Thunderbolt devices
Apple says a malfunctioning storage device or accessory connected by USB or Thunderbolt can keep the Mac awake.
- Disconnect all of these devices and see whether the Mac sleeps.
- If it does, reconnect them one at a time until the problem returns.
- Contact the maker of the device that causes it.
If a port or device is acting up on its own, see our guide to a Mac USB-C or Thunderbolt port that is not working.
Rule out accidental input
Apple says key presses and mouse or trackpad clicks wake the Mac.
If it wakes while you are away, something may be pressing a key or a button.
A loose keyboard or mouse is worth checking if the wake-ups look random.
Update, test in Safe Mode and reset the SMC
| Step | What Apple says |
|---|---|
| Update macOS | Software issues may be fixed by updating |
| Start in Safe Mode | Helps show whether software that loads at startup is the cause |
| Reset the SMC, Apple silicon Mac | Restart the Mac |
| Reset the SMC, other Macs | Follow Apple’s Reset the SMC of your Mac article |
If the update will not install, see our guide to a Mac that will not update macOS.
Put the Mac to sleep and wake it by hand
Testing sleep manually shows whether the Mac can sleep at all, apart from the idle timer.
| Action | How, according to Apple |
|---|---|
| Sleep from the menu | Open the Apple menu and choose Sleep |
| Sleep a laptop | Close the display |
| Sleep from the keyboard | Press Option-Command-Media Eject, only on a keyboard that has a Media Eject key |
| Wake from the keyboard or pointer | Press any key, or click the mouse or trackpad |
| Wake a laptop | Open the display |
Apple says a sleeping Mac stays turned on but uses much less power, and waking it takes less time than starting it up from off.
If the Mac sleeps by hand but never by itself, the idle settings and the items above are the place to look.
Optional: let the hard disk sleep
On a Mac laptop, System Settings > Battery > Options has Put hard disks to sleep when possible.
On a desktop, the same option is under System Settings > Energy.
Apple lists it among the sleep and wake settings you can turn on.