Keyboard stops registering when the cable bends?
Find out whether a bent keyboard cable, loose USB port, or software issue is dropping key presses, then test safely and decide what to replace.
A key works normally until the keyboard cable shifts, then letters stop appearing or the whole keyboard disconnects. That pattern often points to a damaged cable or a loose connection, but a browser test can help you check which keys stop registering and whether the problem follows the cable.
Use the Keyboard Test to watch key presses arrive as you type. Move the cable only slightly while testing. Do not sharply bend, twist, or pull it to make the fault happen.
Test the keyboard and cable
- Open the Keyboard Test on the computer where the problem occurs.
- Press the keys that have been unreliable several times, one at a time. Check that each press registers in the test.
- With the keyboard resting on the desk, gently shift the cable near the keyboard and near the USB plug. Watch whether keys stop registering. Use only the small movement that might happen during ordinary use.
- If the keyboard has a detachable cable, try a known-good replacement cable that supports data, not just charging. Otherwise, plug the keyboard directly into another USB port, without a hub or dock, and repeat the test.
Test a few keys in different areas, not just the key that first failed. If the keyboard disconnects, wait a moment for it to reconnect before continuing. Stop if the cable or connector feels hot, looks damaged, or requires force to stay connected.
What the result means
Keys stop registering when the cable moves
If the test stops showing presses as you gently move the cable, the connection is intermittent. The cable, its strain relief (the reinforced section where it meets the keyboard), or a connector may be damaged. A software setting is less likely if the failure starts and stops with cable movement.
Several keys fail at the same time
A group of keys disappearing together can mean the keyboard briefly loses its connection or that a shared part inside it has a fault. If all keys stop responding, check the plug and USB port first. If only a group of nearby keys fails and cable movement makes no difference, the fault may be inside the keyboard rather than in the cable.
The same key fails even when the cable stays still
A single key that misses presses every time may have a worn switch, debris, or a problem in the keyboard's internal wiring. Test other keys and compare the keyboard on another computer. For more on a persistent individual key fault, see how to find a key that sometimes stops working.
The test registers presses, but the wrong characters appear
The keyboard is sending key events, but the selected layout or an input setting may change what appears on screen. A browser test checks that keys register, not whether the layout matches the labels on your keyboard. If the problem is incorrect characters rather than missing presses, check your keyboard layout.
How to fix it
- Give the cable room to move. Remove tight bends, heavy objects, and tension from the cable. Place the keyboard so its cable can reach the computer without being stretched or pinched by a desk edge.
- Reconnect the keyboard directly. Unplug and reconnect it, then try a different USB port on the computer. If it was connected through a hub, monitor, or dock, test it directly in the computer to rule out that connection.
- Try a compatible replacement cable. For a keyboard with a removable cable, use a known-good data cable with the correct connector. Some cables charge devices but do not carry data. Do not force a connector that does not fit.
- Check keyboard accessibility settings. On Windows 11, open Settings › Accessibility › Keyboard and check whether Filter Keys is on. On macOS, open System Settings › Accessibility › Keyboard and check Slow Keys. These options can change how presses are accepted, but they will not usually explain a failure that happens only when the cable moves.
- Check the keyboard layout if characters are wrong. On Windows 11, open Settings › Time & language › Language & region. On macOS, open System Settings › Keyboard › Text Input and review the selected input source. A layout mismatch changes characters, but does not normally make the cable disconnect.
- Restart and test again. A restart can clear a temporary USB or system problem. If the fault still follows the cable or keyboard, test it on another computer before deciding which part needs replacement.
If keys are typing incorrectly rather than disappearing, the cause may be a setting or an application. This guide to keyboard faults versus typing settings can help separate those cases.
When the cable or keyboard needs replacement
If a detachable cable fails on more than one computer, replace it with a compatible data cable. If another known-good cable fixes the keyboard, the original cable was likely the problem. If the keyboard still disconnects with a replacement cable and in different USB ports, the keyboard's socket or internal electronics may be damaged.
For a keyboard with a permanently attached cable, repeated dropouts when the cable moves are a strong reason to stop using it. A damaged cable can become less reliable over time. If the keyboard is under warranty, contact the manufacturer rather than opening it. Otherwise, compare the repair cost with the price of a replacement keyboard.
What a browser test can and cannot show
The Keyboard Test checks which key events the browser receives. It cannot inspect the cable itself or identify the exact damaged part. Some keys, including Fn and operating system shortcuts, are handled by the computer before they reach a web page, so they may not appear in the test. Focus on ordinary letter, number, and punctuation keys when checking an intermittent connection.
A cable-related fault should be repeatable with gentle movement, not force. If the keyboard disconnects or the cable shows visible damage, stop testing and replace or repair the faulty part.
