en
Back to Computer
USB flash drive plugged into the side of a laptop with a USB recognized message
Computer

Computer Not Recognizing USB: 10 Fixes for Windows and Mac

Find out whether the fault is the port, the cable, the device or the driver, and get USB working again with official steps from Microsoft and Apple.

⚪ Intermediate Estimated time 15 minutes Step by step 10 fixes

By

Quick answer: what to do now

Your computer doesn't recognize a flash drive, external hard drive, mouse, keyboard or phone? Do this in order:

  1. Plug it into another port, directly on the computer and without a hub. On a desktop PC, use the back ports.
  2. Swap the cable: many cables, especially USB-C ones, only charge and don't carry data.
  3. Test the device on another computer to find out whether the fault is in the device or the PC.
  4. Restart the computer (Restart, not Shut down).
  5. Still nothing? Open Device Manager, check the error code and reinstall the driver.

What's your case?

Computer not recognizing USB: 10 fixes, step by step

1Run the quick test: is it the PC or the USB device?

Before touching drivers, find out where the fault is. In 2 minutes you'll know whether the problem is the port, the cable, the device or Windows.

Quick test to find out whether the problem is the computer or the USB device: try another port, swap the cable, test on another computer, restart and open Device Manager
  • It works in another port: the first port may be faulty, dirty or not supplying enough power.
  • It doesn't work on any computer: the device or the cable is faulty.
  • It works on another computer but not this one: the problem is your PC. Follow steps 4 to 10.

2Plug it directly into the computer, without a hub

Microsoft explains that a non-powered USB hub may not supply enough power, especially for external hard drives. Apple gives the same advice for Macs.

  • Remove the device from the hub, dock or extension cable and plug it directly into a port on the computer.
  • On a desktop PC, use the back ports, which are on the motherboard. The front ones depend on an internal cable.
  • If you need a hub, use one with its own power adapter plugged into the wall.
  • On a laptop, plug in the charger and disconnect USB devices you aren't using: Microsoft recommends this when you see a warning that the device might need more power.
  • Look inside the port: dust, lint or bent pins prevent contact.

3Swap the cable and check the phone's USB mode

A cable that charges doesn't necessarily transfer data. Apple points out that the cable must support data, not just charging. Test with the device's original cable or another data cable.

Android phone

  1. Unlock the phone.
  2. Tap the Charging this device via USB notification.
  3. Under Use USB for, choose File transfer.

iPhone or iPad

  1. Unlock the iPhone and stay on the Home Screen.
  2. When you see Trust This Computer?, tap Trust and enter your passcode.
  3. On Windows, use an up-to-date Apple Devices app (or iTunes).

Android option names vary slightly between brands, but every phone shows a USB notification.

4Restart the computer

Unplug the device, select Start › Power › Restart and plug it back in once Windows is up. Use Restart, not Shut down: with Fast Startup on, Shut down doesn't reload every driver.

On a Mac, choose Apple menu › Restart.

5On a Mac: allow the accessory

On Mac laptops with Apple silicon, Apple requires you to approve each new USB or Thunderbolt accessory or SD card. If you click Don't Allow, the accessory can still charge, but the Mac won't exchange data with it.

Mac alert asking whether to connect the USB accessory, with the Allow button highlighted, and the Allow accessories to connect setting in Privacy and Security
  1. Unlock the Mac and plug the accessory in again. When the alert appears, click Allow.
  2. To change the rule, open Apple menu › System Settings › Privacy & Security.
  3. Scroll to Accessories and choose an option under Allow accessories to connect. The default is Ask for new accessories.

Seeing “USB Devices Disabled”? Apple explains that the device asked for more power than the port provides. Unplug and reconnect it, try another port, plug it directly into the Mac without a hub, or use a hub with its own power adapter.

6Check the error code in Device Manager

If the device works on another PC, the problem is usually a driver. Device Manager shows what Windows found.

Windows Device Manager with Universal Serial Bus controllers expanded, an Unknown USB Device with a yellow triangle, the Uninstall device menu item highlighted and the Code 43 status
  1. Right-click Start and select Device Manager.
  2. Expand Universal Serial Bus controllers, Disk drives or the device's category (Keyboards, Mice and other pointing devices).
  3. Look for an item with a yellow triangle or named Unknown USB Device.
  4. Right-click it, select Properties and read the code under Device status.

The meaning of the most common codes is in the error message table below.

7Uninstall the device and plug it back in

This is the procedure Microsoft recommends for the “USB Device not recognized” error:

  1. In Device Manager, right-click the problem device and select Uninstall device.
  2. Unplug the USB cable.
  3. Wait 1 minute and plug it back in. Windows reinstalls the driver on its own.
  4. If nothing changes, select Action › Scan for hardware changes.

Flash drive or external drive? Uninstall the item under Disk drives, not the controller.

8Reinstall the USB controllers

If no port recognizes anything, the USB controllers may be the problem. Microsoft recommends reinstalling them:

  1. In Device Manager, expand Universal Serial Bus controllers.
  2. Right-click each item and select Uninstall device.
  3. Restart the computer. Windows reinstalls the controllers on its own.

Heads up: a USB mouse or keyboard may stop working until you restart. On a laptop, use the touchpad and built-in keyboard. On a desktop, if the mouse stops, press Ctrl + Alt + Delete, tab to the power icon and choose Restart. If the keyboard stops too, briefly press the power button and turn the PC back on.

