Fix a USB Port That Turns On and Off Repeatedly
In this article
If your USB port keeps connecting and disconnecting (you hear the device chime repeatedly, or the device blinks on and off), the usual cause is a power or driver issue. In most cases, you can fix it by changing the USB power management setting in Windows, updating the driver, or checking the physical port. Below is a step-by-step guide to resolve the problem.
What You'll Need
- A computer with the affected USB port
- Access to Windows (the steps below are for Windows 10/11)
- A different USB cable (if available) to test
- A different USB device (like a mouse or flash drive) to test the port
Step-by-Step
- Check the physical port and cable. First, inspect the USB port for dust, debris, or bent pins. Use a can of compressed air to blow out any dust. If you're using a cable, try a different cable to rule out a faulty one. Also, try plugging the device into a different USB port on your computer. If it works there, the original port may be damaged.
- Restart your computer. A simple restart can clear temporary glitches that cause USB devices to misbehave. Save any work, then restart your PC.
- Update the USB driver. Outdated or corrupted drivers are a common cause. In Windows, right-click the Start button and select 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. If Windows finds no update, you can also right-click and choose Uninstall device, then restart your PC—Windows will reinstall the driver automatically.
- Disable USB power management. Windows can turn off USB ports to save power, which causes the on/off cycle. Open Device Manager again. Under Universal Serial Bus controllers, double-click each "USB Root Hub" (and "Generic USB Hub" if present). Go to the Power Management tab and uncheck "Allow the computer to turn off this device to save power." Click OK. Do this for all USB hubs listed.
- Check the USB selective suspend setting. Go to Control Panel > Power Options. Click Change plan settings next to your selected power plan, then Change advanced power settings. In the list, find USB settings > USB selective suspend setting. Set it to Disabled for both "On battery" and "Plugged in". Click Apply and OK.
- Test with a different device. Plug a different USB device (like a mouse or flash drive) into the same port. If it works without cycling, the problem is with the original device, not the port. If the new device also cycles, the port or its controller may be faulty.
- Try a powered USB hub. If the device draws too much power (like an external hard drive), the port may not supply enough. Connect the device through a self-powered USB hub (one with its own power adapter). This often stabilizes the connection.
- Check for hardware issues. If the port is physically loose or damaged, you may need to have it repaired. If it's a desktop, you can try a different internal USB header (if you're comfortable opening the case). For laptops, consider using a USB port on the other side.
Common Mistakes
- Ignoring the cable. A frayed or low-quality cable is a frequent culprit. Always test with a known-good cable first.
- Only updating one driver. There are multiple USB controllers and hubs; make sure to update all of them, not just the first one.
- Forgetting to restart after driver changes. Some driver updates require a restart to take effect.
- Assuming the port is broken. Before condemning the port, test it with a different device and try the original device on another port.
- Not checking power settings. Many people skip the power management step, which is one of the most effective fixes.
Tips
- If you have multiple USB devices, try disconnecting all of them and then plugging in the problematic one one at a time. This can help identify a conflict.
- Keep your Windows operating system updated. Updates often include USB driver fixes.
- Use the original cable that came with your device, or a high-quality replacement.
- If the port is on a laptop and you're using a docking station or USB-C adapter, try connecting directly to the laptop's built-in port.
- If the issue happens only with a specific device, check the device's own power settings (some external drives have a sleep mode that can cause disconnects).
Troubleshooting
If the steps above didn't solve the problem, try the following:
- Run the Windows USB troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters. Find "USB" and run it. This can automatically detect and fix common issues.
- Check the Event Viewer. Press Win + X and select Event Viewer. Go to Windows Logs > System. Look for errors with source "Kernel-PnP" or "USB" around the times the device disconnects. This may give a clue (like a specific error code).
- Disable Fast Startup. In Control Panel > Power Options > Choose what the power buttons do, click "Change settings that are currently unavailable" and uncheck "Turn on fast startup". This sometimes resolves USB issues that occur after boot.
- Update the chipset drivers. Visit your computer manufacturer's support website and download the latest chipset drivers. These often include USB controller updates.
- Try a system restore. If the problem started recently, you can restore your PC to an earlier point when it worked. Search for "Create a restore point" in the Start menu, then click "System Restore" and follow the prompts. This will not affect your personal files, but it may remove recently installed programs.
- If nothing works, the port may be physically failing. In that case, you'll need to use a different port or have the port repaired. For a desktop, you could install a USB expansion card. For a laptop, a USB hub can give you more ports.
Frequently Asked Questions
Why does my USB port keep disconnecting and reconnecting?
This is usually caused by power management settings, a faulty driver, a bad cable, or insufficient power supply. The steps above address each of these.
Can a USB port be damaged by a device that keeps disconnecting?
Repeated disconnects can stress the port's components, but it's more likely the port is already damaged and causing the issue. If you've ruled out software and cables, the port may need repair.
Will a USB hub fix the issue?
Yes, especially a powered hub. If the device draws more power than the port can provide, a powered hub supplies stable power and often stops the cycling.
Is it safe to disable USB power management?
Yes, it's safe. It may slightly reduce battery life on laptops, but it prevents the port from being turned off. Most users don't notice any difference.
What if the problem is with a USB-C port?
The same steps apply. Additionally, try flipping the USB-C connector (if it's reversible) and ensure the cable supports the required power/data standards. Some USB-C ports have alternate modes that can cause conflicts.
Does this happen on Mac or Linux too?
Yes, but the steps above are for Windows. On Mac, check System Settings > Energy Saver for USB power settings. On Linux, you can use the command lsusb to see if the device is recognized, and check power management with powertop.