Laptop keeps waking up randomly from sleep mode in Windows 11
A Windows 11 laptop waking up randomly from sleep mode usually happens because a device, network card, or background task sends a signal that tells your computer to turn back on. This annoying issue wastes battery life and can cause your laptop to overheat inside a backpack or bag.
Stopping your Windows 11 laptop from waking up randomly takes just a few clicks once you find the exact device causing the wake-up issue. You can use built-in tools like the Command Prompt in Windows 11 to track down the exact hardware component that woke your PC last, and then you can change specific device power settings in the Device Manager to keep your system asleep until you press the power button.
⚡ Quick Answer
When your laptop keeps waking up randomly from sleep mode in Windows 11, you can find the cause by opening Command Prompt, typing powercfg -lastwake, and pressing Enter. To stop it, open Device Manager, right-click your mouse or network adapter, open Properties, and uncheck the option allowing the device to wake your computer.
Step 1Find Out What Caused the Last Wake-Up
Checking what caused the last wake-up on your Windows 11 laptop helps you fix random sleep issues quickly. You can easily find the exact device or program that turned on your computer by running a simple command in the Command Prompt. This built-in tool looks at your system logs and shows you the exact hardware or software responsible for waking your laptop from sleep mode.
Click the Windows Start button ⊞ on your taskbar 🖥️.
Type the word cmd into the search 🔍 box.
Right-click on 🖱️ Command Prompt in the search 🔍 results and choose Run as administrator. Command Prompt (Requires administrator privileges)
A black window will open. Type the following command and press the Enter key:
💻Code
powercfg -lastwake
Read the text on the screen to see what device or program woke your computer.
If that command does not give you an answer, check for scheduled wake timers. In the same window, type this command and press Enter:
💻Code
powercfg -waketimers
If a program is scheduled to wake your laptop, its name will appear here.
Step 2Use Event Viewer to Track Down Stubborn Wake Triggers
Using Event Viewer to track down stubborn wake triggers lets you see detailed system logs when command prompt answers are not enough. This built-in Windows 11 tool records every hardware and software event, making it easy to filter your system logs and spot the exact device or program causing your laptop to wake up randomly from sleep mode without needing extra software.
Click the Start button, type Event Viewer, and press Enter to open the app.
In the left menu, double-click Windows Logs, then click System.
On the right side of the window, click Filter Current Log...
In the new window, find the Event sources drop-down menu.
Scroll down and check the box next to Power-Troubleshooter.
Click OK.
The middle panel will now show a history of your sleep and wake events. Click the most recent events and read the details at the bottom. Look for "Wake Source" to see what caused that specific wake-up.
Event Viewer
Step 3Stop USB Devices From Waking Your Laptop
Stopping USB devices from waking your laptop is a great way to stop random wake-ups caused by a mouse, keyboard, or flash drive. Bumping your desk can send an accidental signal through your USB port and turn on your screen. You can easily stop random wake-ups by changing the power settings inside the Device Manager so your hardware cannot wake the computer.
Click the Start button, type Device Manager, and press Enter.
Click the arrow next to Mice and other pointing devices or Keyboards.
Right-click your mouse or keyboard and select Properties.
Click the Power Management tab at the top. (If you do not see this tab, that device cannot wake your PC, so move to the next one).
Uncheck the box that says Allow this device to wake the computer.
Click OK.
You should repeat these steps for any other mice, keyboards, or USB hubs plugged into your laptop to stop all connected hardware from waking up your computer. Checking every plugged-in device matters because a single mouse or keyboard can send wake signals and drain your battery while you are away.
Step 4Adjust Network Adapters and Wi-Fi Settings
Settings › Network & internet
Adjusting network adapters and Wi-Fi settings stops your home network traffic and router checks from tricking your laptop into waking up. Your network card constantly listens for incoming signals, which can accidentally turn on your screen. You can fix this by changing the power management settings for your wireless or ethernet card in the Device Manager.
Settings › Network & internet › Airplane mode
Open the Device Manager from the Start menu. Device Manager
Click the arrow next to Network adapters.
Find your Wi-Fi card or Ethernet adapter.
Right-click the adapter and select Properties.
Click the Power Management tab.
Uncheck Allow this device to wake the computer.
Click OK.
If you need your laptop to wake up remotely for file sharing using a network signal called a magic packet, check the box below it that says Only allow a magic packet to wake the computer instead of turning off the feature completely.
Step 5Control Windows Update and Automatic Maintenance
Controlling Windows Update and automatic maintenance stops background system updates and security scans from waking your laptop out of sleep mode. By default, Windows is allowed to turn on your computer at scheduled times to run these tasks. You can easily stop this behavior by changing the automatic maintenance settings in your control panel.
Click the Start button, type Automatic Maintenance, and click Change Automatic Maintenance settings.
Find the checkbox at the bottom that says Allow scheduled maintenance to wake up my computer at the scheduled time.
Uncheck that box.
Click OK.
You should also check your update settings so Windows does not restart your PC at bad times:
Settings › Windows Update
Open the Windows Settings app by pressing the Windows Key + I on your keyboard.Settings
Click on Windows Update on the right side.
Click on Advanced options.
Click on Active hours and make sure it matches the times you are normally awake and using your computer.
Step 6Disable Background Wake Timers
Disabling background wake timers stops installed programs from telling Windows to wake your system up for virus scans or cloud backups. Certain apps use these hidden timers to turn on your computer while you are away. You can turn them off completely by adjusting your advanced power plan settings through the classic Control Panel.
Click the Start button, type Control Panel, and press Enter.
Click Hardware and Sound, then click Power Options.
Next to your active power plan, click Change plan settings.
Click Change advanced power settings. A small window will appear.
Find Sleep in the list and click the plus sign next to it.
Click the plus sign next to Allow wake timers.
Change both "On battery" and "Plugged in" to Disabled.
Click Apply and then click OK.
Step 7Check Scheduled Tasks via PowerShell
Checking scheduled tasks via PowerShell lets you find hidden background tasks that override your power settings and wake up your computer. When standard fixes do not work, running a quick command in PowerShell shows you a complete list of every automated task that has permission to turn on your laptop from sleep mode.
Right-click the Windows Start button and choose Terminal or PowerShell. PowerShell (Requires administrator privileges)
Type the following command into the window and press Enter:
⬛PowerShell
Get-ScheduledTask | where {$_.settings.waketorun}
Review the list of tasks on your screen.
If you see a task you want to stop:
Click the Start button, type Task Scheduler, and open the app.
Use the left sidebar to find the exact task you saw in PowerShell.
Double-click the task to open its properties.
Click the Conditions tab.
Uncheck Wake the computer to run this task.
Click OK.
Advanced Tip: Use Modern Standby Sleep Study
Using the Modern Standby sleep study tool helps you generate a detailed power report when your Windows 11 laptop drains its battery quickly while sleeping. Modern laptops keep background features running so the laptops turn on instantly like a smartphone. The power report shows you exactly which apps and background tasks stop your computer from resting properly.
If your battery drains quickly while sleeping, you can generate a power report to see which apps stop your laptop from resting.
Right-click the Start button and open Terminal or Command Prompt as an administrator. (Requires administrator privileges)
Type the following command and press Enter:
To view your saved power report for your laptop running Windows 11, open your web browser, press Ctrl + O, and select the saved HTML file. Opening this system report matters because the battery and power data helps you find the exact hardware device waking your laptop from sleep mode.
Click the Start button, type Control Panel, and open it.
Click Hardware and Sound, then click Power Options.
Click the link on the left side that says Choose what the power buttons do.
Click the link near the top that says Change settings that are currently unavailable.
Uncheck the box next to Turn on fast startup (recommended).
Click Save changes.
Summary
Fixing random wakeups in Windows 11 stops annoying battery drain and keeps your computer asleep when you want it to rest. You can easily track down the exact hardware device or software task causing the problem by using built-in diagnostic tools like Event Viewer and Command Prompt. Once you find the culprit, adjusting your power settings and turning off wake timers will solve the issue for good.
Why does my PC keep randomly waking up from sleep mode?
Your PC usually wakes up randomly because hardware devices like your mouse, network card, or background tasks send a signal to turn it back on. You can easily stop this by tracking down the culprit in the Command Prompt and changing its power settings so it can no longer wake your computer.
Why does my laptop keep going into sleep mode randomly?
If your laptop goes into sleep mode unexpectedly, it is usually because your power and sleep settings are set to turn the screen off or put the system to sleep after a short period of inactivity. You can fix this by adjusting your screen and sleep timeout settings in the Windows settings menu.
Why did my PC randomly turn on from sleep mode?
Your computer likely turned on by itself because a connected device, a scheduled task, or your network card sent a wake-up signal. You can find out exactly what caused it by running a quick command in the Command Prompt and then disabling that device's permission to wake your PC.
What causes sudden wake up from sleep?
Sudden wake-ups usually happen when hardware components like mice, keyboards, or network adapters are allowed to pull your computer out of sleep mode. Background software updates and scheduled system maintenance tasks can also trigger your computer to turn back on unexpectedly without your input.
Was this guide helpful?
📬 Get new Windows tips in your inbox
One email when we publish something worth your time. No spam, unsubscribe anytime.
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions.
Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
One email when we publish a guide worth your time — new Windows features, the fixes that actually
work, and a heads-up when Microsoft breaks something. Unsubscribe in one click.
📬 Get new Windows tips in your inbox
One email when we publish something worth your time. No spam, unsubscribe anytime.
No comments yet — be the first to share your thoughts!