USB Port Not Working After Unplugging and Plugging Back In

I am using Windows 10 and have tested this problem on the Uno, Nano, and the Mega. So when I start the computer the USB port works fine and the Arduino can be detected. But after a few times where unplug the USB cable then plug it back in the computer can’t detect the Arduino anymore. Why does this happen and how do I stop it from happening?

Please READ THIS POST to help you get the best out of the forum.


These steps may also save you some unnecessary time and effort in the forum.

  • Always provide as much detail as possible to your issue it may be important.

  • If applicable provide your SKETCH inside CODE TAGS ( </> ) or a CREATE share link.

  • If applicable provide a schematic even if hand drawn.

  • Check you have a COMMON GROUND where required.

  • Where possible use USB 2.0 ports or a USB 2.0 POWERED HUB to rule out USB 3.0 issues.

  • Try other computers where possible.

  • Try other USB leads where possible.

  • You may not have the correct driver installed. CH340/341 or CP2102

  • There may be a problem with the board check your wiring first.

  • Remove any items connected to pins 0 and 1.

  • Ensure you turn off any additional security / antivirus just to test.

  • There may be a problem with the PC try RESTARTING it.

  • You may be selecting the wrong COM port.

  • Avoid cloud/network based installations where possible OR ensure your Network/Cloud software is RUNNING.

  • Clear your browsers CACHE.

  • Close the IDE before using any other serial programs.

  • Preferably install IDE’s as ADMINISTRATOR or your OS equivalent

Performing the above actions may help resolve your problem without further help.



I’ve seen similar problems with memory sticks or my digital camera on Win 10.

I sometimes have to plug in and out 2 - 3 times to get the system to ‘see’ it, other times it’s OK first time.

Mine is still on version 1809, build 17763.864 rather than the newer version 1903.