Windows 11 USB Ports Stop Working After Sleep? 9 Fixes to Try

Open dark laptop on a light table with a small black USB flash drive at its side port and a coiled USB cable in front, a general picture for USB ports that stop working after sleep
Open dark laptop on a light table with a small black USB flash drive at its side port and a coiled USB cable in front, a general picture for USB ports that stop working after sleep

When USB ports stop working after sleep, the PC wakes up normally but the mouse, keyboard, drive or phone plugged into it does nothing. Often it only starts again after you unplug it or restart. This article explains why that happens in Windows 11 and gives nine safe fixes, from the quickest test to the deeper checks. For other faults, browse our PC repair guides.

Safety: none of the nine fixes needs a registry edit or switches off a Windows service. The BIOS update in Fix 9 is optional, and only worth doing if the maker's release notes list a USB or sleep fix. Save your work before you try anything that restarts the PC.

Why USB Ports Stop Working After Sleep

While the PC sleeps, Windows lowers the power to USB controllers, hubs and devices. When it wakes, the controller, its driver and each device have to start talking again. If one step fails, the port looks dead even though the hardware is fine.

The usual causes are a power-saving setting, an old chipset or USB driver, a hub or dock that does not wake properly, or a device that does not recover from low power. Occasionally the hardware itself is faulty.

What happens after wakeLikely causeStart with
One device is dead, other ports workThat device, its cable or its portFixes 1 and 7
Every USB port is deadController or driverFixes 3, 4 and 8
Only devices on a hub or dock failHub or dockFix 7
Works after a restart, dead after every sleepPower settings or driverFixes 5, 6 and 8
Started after an updateUpdate or driver changeFix 8

This article covers USB that fails after the PC has woken. If the PC does not wake at all, see PC Won't Wake From Sleep in Windows?. If the screen stays black after waking, see Windows 11 Black Screen After Sleep?. For a USB device that Windows never recognizes, even after a restart, use How to Fix USB Device Not Recognized.

Fix 1: Unplug, Replug and Try Another Port

This is the fastest test, and it tells you where to look next. Unplug the device, wait five seconds and plug it into the same port. Then try a different port, ideally one on the other side of a laptop or at the back of a desktop.

You should hear the Windows connect sound and see the device work again. Read the result like this:

  • It works after a replug: the device failed to recover from low power. Fixes 5, 6 and 7 try to stop that from happening.
  • It works in another port only: the first port or its connection may be at fault. On a desktop, see How to Fix Front USB Ports Not Working.
  • Nothing works in any port: go to Fix 2.

Fix 2: Restart, Then Test Sleep Again

Choose Start > Power > Restart. Do not choose Shut down for this test. With Fast Startup on, a shutdown can keep parts of the system in memory, so drivers do not always start from scratch. A restart does.

After the restart, check that the USB device works. Then put the PC to sleep for a minute or two, wake it and test again.

  • Works after restart, fails after sleep: the problem is in the resume step. Carry on with Fixes 3 to 8.
  • Fails even after a restart: this is not a sleep problem. Use the guide linked above for USB devices that are not recognized.

To turn off Fast Startup, open Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable. Untick Turn on fast startup and select Save changes. The PC may start a little slower.

Fix 3: Scan for Hardware Changes

This asks Windows to look for devices again without a restart.

  1. Right-click Start and open Device Manager.
  2. Click the name of your PC at the top of the list.
  3. Select Action > Scan for hardware changes.

You should see the missing device appear again, for example under Universal Serial Bus controllers, Keyboards or Mice and other pointing devices. If it does, Windows can use the port, and the fault is in how the port wakes up.

If your keyboard and mouse are both USB and both dead, use a touchscreen, a Bluetooth or built-in keyboard, or save your work and restart.

Fix 4: Disable and Enable the USB Controller

A USB controller can get stuck after sleep. Turning it off and on again often wakes it, without a restart.

Before you start: if your only keyboard and mouse are plugged into that controller, they stop working when you disable it and you cannot click Enable. Use a laptop touchpad, a touchscreen or a keyboard and mouse on another port first, or skip this fix and restart instead.

  1. In Device Manager, expand Universal Serial Bus controllers.
  2. Right-click an entry with Host Controller in its name, such as USB xHCI Compliant Host Controller, and choose Disable device. Confirm with Yes.
  3. Right-click the same entry and choose Enable device.

You should see devices on that controller come back within a few seconds. Do one controller at a time. Devices plugged into it stop for a moment, so do not do this during a file transfer. Do not choose Uninstall device for every entry at once.

If this fixes it every time, the controller is not recovering from sleep. Fixes 5, 6 and 8 are the lasting answers.

Fix 5: Test USB Selective Suspend