9Turn off USB selective suspend

To save power, Windows can turn off USB ports it thinks are idle. If the device disconnects and reconnects or stops responding, turn this feature off:

Windows Power Options window with USB settings expanded and USB selective suspend setting changed to Disabled
  1. Search for Control Panel in Start and open Power Options.
  2. Next to the selected plan, select Change plan settings, then Change advanced power settings.
  3. Expand USB settings › USB selective suspend setting.
  4. Set it to Disabled (on a laptop, for both On battery and Plugged in) and select Apply.

Some Windows 11 computers don't show this option. If yours doesn't, skip to the next step.

10Update Windows and the chipset drivers

  • Open Settings › Windows Update and select Check for updates.
  • Under Advanced options › Optional updates, install any driver updates listed.
  • Microsoft also recommends installing the latest chipset drivers from the support website of your computer or motherboard manufacturer.
  • On a Mac, update macOS in System Settings › General › Software Update.

The flash drive or hard drive shows up but won't open

If the computer plays the connection sound and the device appears in Device Manager but not in File Explorer, the USB device was recognized. The problem is the drive itself:

  • No drive letter: in Disk Management (right-click Start), right-click the volume and select Change Drive Letter and Paths.
  • “Unallocated” or asking to format: don't format if it has important files. Try to recover them first.

The full walkthrough is in the guide USB flash drive not showing up. If you lost files, see how to recover deleted files.

What each error message means

USB error messages, what they mean and what to do
MessageWhat it meansWhat to do
USB device not recognizedThe device didn't respond properly to WindowsSteps 2, 3, 7 and 9
Code 43Windows stopped the device because it reported problemsUninstall and reconnect (step 7); swap cable and port
Code 28The drivers aren't installedUpdate the driver or use Windows Update (step 10)
Code 10The device cannot startUpdate the driver; reinstall controllers (step 8)
Code 45The device isn't connected right nowReconnect; swap port and cable
USB device might need more powerThe port doesn't supply enough powerPlug in the laptop charger; use a powered hub (step 2)
USB Devices Disabled (Mac)The device asked for more power than the port allowsPlug directly into the Mac or a powered hub (step 5)
Nothing happens, no lightFaulty cable, port or deviceQuick test (step 1)

For all other codes, see Microsoft's official list of Device Manager error codes in the sources at the end of this page.

When the port or device is faulty

  • The device doesn't work on any computer: the device or the cable is faulty. Flash drives and hard drives with important files should go to a data recovery service, not be formatted.
  • Only one port fails and the plug feels loose or doesn't fit snugly: the port may be damaged. Use another port until you take the computer in for repair.
  • No port works, even after steps 8 to 10: the motherboard may be faulty. Contact the brand's authorized service center.
  • Is your mouse still acting up even though it's recognized? See mouse not working on PC.

Frequently asked questions

Why did my computer suddenly stop recognizing USB?

The most common causes are a dirty or faulty port, a charge-only cable, too little power from a non-powered hub, a driver stuck after an update, and USB selective suspend turning the port off. Start with the quick test: another port, another cable and another computer.

How do I fix “USB device not recognized” on Windows?

Plug it directly into the computer, without a hub. Then, in Device Manager, uninstall the device with the yellow triangle, unplug the cable, wait 1 minute and plug it back in. If that doesn't work, reinstall the USB controllers and turn off USB selective suspend.

What is USB Code 43?

It means Windows stopped the device because it reported problems. It can be the driver, cable, port or the device itself. Uninstall the device, reconnect it and test with another cable and port. If the error shows up on every computer, the device may be faulty.

The flash drive shows up in Device Manager but not in File Explorer. Now what?

The USB device was recognized, but the drive has no letter or a file system problem. Open Disk Management and assign a letter. If it asks you to format and there are important files, don't format before trying to recover them.

Why does my phone only charge and not show up on the computer?

On Android, unlock the screen and change the USB mode to File transfer in the USB notification. On iPhone, unlock it and tap Trust. On both, use a data cable: many cables only charge.

The front USB port on my PC doesn't work. Is that normal?

Front ports depend on an internal cable to the motherboard and sometimes supply less power. Use the back ports. If the front port never works, the internal cable may be loose and need a technician.

Is it safe to uninstall the USB controllers?

Yes. Microsoft recommends it, and Windows reinstalls the controllers when you restart. Just remember that a USB mouse or keyboard may stop working until the computer restarts.

My Mac doesn't recognize a flash drive. What should I do?

On Macs with Apple silicon, unlock the Mac and click Allow when the accessory alert appears. Check System Settings › Privacy & Security › Allow accessories to connect. Also plug it directly into the Mac, without a hub, and try another cable.

Can USB 3.0 and USB-C cause problems with older devices?

They're generally compatible, but some older devices work better in a USB 2.0 port. If your computer has one, try it. With USB-C, use a good-quality adapter or cable that supports data.

When should I take the computer in for repair?

When no port works after reinstalling the controllers and updating the drivers, when a port is loose or has bent pins, or when the computer shuts down as you plug something into USB. These point to a hardware fault.

More practical solutions in Computer.

Sources

The screens in this guide are illustrations made by Fixfy to show the menu paths. Windows is a trademark of Microsoft; Mac, iPhone and iPad are trademarks of Apple Inc.; Android is a trademark of Google LLC.