How to Identify and Troubleshoot Dead Keyboard Switches

There is nothing more frustrating than building a brand new custom mechanical keyboard, or sitting down at your trusty daily driver, opening a tester app, and realizing one specific key completely refuses to register no matter how hard you press it.

Before you panic, assume your expensive PCB is ruined, or throw the keyboard away, you need to isolate the problem. Keyboard electronics are surprisingly simple, and 95% of dead key issues can be diagnosed and fixed at home with basic tools. This guide will walk you through the hardware troubleshooting pipeline step-by-step.

Step 1: The Matrix Test (Single Key vs. Whole Row)

Keyboards do not wire every single key individually to the processor. Instead, they use a Keyboard Matrix—a grid of electrical rows and columns. When you press a key, it bridges a specific row and column, telling the microcontroller exactly which coordinate was activated.

Open kbtester and test every single key surrounding the dead one. The results will immediately tell you where the hardware failure is located:

Visualizing a Keyboard Matrix Trace Failure
Severed Trace = Whole Row Dead

Step 2: Check for Bent Pins (Hot-Swap Boards)

If you have a hot-swappable keyboard and isolated the issue to a single key, a bent pin is the culprit 9 times out of 10. When pushing a new switch into the PCB, if the switch is slightly misaligned, the thin copper leaf (pin) underneath will miss the socket hole entirely and crush flat against the bottom housing.

Take your switch puller, pop the dead switch out, and turn it upside down. Mechanical switches have two metal pins: a thicker, rigid center pin, and a thinner, fragile offset pin. Usually, it is the thinner pin that folds over.

Anatomy of a Bent Switch Pin
Healthy Pin Crushed Pin

The Fix: Take a pair of precision metal tweezers or needle-nose pliers. Gently grab the bent pin and bend it back to a perfect 90-degree angle. Support the base of the pin with your fingernail so you do not snap it off at the root. Once straight, carefully reseat it into the keyboard.

Step 3: The Tweezers / Paperclip Test

If the pins are perfectly straight, but the key still will not type, we need to find out if the switch is internally defective, or if the keyboard's PCB socket is broken. You can bypass the switch entirely using a piece of conductive metal.

  1. Remove the switch completely from the board.
  2. Ensure the keyboard is plugged in, and keep your tester app open on your screen.
  3. Take a pair of metal tweezers, a U-shaped piece of wire, or an unbent metal paperclip.
  4. Carefully poke the two ends of the metal into the two small hot-swap socket holes on the PCB simultaneously.
[Metal Object] bridges [Pin Hole 1] + [Pin Hole 2] = Circuit Closed

The Verdict: If the key lights up on your screen when you bridge the socket, your PCB is completely healthy. Your switch has internal leaf damage or dust buildup; simply throw the switch in the trash and install a new one. However, if bridging the socket does absolutely nothing, your switch is fine, and the PCB/Socket is the problem.

Step 4: Diagnosing Ripped Hot-Swap Sockets

If the paperclip test failed, you need to open your keyboard case and inspect the back of the PCB. Hot-swap sockets (Kailh/Gateron sockets) are soldered onto the board using two small metal surface-mount pads.

Common Mistake: If you push a switch into a board with too much force without supporting the back of the PCB with your hand, the downward pressure can rip the entire hot-swap socket clean off the circuit board.

Look at the back of the board where the dead key is located. If the plastic socket is dangling, or if the silver solder pad has been ripped up, leaving a brownish-green hole, the electrical connection is gone. To fix this, you must solder a small piece of jumper wire from the broken socket leg to the nearest diode or connecting trace on that matrix row.

Step 5: Soldered Boards, Diodes, and Multimeters

If you are working with a soldered PCB (no hot-swap sockets), dead keys usually happen due to one of two reasons:

If you own a digital multimeter, you can objectively test your hardware. Put your multimeter in Continuity Mode (the icon that looks like soundwaves). Touch the two probes to either side of the switch pins and press the key down. If the multimeter beeps (indicating resistance R ≈ 0 Ω), the switch works perfectly, and the fault lies deeper in your PCB traces or diodes.