USB selective suspend lets Windows put idle USB ports to sleep. On some PCs the ports do not wake correctly. Switching it off is a test, not a permanent fix.

  1. Open Control Panel > Power Options and select Change plan settings for your plan.
  2. Select Change advanced power settings.
  3. Expand USB settings > USB selective suspend setting.
  4. Set both On battery and Plugged in to Disabled, then select OK.

Sleep and wake the PC, then test the USB device. You should see it work after waking. Microsoft's USB selective suspend documentation says the feature is on by default and recommends leaving it on. So if the change makes no difference over a few days, set it back to Enabled.

Some PCs do not show this setting. In that case, go to Fix 6. Our guide on USB devices that are not recognized uses the same setting for a different symptom.

Fix 6: Stop Windows Powering Off Individual USB Devices

Windows can also switch off a hub or device on its own to save power. You can turn this off for a single entry.

  1. In Device Manager, expand Universal Serial Bus controllers.
  2. Double-click a USB Root Hub or Generic USB Hub entry and open the Power Management tab.
  3. Untick Allow the computer to turn off this device to save power and select OK.
  4. Repeat for each hub entry, then for the device that fails, such as your mouse or keyboard.

You should see the setting stay unticked when you reopen it. Some entries have no Power Management tab, which is normal.

Leave Allow this device to wake the computer alone unless your keyboard or mouse cannot wake the PC at all. That is a different problem, covered in the wake-from-sleep guide linked above.

Fix 7: Check Hubs, Docks and Cables

A hub or dock adds another device that must wake correctly. Plug the failing device straight into the PC, with no hub, extension cable or dock in between.

  • Works when plugged in directly: the hub, dock or cable is the cause. Try another cable, or a powered hub that has its own power adapter.
  • Dock or USB-C hub: unplug it before sleep and plug it back in after waking. Check the maker's support page for dock firmware and drivers.
  • External drives: some need more power than a port gives after waking. Use the drive's own power adapter if it has one.

You should see the device work after waking when it is connected directly. If it still fails, the dock or cable was not the cause.

Fix 8: Update or Roll Back USB and Chipset Drivers

An old chipset or USB driver is a common reason why ports do not recover. A new driver can also cause the problem, so check both ways.

Update first

  1. Open Settings > Windows Update and select Check for updates.
  2. Select Advanced options > Optional updates and look under Driver updates.
  3. Install the chipset and USB drivers from your PC or motherboard maker's support page.

Our guides on updating drivers safely and Windows Update problems help if an update will not install.

Roll back if it began after an update

In Device Manager, double-click the Host Controller entry, open the Driver tab and select Roll Back Driver. If the button is grey, Windows has no earlier driver to go back to. Restart afterwards, then sleep and wake the PC to test.

Fix 9: Read Event Viewer and Check the BIOS

Look for clues in Event Viewer

Right-click Start, open Event Viewer and go to Windows Logs > System. Find the time you woke the PC. Look for warnings or errors close to that time from sources such as Kernel-PnP, a USB hub or Kernel-Power. Event names differ between PCs, so treat this as a clue, not a diagnosis.

If a message names a device or driver, search for that name on the maker's support page. You should be able to tell whether one device, or the whole controller, fails each time.

Check the BIOS only if the maker lists a fix

A BIOS update sometimes fixes sleep and USB faults. Update it only if the maker's release notes mention USB or sleep, and follow our guide to updating the BIOS safely. Do not change BIOS options you do not understand. If Windows files may be damaged, SFC and DISM check them.

If Nothing Works: Use Hibernate or Restart

Hibernate saves your session to the drive and powers hardware off fully, so USB starts from scratch when you turn the PC on. Many people find that it avoids the problem. Choose Start > Power > Hibernate.

If Hibernate is missing, open Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable, tick Hibernate and select Save changes. To change when the PC sleeps, use Settings > System > Power & battery > Screen, sleep & hibernate timeouts.

Microsoft explains the three modes on its page Shut down, sleep, or hibernate your PC.

When Hardware Is the Likely Cause

Suspect the hardware if a device fails on other PCs too, if one port is loose or bent, or if the problem comes back after every fix. Test the device on another PC first. A damaged port or board needs a repair, not another setting.

Do not open a desktop while it is plugged in, and never open a power supply. Stop and get a technician if you smell burning or see a swollen laptop battery.

FAQ

Why do USB ports work after a restart but not after sleep? A restart starts every driver again. Sleep keeps them in a low-power state, and a driver or device may not recover from it.

Is it safe to turn off USB selective suspend? Yes. A laptop may use a little more power. Microsoft recommends leaving it on by default, so use it as a test and turn it back on if it does not help.

Can a Windows update cause USB ports to stop working after sleep? It can, usually through a driver change. If the fault began right after an update, try Fix 8.

Should I reinstall Windows? No. Every fix here changes a setting or a driver, and none needs a reinstall.

My desktop keyboard stays dead even after a restart. What now? That points to a different fault. See Keyboard Not Working on a Desktop PC?.