Blog

External keyboard works only after reconnecting

Find out whether the keyboard, cable, USB port, wireless link, or power settings are causing the problem, then work through fixes that keep it connected.

Ryan MitchellHardware tests 5 min read

Your external keyboard stops responding, but unplugging it and plugging it back in brings it to life. That points to a connection that is dropping or failing to wake, though a faulty cable, port, battery, or keyboard can cause the same pattern.

Use the Keyboard Test to check whether key presses reach the browser before and after the problem happens. Then narrow down whether the cause is the keyboard, its connection, or the computer.

Check the keyboard before and after it stops

  1. Open the Keyboard Test while the external keyboard is working. If it has stopped responding, use your laptop's built-in keyboard or a mouse to open the test.
  2. Press several letter keys, a number key, and a modifier such as Shift. Confirm that the test shows each press.
  3. Wait for the keyboard to stop working, or put the computer to sleep and wake it if that reliably triggers the problem. Test the same keys again.
  4. If the keys no longer register, reconnect the keyboard and repeat the test. Note whether the keyboard returns immediately, only after a few seconds, or only after restarting the computer.
  5. For a wireless keyboard, check its battery and test it with the USB receiver connected directly to the computer, if it has one. For Bluetooth, note whether it disconnects from the computer or remains connected but stops typing.

The test checks whether key events arrive in the browser. It cannot tell you whether a USB port is losing power or whether a Bluetooth radio is at fault, so the pattern before and after reconnecting matters.

What the result means

Every key registers after reconnecting

The keyboard can send key presses, at least when the connection is fresh. Look first at a loose cable, unreliable port or hub, wireless signal, or a power-saving setting. If the same problem returns after sleep, focus on the computer's connection and wake behavior.

Some keys do not register, even after reconnecting

A key may be physically failing, stuck, or blocked by debris. Test the same keys in another app too. If they fail in the Keyboard Test on more than one computer, the keyboard itself is the likely cause.

No keys register until you unplug and reconnect

The computer may be losing the keyboard connection, or the keyboard may not be waking correctly. A direct connection to a different port helps separate a computer port or hub problem from a keyboard or cable problem.

It works over USB but drops over Bluetooth

The key switches are probably not the issue. Check the battery, Bluetooth pairing, and distance from the computer. If the keyboard uses a USB receiver, test that connection separately from Bluetooth.

How to fix it

  1. Connect it directly to the computer. Remove any USB hub, dock, extension cable, or monitor port from the connection. Try another USB port, and check that the plug fits firmly. If the cable detaches from the keyboard, try a known-good compatible cable.
  2. Check the wireless connection. Replace or recharge the keyboard battery. For a USB receiver, plug it into a nearby port rather than a hub. For Bluetooth on Windows 11, open Settings › Bluetooth & devices › Devices and check that the keyboard is listed. On macOS, open System Settings › Bluetooth and check its connection. If needed, remove the keyboard from the device list and pair it again using the keyboard maker's instructions.
  3. Check whether sleep triggers the failure. If the keyboard works until the computer sleeps, test it with sleep disabled temporarily. On Windows 11, open Settings › System › Power & battery › Screen and sleep. On macOS, check System Settings › Lock Screen for the display and sleep options available on your Mac. Restore your usual setting after the test.
  4. Check USB power management in Windows. Open Device Manager › Universal Serial Bus controllers. For a USB hub entry, open Properties › Power Management and, if present, clear Allow the computer to turn off this device to save power. Restart and test again. The tab or option may not be available for every device.
  5. Check accessory permission on a Mac. On Apple silicon Mac laptops, open System Settings › Privacy & Security and review Allow accessories to connect. If the Mac prompts you to allow the keyboard, approve it. This setting may not appear on every Mac.
  6. Restart and update the computer. A restart can reset a USB or Bluetooth connection that did not recover properly. If the problem continues, install available operating system updates and check the keyboard maker's support information for a firmware or driver update for your exact model.

When the keyboard or cable may be faulty

Test the keyboard on another computer, preferably with a different cable and without a hub. If it still stops responding there and reconnecting is the only way to restore it, the keyboard, its cable, or its wireless receiver may be failing. A cable that cuts out when gently moved is a strong clue, but do not bend or pull it forcefully.

If a different keyboard works reliably in the same port, the original keyboard is the likely problem. If several keyboards fail in one port but work elsewhere, the computer's port or internal connection may need repair. Check the warranty before replacing a built-in wireless receiver or opening the computer.

Why reconnecting can temporarily help

Unplugging and reconnecting makes the computer detect the keyboard again and rebuild the connection. That can clear a temporary communication or wake-up failure, but it does not identify what caused it. Compare a direct USB port, another cable, a different computer, and the behavior after sleep to find which part changes the result.