Fix Computer Freezes When USB Plugged In
In this article
If your computer freezes or locks up the moment you plug in a USB device, the cause is usually a faulty driver, a power issue, or a hardware conflict. Start by unplugging the device and restarting your PC, then follow the steps below to identify and fix the root cause. Most freezes can be resolved by updating drivers, changing power settings, or disabling USB selective suspend.
What You'll Need
- Administrator access to your computer
- The USB device that causes the freeze (if you have it)
- A different USB port (optional but helpful)
- Another computer (optional, for testing the device)
Step-by-Step
- Restart your computer. If it's currently frozen, hold the power button for 5–10 seconds to force a shutdown. Then turn it back on. This clears temporary glitches.
- Unplug the USB device and check for physical damage. Look at the connector and the port for bent pins, debris, or damage. Try a different USB port (preferably a rear port on a desktop).
- Boot into Safe Mode. In Windows, hold Shift while clicking Restart, then go to Troubleshoot > Advanced options > Startup Settings > Restart, then press 4 or F4. In Safe Mode, plug in the USB device. If it doesn't freeze, the problem is likely a driver or software conflict.
- Update your USB drivers. Open Device Manager (right-click Start > Device Manager). Expand "Universal Serial Bus controllers." Right-click each entry (like "USB Root Hub" or "Host Controller") and select "Update driver." Choose "Search automatically for drivers." Repeat for all USB entries. If a specific device (like a printer or external drive) appears under "Other devices" or has a yellow warning icon, update that too.
- Uninstall and reinstall the problematic driver. In Device Manager, right-click the device that causes the freeze (or the USB controller) and select "Uninstall device." Check "Delete the driver software for this device" if offered, then restart your computer. Windows will reinstall the driver automatically.
- Disable USB selective suspend. This is a power-saving feature that can cause freezes. Open Control Panel > Power Options. Click "Change plan settings" next to your active plan, then "Change advanced power settings." Expand "USB settings" > "USB selective suspend setting." Set both "On battery" and "Plugged in" to "Disabled." Click Apply and OK.
- Check for Windows updates. Go to Settings > Update & Security > Windows Update (or Settings > Windows Update on Windows 11) and click "Check for updates." Install any pending updates, especially driver and firmware updates.
- Test the USB device on another computer. If it freezes another PC too, the device itself is faulty. If it works fine, the issue is with your computer's hardware or drivers.
- Try a powered USB hub. If the device draws too much power (like an external hard drive or a phone charging), a powered hub with its own AC adapter can supply stable power and prevent freezes.
- Update your motherboard chipset drivers. Visit your motherboard or PC manufacturer's support website (e.g., Intel, AMD, Dell, HP) and download the latest chipset drivers. These control USB communication.
- Disable Fast Startup (Windows). Fast Startup can cause driver issues. Open Control Panel > Power Options > "Choose what the power buttons do." Click "Change settings that are currently unavailable," then uncheck "Turn on fast startup." Save changes.
- Check for BIOS/UEFI updates. Visit your motherboard or PC manufacturer's website for a BIOS update. Outdated BIOS can cause USB conflicts. Follow their instructions carefully—updating BIOS is safe if done correctly, but a power loss during the update can damage your system.
Common Mistakes
- Plugging in the device while the computer is asleep or hibernating. Always wake the computer fully before connecting USB.
- Using a USB extension cable or unpowered hub. These can cause power drops and freezes. Use a direct port or a powered hub.
- Skipping driver updates. Many freezes are caused by outdated or corrupt drivers.
- Assuming the device is fine because it works on another computer. The issue may be specific to your motherboard's USB implementation.
- Forcing a shutdown repeatedly. This can corrupt system files. Use it only when necessary.
Tips
- Keep your USB drivers updated by enabling automatic driver updates in Windows (Settings > Update & Security > Windows Update > Advanced options > Optional updates).
- For external drives, use the "Safely Remove Hardware" option before unplugging to avoid data corruption and freezes.
- If you use a docking station or a USB-C adapter, test without it to rule out a faulty adapter.
- If you have multiple USB devices, plug them in one at a time to identify the culprit.
- Consider using a USB port with a higher power rating (like USB 3.0/3.1 ports are usually more robust).
Troubleshooting
If the freeze persists after following all steps:
- Check the Windows Event Viewer. Press Win + X, select "Event Viewer," go to "Windows Logs > System," and look for errors with the source "Kernel-Power" or "USB" around the time of the freeze. This can point to the exact cause.
- Run a system file check. Open Command Prompt as administrator and type
sfc /scannow. This repairs corrupted system files that might cause freezes. - Test with a Linux live USB. Boot from a Linux live USB (like Ubuntu) and see if the freeze occurs there. If it doesn't, the problem is Windows-specific. If it does, it's a hardware issue.
- Check for overheating. Plugging in a USB device can spike power usage. Monitor your CPU/GPU temperatures with a tool like HWMonitor. If temperatures are high, clean dust from fans and ensure proper ventilation.
- If nothing works, the issue may be a failing motherboard or power supply. In that case, consult a professional technician. Do not attempt to replace a power supply or motherboard unless you are experienced with computer hardware.
Frequently Asked Questions
Why does my computer freeze only when I plug in a specific USB device?
That device likely has a driver conflict or a hardware fault. Try updating the device's driver from the manufacturer's website. If it's an external drive, check its health with a tool like CrystalDiskInfo (Windows).
Can a USB port cause a freeze even if the device works elsewhere?
Yes. A damaged or poorly grounded USB port can cause power irregularities. Try a different port, and if the problem follows the port, the port may need replacement (a hardware repair).
Is it safe to update my BIOS to fix USB freezes?
Yes, but only if you follow the manufacturer's instructions exactly. A BIOS update can resolve USB compatibility issues. Ensure your computer is plugged into a UPS or has a fully charged battery to avoid power loss during the update.
What is USB selective suspend and why would disabling it help?
It's a power-saving feature that puts individual USB ports to sleep when idle. Sometimes it fails to wake the port properly, causing a freeze when a device is plugged in. Disabling it keeps ports always active.
My computer freezes when I plug in a USB flash drive, but not other devices. What's different?
The flash drive may have a faulty controller or a corrupted file system. Try formatting the drive on another computer (if you can), or replace it. Also, check if the drive uses an older USB 1.0/1.1 standard that may conflict with modern controllers.
Could a virus cause USB freezes?
Yes, some malware can interfere with USB drivers. Run a full antivirus scan with Windows Defender or a trusted third-party antivirus. Also, boot into Safe Mode with Networking and scan there if normal mode freezes.