MacBook Keeps Waking from Sleep? Fix It
In this article
If your MacBook keeps waking from sleep on its own, the usual culprits are Power Nap, network access, or a connected device like a mouse or external drive. You can stop it in a few minutes by turning off Power Nap, disabling "Wake for network access," and checking your Bluetooth/USB devices. Below are the exact steps to make your MacBook stay asleep until you open the lid or press a key.
What You'll Need
- Your MacBook (any model running macOS)
- Access to System Settings (or System Preferences on older macOS)
- Optional: a USB-C or USB-A mouse to test if a peripheral is causing the wake
Step-by-Step
- Check what is waking your MacBook. Open Terminal (Finder > Applications > Utilities > Terminal) and type:
pmset -g log | grep -i "wake" | tail -20. Press Enter. You'll see a list of recent wake events with the source (e.g., "Wake from Deep Idle" or "Wake Requested by Bluetooth"). This tells you whether it's software, network, or a device. - Turn off Power Nap. Go to System Settings > Battery (or System Preferences > Energy Saver on older macOS). Click the options button or look for "Power Nap" and uncheck it. Power Nap lets your Mac periodically wake to check email and updates — disabling it stops most random wakes.
- Disable "Wake for network access." In the same Battery/Energy Saver screen, uncheck "Wake for network access" (or "Wake on Ethernet Access" if you use a wired connection). This prevents your Mac from waking when network traffic arrives.
- Check Bluetooth and USB devices. Go to System Settings > Bluetooth and turn off Bluetooth temporarily. If your Mac stays asleep, a Bluetooth device (mouse, keyboard, trackpad) is waking it. Similarly, unplug all USB devices (including external drives and hubs) and see if the issue stops. If it does, reconnect them one by one to find the culprit.
- Disable "Allow Bluetooth devices to wake this Mac." In System Settings > Bluetooth > Advanced (or System Preferences > Bluetooth > Advanced), uncheck "Allow Bluetooth devices to wake this Mac." This is a common fix for mice that jiggle slightly and wake the Mac.
- Turn off "Wake on lid open" (if you don't want that). This is not a standard setting, but you can prevent accidental lid-open wakes by closing the lid fully and ensuring no magnetic case is interfering. If you have a clamshell setup (external display), you may need to adjust Energy Saver settings to prevent wake on external display input.
- Reset the System Management Controller (SMC). On Intel Macs, this often fixes power management glitches. Shut down your Mac, then hold Control + Option (Alt) + Shift on the left side of the keyboard for 7 seconds, then press and hold the power button for another 7 seconds. Release all, then power on. On Apple Silicon (M1/M2/M3), simply restart the Mac — SMC reset is not needed.
- Update macOS. Go to System Settings > General > Software Update and install any pending updates. Apple frequently fixes sleep/wake bugs in updates.
Common Mistakes
- Only turning off Power Nap but leaving "Wake for network access" on. Both can cause wakes, so disable both.
- Ignoring Bluetooth devices. A wireless mouse that moves slightly (e.g., on a soft surface) can wake your Mac repeatedly. Disabling Bluetooth wake is the fix.
- Assuming it's a hardware issue. Most random wakes are software or settings-related. Try the steps above before taking it to a repair shop.
- Not checking the pmset log. Without seeing the wake source, you're guessing. The log gives you the exact reason.
Tips
- If you use an external display, go to System Settings > Displays and ensure "Allow your Mac to be woken by the display" is off if you don't need that.
- For MacBooks with Touch ID, make sure you're not accidentally pressing the Touch ID button when closing the lid — that can trigger a wake.
- If you have a smart home app or calendar that refreshes frequently, check its notification settings — some apps can wake your Mac to update.
- Use pmset -g assertions in Terminal to see which processes are holding "PreventUserIdleSystemSleep" — that can tell you if an app is forcing your Mac to stay awake.
- Consider using caffeinate command only when you need to keep it awake — it's the opposite of this problem, but useful to know.
Troubleshooting
If you've done all the above and your Mac still wakes, try these in order:
- Restart your Mac. A simple restart clears temporary glitches.
- Check for background apps. Go to System Settings > General > Login Items and disable any apps you don't need at startup. Some apps (like download managers) can wake your Mac.
- Reset NVRAM (Intel only). Shut down, then press and hold Option + Command + P + R for 20 seconds while powering on. This resets some power management settings.
- Create a new user account. If the issue doesn't happen in a fresh user, it's a software conflict in your account. You can migrate your data.
- Check for a faulty power adapter. If your MacBook is plugged in and the adapter is damaged, it can cause power fluctuations that wake it. Try a different adapter if possible.
- If nothing works, back up and reinstall macOS. This is a last resort, but it eliminates any persistent software issue. Use Time Machine to back up, then reinstall macOS via Recovery Mode.
Frequently Asked Questions
Why does my MacBook wake at the same time every night?
This is often caused by Power Nap or a scheduled task like Time Machine backup. Check System Settings > Battery > Options to see if "Power Nap" is on, and check Time Machine settings to see if backups are scheduled.
Can a connected iPhone wake my MacBook?
Yes, if you have Wi-Fi or Bluetooth enabled and your iPhone is syncing or charging, it can trigger a wake. Disable "Wake for network access" and Bluetooth wake to prevent this.
Does closing the lid always put my MacBook to sleep?
Yes, closing the lid puts it to sleep by default, but if you have an external display connected and "clamshell mode" is active, it may stay awake. Also, if you have Power Nap on, it can wake briefly with the lid closed.
Is it safe to leave my MacBook plugged in overnight?
Yes, modern MacBooks manage battery charging and stop at 100%, so it's safe. But if it's waking repeatedly, it may drain battery unnecessarily when unplugged.
How do I check what's waking my MacBook without Terminal?
You can use the built-in Console app (in Utilities) and filter for "wake" in the system log. Or, use the "Energy" tab in Activity Monitor to see which apps are preventing sleep.
Will turning off Power Nap affect my email notifications?
Yes, Power Nap is what allows your Mac to fetch new email and calendar updates while asleep. Turning it off means you'll see those updates when you wake the Mac, not while it's sleeping.