Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Fix a Mac That Won't Sleep

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If your Mac stays awake when it should sleep, the fix is usually a misbehaving app, a connected device, or a power setting. Start by checking System Settings > Energy (or Battery), then look for anything preventing sleep. Below are the exact steps to diagnose and solve the problem.

What You'll Need

  • Your Mac (any model running macOS 13 Ventura or later; if you're on an older version, the menus may be slightly different but the logic is the same)
  • Administrator access (you'll need to enter your password for some terminal commands)
  • Optional: an external display, USB devices, or Bluetooth devices that might be attached

Step-by-Step

  1. Check the obvious: your power settings. Open System Settings > Energy (on a laptop, it's called Battery). Look for "Turn display off on battery when inactive" and "Turn display off on power adapter when inactive" sliders. Make sure they're set to something reasonable (e.g., 5–15 minutes). Also, uncheck "Prevent automatic sleeping on power adapter when the display is off" if it's checked. On a desktop, look for "Prevent automatic sleeping when the display is off" and uncheck it.
  2. Check for scheduled wake or sleep. In the same Energy/Battery settings, click the "Schedule" button (or look for "Start up or wake" and "Sleep" options). If a schedule is set, it might be waking your Mac. Turn off any schedule you don't need.
  3. Identify what's keeping it awake. Open Activity Monitor (in Applications > Utilities). Click the "Energy" tab. Look for any app with a high "Preventing Sleep" value (a checkmark in the "Preventing Sleep" column). If you see something like a media player, a browser with active video, or a backup app, that's the culprit. Quit that app and try sleeping again.
  4. Disconnect external devices. Unplug all USB devices, external displays, SD cards, and even your charger (for laptops). Sometimes a device sends a signal that keeps the Mac awake. After unplugging everything, try putting your Mac to sleep (Apple menu > Sleep). If it works, plug devices back in one at a time to find the offender.
  5. Check Bluetooth and Wi-Fi. Go to System Settings > Bluetooth and turn off Bluetooth temporarily. Also, go to System Settings > Wi-Fi and turn off Wi-Fi. Try sleeping. If it works, turn them back on and see if the problem returns. If it does, it might be a Bluetooth device (like a mouse or keyboard) that's waking the Mac.
  6. Check for wake-on-network activity. In System Settings > Energy (or Battery), look for "Wake for network access" (sometimes called "Wake on Ethernet" or "Wake for Wi-Fi network access"). Uncheck it if you don't need it. This can cause the Mac to wake when network traffic arrives.
  7. Use the Terminal to find the culprit. Open Terminal (in Applications > Utilities) and run this command: pmset -g assertions. This lists what's preventing sleep. Look for lines that say "PreventUserIdleSystemSleep" or "PreventSystemSleep" and note the process name. Then quit that process (or restart the Mac) and try again.
  8. Restart your Mac. A simple restart can clear temporary glitches. After restarting, try sleeping immediately. If it works, the issue was a transient process.
  9. Reset the SMC (System Management Controller). This controls power management. The method depends on your Mac:
    • Apple silicon (M1/M2/M3): Just restart the Mac; SMC reset isn't needed.
    • Intel laptops with T2 chip: Shut down, then hold Control+Option+Shift (right side) for 7 seconds, then press and hold the power button for 7 seconds. Release all, wait a few seconds, then power on.
    • Intel laptops without T2: Shut down, then press Shift+Control+Option (left side) and the power button simultaneously for 10 seconds. Release, then power on.
    • Intel desktops: Unplug the power cord, wait 15 seconds, plug it back in, wait 5 seconds, then power on.
  10. Reset the NVRAM (nonvolatile RAM). Only for Intel Macs. Shut down, then power on and immediately hold Option+Command+P+R for about 20 seconds. Release after the second startup chime (or the Apple logo appears and disappears twice).

Common Mistakes

  • Ignoring the "Prevent sleeping" checkbox. Many users miss this in Energy settings. It's a common cause.
  • Assuming it's a hardware problem. Most sleep issues are software-related. Don't rush to replace hardware.
  • Not checking Activity Monitor. The Energy tab is the fastest way to see what's holding the Mac awake.
  • Leaving a DVD or CD in the drive. If your Mac has an optical drive, a disc can keep it awake. Eject it.
  • Forgetting about Power Nap. In Energy settings, if "Enable Power Nap" is checked, the Mac may wake periodically for backups and updates. Uncheck it if you want true sleep.

Tips

  • Create a keyboard shortcut to sleep: Go to System Settings > Keyboard > Keyboard Shortcuts > App Shortcuts, click the plus, choose "All Applications", type "Sleep" in the menu title, and assign a shortcut like Command+Option+Eject (or Power).
  • Use the pmset -g log command in Terminal to see the last wake/sleep events. This can show you what woke the Mac (e.g., "Wake from Deep Sleep [CDN] due to...").
  • If you have a laptop, check the battery menu bar icon. It sometimes shows "Preventing Sleep" with a list of apps.
  • Keep your macOS updated. Apple frequently fixes power management bugs in updates.

Troubleshooting

If the above steps didn't solve it, try these in order:

  1. Boot into Safe Mode. Restart your Mac and hold the Shift key during startup. Safe Mode disables some software and performs a disk check. If the Mac sleeps fine in Safe Mode, a login item or extension is the problem. Then, go to System Settings > General > Login Items and remove suspicious items.
  2. Check for third-party utilities. Apps like Amphetamine, Caffeine, or even some antivirus tools can prevent sleep. Quit them or uninstall them temporarily to test.
  3. Create a new user account. Go to System Settings > Users & Groups, add a new user, and log into it. Try sleeping there. If it works, the issue is specific to your user account's settings or login items.
  4. Reinstall macOS. If nothing else works, back up your data and reinstall macOS via Recovery Mode. This is a last resort but often fixes persistent power issues.

Frequently Asked Questions

Why does my Mac wake up immediately after I put it to sleep?

This is often caused by a connected device (like a mouse or keyboard) sending a wake signal. Turn off Bluetooth or unplug USB devices to test. Also, check Energy settings for "Wake for network access" and disable it.

Can a faulty power adapter cause sleep issues?

Yes, a damaged or non-Apple charger can cause power management glitches. Try a different charger or plug directly into a wall outlet instead of a power strip.

Does sleep use a lot of battery?

No, sleep is designed to use minimal power. On a laptop, it can last for days in sleep mode. If your battery drains fast during sleep, something is waking it up or a background app is running.

Will resetting SMC delete my data?

No, resetting SMC only resets power management settings. Your files and apps remain untouched.

My Mac only sleeps when the lid is closed, not when I press the power button.

That's normal behavior. Pressing the power button on a Mac laptop puts it to sleep, but on some models, it may just turn off the display. Use the Apple menu > Sleep instead.

Is it safe to leave my Mac in sleep mode overnight?

Yes, sleep is the recommended way to leave your Mac when not in use. It's low-power and preserves your session. Just make sure the battery is not critically low if it's a laptop.