Push the switch straight down until the two retention clips on its top and bottom faces clear the plate, then lift it out — pulling at an angle or yanking the keycap still attached is what breaks clips and tears hot-swap sockets. Everything else is preparation, tooling, and knowing whether your board will even let you do it.
A mechanical keyboard is one where each key sits on an individual switch with its own spring and its own metal contact leaf, rather than on a rubber dome sheet with a common membrane underneath. That matters here because the switch is a discrete part. On a hot-swap board it plugs into a socket soldered to the PCB and can be removed by hand. On a soldered board it cannot — not without a desoldering iron, flux, and a willingness to accept that you may lift a pad. The single most important step in this whole job happens before you touch anything: find out which one you own.
Turn the board over and look for a small badge, a model number, or a sticker. Failing that, pull one keycap and look at the switch housing. If the plate around the switch has a visible notch or cutout and the switch sits in something that looks like a plastic cradle, you are probably hot-swap. If the switch housing meets the plate flush with no gap and the pins disappear into solder joints, you are not. Manufacturers usually advertise hot-swap capability loudly because it sells boards, so a quick search of the model name will settle it in under a minute. Do this before buying a switch puller, because on a soldered board the puller is useless.
Gather the right tools and clear the deck
You need a switch puller — the U-shaped wire or plastic tweezer type, not a keycap puller, which is a different tool with a different job. Keycap pullers grip the cap; switch pullers reach past the cap and hook the housing. Using the wrong one is how people crack keycap stems. You also want a small flathead screwdriver or a plastic spudger for prying stubborn clips, a clean lint-free cloth, isopropyl alcohol at around 90 percent or higher, and a shallow container with compartments so switches do not roll off the desk and get lost.
Unplug the keyboard. Not sleep, not lock — unplug the USB cable or flip the power switch off and disconnect. A hot-swap socket is a mechanical contact, and while you are unlikely to damage anything electrically by pulling a switch on a live board, a stray short across the socket pads while you are poking around with metal tools is a real risk and an avoidable one. Unplug it.
Then remove the keycaps from every switch you intend to pull. Work them off with the keycap puller, straight up, one at a time. Do not dump them in a pile — lay them out in rows in the order you removed them, because re-seating a 104-key set from a jumbled heap is an hour of your life you do not get back. Stabilizer keys, the long ones like spacebar and shift, have wire stabilizers underneath; take those caps off gently and note which wire goes where before you disturb it.
This is also the moment to deal with the dirt. A mechanical keyboard accumulates crumbs, hair, and skin flakes in the gaps between switch housings, and pulling switches exposes all of it. Turn the board upside down and shake it out over a bin, then go at the plate with a soft brush. For sticky residue on the plate or the surrounding case, a cloth barely dampened with isopropyl alcohol works; do not pour or spray liquid into the board, and do not let it run into the sockets. Compressed air is fine for the loose debris but will not shift anything greasy, and it can drive dust deeper into the case if you blast at an angle. If you are cleaning the keycaps themselves, warm water with a drop of dish soap, a soak of a few minutes, a rinse, and a full air dry before they go back on — never put them back damp.
Release the clips without levering the socket
The switch is held in two places: the plate, by two clips moulded into the top and bottom of the housing, and the PCB, by the socket or by solder. On a hot-swap board the socket grips the two metal pins with a light friction fit. You are fighting the plate clips, not the socket.
Seat the jaws of the switch puller under the top and bottom edges of the housing — the same two faces that carry the clips — and squeeze so the clips are pressed inward, toward the centre of the switch. Then pull straight up. Straight up is the whole technique. The clips are small plastic tabs and they release cleanly when pushed in; they snap off when the switch is rotated or pulled at an angle, and a snapped clip means the switch will never sit firmly in the plate again. You will feel a distinct click as each clip clears, and the switch should rise a millimetre or two before the pins release. If it does not move at all, you have not pressed the clips in far enough — reset, squeeze harder, try again. Do not escalate to force.
Once the switch is free of the plate, keep pulling gently and steadily until the pins slide out of the socket. They come out with light resistance and no drama. If you feel a grinding or a hard stop, stop and look. On a hot-swap board, a bent pin is the usual cause, and continuing to pull will bend it further or damage the socket's internal contact. Wiggle is not the answer; straightening the pin with fine tweezers is.
Set the switch aside in your container, oriented the same way as the others if you plan to reuse them, and move to the next. Work in rows across the board rather than jumping around, so you do not lose track of which positions are empty.
Handle the board you cannot pull from
If the switches are soldered, there is no safe pull. The pins are bonded to the PCB with solder, and pulling the switch will either tear the pin off the switch housing or rip the copper pad off the board — the second is a repair, not a setback. Removing soldered switches means desoldering each joint with a temperature-controlled iron and a solder sucker or desoldering pump, and even done well it is slow, tedious, and carries a real chance of lifting a pad on a board that was not designed for repeated rework. On a mass-produced soldered board, the practical answer is usually that the switches stay where they are.
What you can still do on a soldered board is clean it. Keycaps come off the same way, the plate and case clean up the same way, and if the switches themselves feel gritty, the fix is usually a few drops of a plastic-safe lubricant applied to the stem from above with the keycap removed, worked in by pressing the key repeatedly. It is a compromise, not a replacement for a proper teardown, and over-lubricating will attract more dust than it repels.
There is a related trap worth naming: not every board advertised as hot-swap accepts every switch. The socket and the switch's pin layout have to match. Most modern hot-swap boards take three-pin and five-pin switches, but some take only three-pin, and forcing a five-pin switch in will bend the two extra plastic locating legs. Check the board's spec before you buy replacements. Choosing a board in the first place comes down to the same question — if you want to change switches later without a soldering iron, hot-swap is the feature that decides it, and it is worth more than any switch brand printed on the box.
When you reinstall, line the pins up with the socket holes, press down firmly and evenly until the clips engage with a click on both faces, and test the key before you put the cap back on. A switch that sits proud of the plate has a clip that did not catch. Pull it and start again — it is a ten-second fix now and a cracked housing if you leave it.