When a MacBook won’t sleep, tweak sleep settings, cut wake triggers, stop background activity, and test gear in a short, ordered checklist.
Why A Macbook Stays Awake
Sleep on macOS depends on timers, power settings, and whether apps or devices ask the system to stay awake. A stray toggle, a busy process, or a connected accessory can block idle sleep. Start with settings you can see, then check activity, then look at hardware. This order saves time and keeps your data safe.
Fast Causes And Fixes
| Cause | Where To Check | Quick Fix |
|---|---|---|
| Wake for network access | Battery/Energy > Options | Set to Never or Only on power |
| Power Nap | Battery/Energy > Options | Turn off on battery |
| Bluetooth wake | Bluetooth settings | Turn off “Allow Bluetooth devices to wake” |
| File/Screen sharing | General > Sharing | Turn off when not needed |
| Apps holding sleep | Terminal | Run pmset -g assertions |
| External devices | USB/Thunderbolt | Unplug hubs, drives, docks |
| Display never turns off | Battery & Power Adapter | Shorten “Turn display off” timers |
| Auto login prompts | Lock Screen | Require password after display off |
Macbook Won’t Sleep: Settings To Review
Open System Settings and make a few targeted changes. These options control idle sleep and brief wake-ups that drain your battery or warm a bag.
Battery And Power Adapter Timers
Set shorter “Turn display off” timers for both Battery and Power Adapter. This controls when idle sleep can begin. On laptops, open Battery, then Options, and keep “Prevent automatic sleeping on power adapter when the display is off” turned off unless you need a long job to run. If you must keep it on for a task, plan to switch it back after the task finishes.
Wake For Network Access
This toggle lets the Mac wake briefly for shared resources. If your Mac wakes at night or while in a bag, set the “Wake for network access” menu to Never on battery, or Only on power for desktops and docked setups. That one change stops many random wake events from file sharing, media sharing, or remote pings.
Power Nap
Power Nap runs light tasks while asleep. Mail fetches, iCloud syncs, and indexing still occur. Switch off Power Nap on battery and leave it on only when plugged in if you need background updates. Apple’s page on Power Nap lists what runs on battery vs. power so you can choose the right balance.
Bluetooth And Nearby Devices
Keyboards, mice, or a watch can jostle the Mac awake. In Bluetooth settings, turn off “Allow Bluetooth devices to wake this Mac” during travel or when you’re done for the day. Also test with Bluetooth off to rule out phantom inputs from a paired device that’s still moving on your desk or in a bag.
Sharing Services
Screen Sharing, File Sharing, and Media Sharing can wake the Mac when another device pings it. Toggle these off under Sharing while you test. If you host content on your Mac, keep sharing on but limit wake to power only and avoid leaving media apps open when you close the lid.
Lock Screen Behavior
Set a short time for “Require password after display is turned off.” This nudges you to let the display sleep. It also cuts the chance of tap-happy wakeups when you set the laptop down or brush the trackpad.
Find Processes That Block Sleep
When settings look fine, a process may be telling macOS to stay awake. The system tracks these “assertions.” You don’t need extra tools to see them.
Use Terminal To Spot Sleep Blockers
- Open Terminal.
- Run
pmset -g assertions. Look under “PreventUserIdleDisplaySleep” or “PreventUserIdleSystemSleep.” The right side shows the app or process. - Quit or adjust the listed app. Media players, backup tools, sync clients, and browser tabs with video are common.
- Run the command again to confirm the assertion cleared. If it doesn’t, restart the app or the Mac.
If you need the Mac awake for a task, use caffeinate instead of flipping global switches. Example: caffeinate -i while you render or upload, then close the Terminal window when done. That keeps control in one spot and avoids forgotten settings.
Read Wake Reasons From Logs
To see what woke the Mac, run log show --last 3h | grep -i "Wake reason". Codes like “BT” point to Bluetooth; “RTC” points to a scheduled event; “EC.DK” can point to a lid or keyboard event. Match the reason to the table below and change the related setting. A few lines tell the story fast.
Hardware And Accessory Checks
Peripherals can hold the system awake. Some docks report activity, some drives spin, and some monitors keep the GPU engaged. Keep testing simple and add items back one by one so you don’t chase ghosts.
External Displays
Unplug the external display and test. Then try a different cable or port. If you run clamshell mode, close apps that keep the GPU busy and confirm the lid sensor works by watching the keyboard backlight as you close and open. If wake issues vanish with the screen unplugged, the cable, adapter, or display is likely the source.
USB And Thunderbolt
Remove hubs and storage. If sleep starts working, add devices back in rounds. Update dock firmware if the maker provides a tool. For bus-powered drives, set them to spin down when possible. Some audio interfaces and capture cards also post constant activity; unplug them during the test window.
Network Gear
Ethernet adapters and some routers can nudge a wake with a broadcast packet. Test on Wi-Fi only. Then re-enable Ethernet and set Wake for network to Only on power or Never on battery. If a NAS or another computer is scanning shares, it can wake your Mac at odd hours.
Reset And Rebuild Steps
These steps clear power and cache states. Do them after settings and accessory tests so you don’t mask the real trigger.
Apple Silicon
Shut down, wait a few seconds, then start the Mac. A simple restart refreshes power management on Apple silicon and often fixes odd wake loops.
Intel Models With T2
Shut down. Hold the power button for 10 seconds, release, then press it again to start. This sequence resets power management on those models. If the laptop wakes on its own after a lid close, this reset is worth a try.
NVRAM/PRAM Refresh
On Intel Macs, hold Option-Command-P-R right after power on until the Mac restarts. This clears small settings that can affect sleep and wake. You’ll need to recheck audio output, time zone, and similar small items.
Common Wake Reasons And Fixes
| Wake Code | What It Points To | What To Do |
|---|---|---|
| BT | Bluetooth device activity | Disable Bluetooth wake; turn off nearby gear |
| RTC | Scheduled power or update | Check alerts; clear pmset -g sched events |
| EC.LidOpen | Lid or keyboard event | Keep the lid shut; avoid pressure in bags |
| USB | Peripheral signaling | Unplug hubs; check dock firmware |
| EN0/EN1 | Network access or sharing | Set Wake for network to Never on battery |
| ALARM | Sleep timer expired | Shorten display timers so idle sleep starts sooner |
Safe Sleep, Hibernation, And Bags
Laptop sleep has tiers. Light sleep keeps memory powered. Deeper states save memory to disk. If the Mac wakes in a bag and runs hot, create a routine: close the lid, wait for fans to still, then check that the keyboard backlight or Touch Bar is dark. Avoid placing pressure on the lid that can trigger a wake sensor. When you need a deeper state on a long flight, extend the display-off timer and keep Wake for network off on battery.
Step-By-Step Fix Plan
Phase 1 — Settings
- Set short display timers on Battery and Power Adapter.
- Set Wake for network to Never on battery, Only on power when needed.
- Turn off Power Nap on battery; leave it on only while plugged in.
- Disable Bluetooth wake; test with Bluetooth off.
- Turn off Screen, File, and Media sharing for the test window.
Phase 2 — Activity
- Run
pmset -g assertions; close or quit the app that holds sleep. - Run a short job with
caffeinateif you must keep the Mac awake. - Check logs for wake reasons and match them to the codes table.
Phase 3 — Hardware
- Unplug all USB and Thunderbolt gear; add items back in rounds.
- Test without an external display; try a different cable or port.
- Test on Wi-Fi only; re-add Ethernet later.
Phase 4 — Reset
- Restart on Apple silicon.
- On Intel with T2, use the 10-second power hold, then start.
- On Intel, refresh NVRAM with Option-Command-P-R.
When Sleep Still Fails
If sleep still fails after the plan above, create a new user account and test. This rules out login items and launch agents. Next, start in safe mode, then test sleep again. If sleep works in safe mode or a fresh account, remove or update the apps in the main profile that held sleep. If it fails everywhere, back up your data and reinstall macOS.
Battery Health And Sleep Myths
Long display timers don’t “train” the battery. They only delay idle sleep. Leaving a laptop awake in a bag is what drains cells and traps heat. Short timers and a clean shutdown before travel protect both the hardware and your files. Power Nap on battery won’t wreck cycles by itself, yet it can nudge wake-ups that keep the system warm. Keep it off when you’re mobile and re-enable it at a desk if you need quiet updates.
Travel Checklist Before Closing The Lid
- Turn off Wake for network on battery.
- Flip off Bluetooth wake or Bluetooth entirely.
- Quit media players and cloud drives that sync nonstop.
- Unplug dongles, readers, and portable drives.
- Wait a few seconds after the lid closes; feel for fan spin or heat.
When To Book A Hardware Check
If the laptop keeps waking with the lid shut, sensors or the top case could be at fault. If wake codes keep showing USB even with nothing plugged in, a port board or cable may be noisy. Bring repeatable notes: your macOS version, wake codes, and which tests you ran. A short, clean list speeds any repair visit at an Apple Store or an authorized provider.
Good Habits That Keep Sleep Stable
- Use timers that match your work style.
- Quit heavy browser tabs when you shift to battery.
- Use
caffeinatefor long jobs instead of flipping global switches. - Keep docks and firmware up to date.
- Travel with Bluetooth wake off.
References You Can Trust
Apple’s guides list current menu names and options. See the pages on sleep and wake settings and Power Nap for the exact wording you’ll see on your screen.
