When a computer won’t stay asleep, wake timers, devices, or apps keep waking it; disabling these and tweaking power settings stops the wake loops.
Sleep should be simple. You press Sleep, the screen fades, and the system rests until you tap a key. If your PC or Mac keeps snapping back on, something is poking it awake. The culprits are predictable and easy to tame with a few targeted tweaks.
Quick Checks That Stop Most Wake Loops
Start with the usual suspects. These fixes take minutes and solve a large slice of cases across desktops and laptops.
| Symptom | Likely Trigger | Where To Fix |
|---|---|---|
| Wakes seconds after sleep | Mouse movement, USB power, wake-armed devices | Device Manager or System Settings |
| Turns on at the same time daily | Wake timers or scheduled tasks | Power options and Task Scheduler |
| Lights up with network activity | Wake on LAN or wireless adapter | Adapter properties and BIOS/UEFI |
| Resumes while charging a phone | USB charging keeps ports active | Disable USB charging or use a wall charger |
| Stirs after updates | Maintenance or update tasks | Windows Update settings and waketimers |
| Mac wakes randomly | Power Nap, Bluetooth, schedule | System Settings › Battery & Bluetooth |
| External drive spins up | Disk polling or indexing | Safely eject or set drive sleep |
PC Not Staying Asleep — Windows Fixes That Work
These steps apply to Windows 11 and Windows 10. You’ll use built-in tools only.
1) Find What Woke The PC
Run two commands from an admin Command Prompt.
powercfg /lastwake
powercfg /waketimers
Powercfg options explain the output and extra switches. If the wake source lists a device, rein it in next. If a timer shows up, turn those off.
2) Stop Devices From Waking The PC
Keyboards and network adapters may be set to wake the system. Mice are the top offender on desks that shake.
- Open Device Manager.
- For mice, keyboards, and network adapters, open Properties › Power Management.
- Uncheck “Allow this device to wake the computer.” Leave the keyboard checked if you want a keypress to wake the PC.
Still waking? List every wake-armed device:
powercfg -devicequery wake_armed
Disable wake on any device you don’t use for wake-from-sleep.
3) Turn Off Wake Timers
- Open Control Panel › Power Options › Change plan settings › Change advanced power settings.
- Expand Sleep › Allow wake timers. Set On battery and Plugged in to Disable.
Recheck timers with powercfg /waketimers. If a task keeps arming a timer, open Task Scheduler and clear “Wake the computer to run this task.”
4) Tame Network And USB Wake
Ethernet can wake a machine when traffic hits the port. So can wireless adapters. USB hubs can do the same.
- Network adapter › Power Management: uncheck “Allow this device to wake…” or limit to “Only allow a magic packet.”
- Network adapter › Advanced: disable Wake on pattern match and Wake on magic packet if you never use them.
- USB hubs › Power Management: uncheck wake permission. Keep “Allow the computer to turn off this device to save power” if your peripherals behave.
5) Fix Scheduled Maintenance And Update Wakes
Open Settings › Windows Update › Advanced options. Turn off “Wake for updates.” In Task Scheduler, under Microsoft › Windows › UpdateOrchestrator and Maintenance, clear wake boxes on tasks that don’t need it.
6) Modern Standby Gotchas
Many thin PCs use Modern Standby (S0). The system stays semi-awake to sync and listen for events, which can look like random wakes. If your device supports classic S3 sleep, prefer that. If not, reduce wake sources and block timers as above. For heavy network wake, pick Hibernate instead of Sleep when leaving the desk for long stretches.
7) BIOS/UEFI And “Wake On” Settings
Enter firmware setup during boot. Look for Wake on LAN, Wake on PCIe, USB Wake, or “ERP” power settings. Turn off features you don’t use. Save and retest sleep.
8) Repair A Corrupt Power Plan
Create a clean plan, then edit the sleep items.
powercfg -restoredefaultschemes
powercfg -duplicatescheme SCHEME_BALANCED
Open Power Options and set Sleep, USB selective suspend, and PCI Express › Link State Power Management to your preference.
9) Use Event Viewer For Clues
Open Event Viewer › Windows Logs › System. Filter on Kernel-Power and Power-Troubleshooter around the wake time. The details panel often names the device or the source type. Match that to Device Manager or a scheduled task, then switch off its wake ability or timing.
10) Laptop Lid And Dock Quirks
On many laptops, a lid sensor or a dock can nudge sleep. In Power Options › Choose what closing the lid does, set On battery and Plugged in to Sleep. If the system wakes when you move the lid slightly, set a short timer to Hibernate when plugged in. For USB-C docks, update dock firmware and drivers from the vendor site.
Mac Wakes On Its Own: What To Change
On macOS, the usual triggers are Power Nap, Bluetooth accessories, network services, and schedules. Apple’s guide, If your Mac sleeps or wakes unexpectedly, walks through the built-ins. Here’s a tight version you can follow now.
1) Adjust Battery And Power Adapter Settings
- System Settings › Battery: set “Turn display off after” to a sensible time.
- Disable “Wake for network access” unless you need file sharing or remote access.
- Turn off Power Nap while on battery and, if wakes persist, while on power adapter.
2) Quiet Bluetooth And USB
- System Settings › Bluetooth: remove nearby accessories that keep sending input. Mice can nudge the system awake.
- USB devices and docks can trigger wakes. Unplug non-essentials before sleep to test.
3) Check Schedules And Wake Reasons
- System Settings › Battery › Schedule: clear any start or wake entries.
- Terminal:
pmset -g assertionsto list apps that prevent idle sleep. - Terminal:
log show --style syslog | fgrep "Wake reason"to review wake sources.
4) Update, Then Reset Controllers
Install macOS updates. If odd wakes persist, shut down and perform an SMC or NVRAM reset per your model. Then test sleep again.
Second Table Of Handy Diagnostics
Use these quick reads when you want instant clues. They reveal who woke the system, or why it refuses to stay down.
| Platform | Command Or Setting | What You Learn |
|---|---|---|
| Windows | powercfg /lastwake |
The most recent wake source |
| Windows | powercfg -devicequery wake_armed |
Devices allowed to wake |
| Windows | Task Scheduler › Conditions | Tasks that can wake the PC |
| macOS | pmset -g assertions |
Apps blocking idle sleep |
| macOS | Battery › Schedule | Planned sleep or wake entries |
| Firmware | Wake on LAN, USB Wake | Hardware level wake features |
Stop Wakes Caused By Peripherals
Printers, capture cards, webcams, and RGB controllers can ping the system. If sleep fails after a new gadget, test with that device unplugged. Use powered hubs for noisy gear. When possible, prefer a single cable from a stable dock over many direct connections. Keep drivers current from the vendor, not just Windows Update.
Sleep, Hibernate, And Hybrid Sleep
Classic Sleep parks system state in RAM and sips power. Hibernate writes memory to disk and then powers down. Hybrid Sleep mixes both on desktops, adding crash safety during outages. Modern Standby keeps network stacks and some devices ready. If wakes continue under Sleep on a Modern Standby system, switch to Hibernate for long breaks and back to Sleep for short pauses.
Create A Reliable Windows Power Plan
Here’s a clean setup that sticks.
- Restore defaults:
powercfg -restoredefaultschemes. - Choose Balanced. Set screen and sleep timers that match your day.
- Advanced settings: disable wake timers, keep USB selective suspend Enabled, set PCI Express › Link State to Moderate or Off if devices misbehave.
- Network adapter: allow only magic packet wake or disable wake entirely.
- Turn off “Wake the computer for scheduled maintenance.”
When Sleep Still Breaks
Some edge cases need extra time. Work down this list.
- Update BIOS/UEFI and chipset drivers from your board or laptop maker.
- Remove wake-capable software like remote control tools from startup and retest.
- Scan for malware and unwanted tasks.
- Check Event Viewer › System for Power-Troubleshooter entries near each wake.
- Run
sfc /scannowandDISM /Online /Cleanup-Image /RestoreHealthto repair system files. - Create a new user profile to rule out profile quirks.
Final Checks That Keep Sleep Solid
Once the wakes stop, lock in the gains.
- Leave the keyboard as your one wake device. Everything else stays blocked.
- Use Hibernate or Shut down before trips, updates, or long nights.
- Keep external drives and hubs on known good ports.
- Revisit wake timers after big software installs.
With the right mix of device settings, timers, and firmware tweaks, sleep turns dependable again. One calm tap to sleep, one tap to wake, no surprises in between.
