Computer restarts when you plug in a USB device – fix it

Your PC rebooting when plugging in a USB device is usually a short circuit or power surge issue. Quick answer: try a different USB port first.

Quick answer

Unplug the USB device, test a different port (preferably on the back of your PC), and if it still restarts, inspect the USB connector for bent pins or damage.

Why does this happen?

Your computer restarts when a USB device is plugged in because the motherboard sees a short circuit or a big power draw. Think of it like a safety switch – the PSU trips to protect your hardware. I had a client last month whose whole office PC would reboot every time someone plugged in a random flash drive. Turned out the drive's metal casing was touching the USB port's power pin. Another guy had a cheap USB fan that would pull too much current and kill the PC instantly.

Common triggers: a damaged USB cable, a bent pin inside the port, a cheap power supply that can't handle the spike, or a device with a short inside. It can also happen if the USB port's ground pin is loose or missing.

Fix steps – try these in order

  1. Try a different USB port. Use one on the back of your PC (directly on the motherboard). Front ports are often daisy-chained and more sensitive. If it doesn't restart with a back port, the front panel wiring or header is the problem.
  2. Inspect the USB plug. Look for bent, missing, or burnt pins. A bent pin touching another pin will short the port. Grab a flashlight and check both the device and the port.
  3. Test with a known-good device. Plug in a different USB device, like a mouse or keyboard. If that works, the original device is the problem. If it still restarts, it's the port or motherboard.
  4. Update your USB drivers. In Device Manager, expand Universal Serial Bus controllers, right-click each entry (especially USB Root Hub) and select Update driver. But honestly, this rarely fixes a restart issue – it's more for performance problems.
  5. Disable USB selective suspend. Go to Power Options > Change plan settings > Change advanced power settings. Find USB settings > USB selective suspend setting and set it to Disabled. This stops Windows from putting USB ports to sleep, which can cause glitches. It's a long shot but takes 30 seconds.

If the main fix fails – try these

If the above didn't work, we're looking at hardware issues.

  • Check your PSU. A weak or old power supply can't handle the extra load. If your PC restarts with any USB device, your PSU might be dying. I had a Dell OptiPlex that would reboot with a USB drive – swapped the PSU, problem gone.
  • Look for motherboard damage. Inspect the USB headers on the motherboard (the little pins where the front USB ports connect). Look for burn marks, cracked solder, or bent pins. If you see damage, you can unplug that front panel USB cable completely and use only back ports.
  • Disable the port in BIOS. If you know which USB port is bad, go into BIOS/UEFI and disable that specific port. This is a workaround, not a fix.
  • Test with a multimeter. If you're handy, measure voltage between USB port's power pin and ground. Should be 5V steady. If it fluctuates or is zero, the motherboard's USB controller is fried.

How to stop it from happening again

Prevention is simple once you know the cause:

  • Don't force USB plugs in. If it doesn't fit, flip it over. Pushing too hard bends pins.
  • Use quality cables. Cheap cables from dollar stores often have bad shielding or wrong gauge wire. They can short out over time.
  • Avoid cheap USB hubs. Passive hubs (without power) can overload your motherboard's USB port. Use powered hubs if you need many devices.
  • Keep ports clean. Dust and debris can cause shorts. Blow them out with compressed air.

If you've tried all this and your PC still restarts, it's time to replace the motherboard or PSU. But nine times out of ten, it's a cheap fix – either a different port or a new cable.

Related Errors in Hardware – RAM & MB
Gaming Controller Keeps Disconnecting Mid-Game? Here's the Fix PC won't see your USB device? Try these fixes WHEA-Logger Event ID 47 or 18 Hardware Interrupt Storm on RAM/Motherboard – Fix Now RAM not running at advertised speed with XMP enabled

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.