Most keyboard keys pop off and snap back on without tools

A stuck, broken, or missing key usually comes off by pulling straight up at a slight angle, and goes back on by pressing down until it clicks. The plastic stem underneath the keycap — the visible part you press — fits into a switch mechanism that holds it in place. You do not need a screwdriver or special equipment for most keyboards. The hardest part is not losing the tiny parts while you work.

The method depends on what kind of keyboard you have. Mechanical keyboards, which have individual switches under each key, are easiest to work with. Laptop keyboards and flat chiclet-style keyboards are harder because the keycaps are glued or welded to the switch, and replacing them often means replacing the whole switch or keyboard. This guide covers mechanical keyboards, which are what most desktop users can actually repair.

Key Takeaways

  • Mechanical keyboard keys pull straight up and snap back down; most need no tools and take under a minute to replace.
  • Laptop and flat keyboard keys are usually permanent and cannot be replaced without replacing the entire switch or keyboard.
  • You can buy replacement keycaps in bulk sets or single keys from retailers like Amazon, Etsy, or specialty keyboard shops.
  • Keep the old keycap and stem if you remove them, because losing either one makes the key unusable.
  • If the switch underneath is broken, you will need to replace the switch itself, which requires a soldering iron on most mechanical keyboards.

How to remove a keycap from a mechanical keyboard

Place your keyboard on a flat surface and position your fingers on either side of the key you want to remove. Pull straight up with steady, even pressure. Most keycaps come off in one smooth motion. If it does not budge after a gentle pull, try rocking it slightly side to side while pulling, but do not yank hard — you can crack the stem inside.

Once the keycap is off, you will see the switch underneath. A mechanical switch has a stem (the part the keycap sits on) and a housing (the plastic or metal box around it). Look inside the keycap to see if anything broke. If the stem snapped off inside the switch, you will need to replace the entire switch, not just the keycap. If the keycap itself cracked but the stem is intact, you only need a new keycap.

Set the old keycap and any loose pieces in a small container so you do not lose them. Even if you are replacing the key, keeping the original helps you match the size and shape when ordering a replacement.

Choosing and buying a replacement keycap

Keycaps come in different sizes and stem types. The most common stem type on mechanical keyboards is Cherry MX, which fits most switches made by Cherry, Gateron, Kailh, and other major brands. Before you buy, check your keyboard's documentation or search the model number online to confirm the stem type. If you buy the wrong stem type, the keycap will not fit.

Keycap sets are sold by size and profile. Size refers to the row — the spacebar is the largest, and keys in the top row are smaller. Profile refers to the shape and angle of the keycap. Common profiles are OEM (slightly curved), Cherry (flatter), and DSA (uniform height). If you are replacing a single key, match the profile and row of the original as closely as you can. Most retailers let you buy single keycaps instead of full sets, though sets are cheaper per key.

You can find replacement keycaps on Amazon, Etsy, Mechanical Keyboards dot com, and specialty shops like Drop or Keychron. Prices range from two dollars for a basic plastic keycap to fifteen dollars or more for artisan resin keycaps. For a standard replacement, expect to pay three to eight dollars.

How to install a new keycap

Line up the stem of the new keycap with the stem of the switch. The stem has a cross or plus shape, and it fits into a matching slot on the keycap. Position the keycap directly above the switch and press down firmly until you hear or feel a click. The keycap should sit flush with the surrounding keys and not wobble.

If the keycap does not click down, stop and check the alignment. Pressing too hard on a misaligned keycap can crack the stem. Rotate the keycap ninety degrees and try again. Once it is seated, press the key a few times to make sure it moves smoothly and returns to its resting position.

What to do if the switch itself is broken

If the stem snapped off inside the switch, or if the key does not register when you press it, the switch is damaged and the keycap replacement will not fix it. You will need to replace the switch. On most mechanical keyboards, switches are soldered to the circuit board, which means you need a soldering iron and some skill to remove and install a new one.

If you do not have soldering experience, take the keyboard to a repair shop or contact the manufacturer. Some keyboards, called hot-swap keyboards, have switches that pull out without soldering. Check your keyboard's manual to see if it is hot-swap. If it is, you can buy a replacement switch for ten to twenty dollars and swap it yourself by pulling out the old switch and pressing in the new one.

Replacing keys on laptop and flat keyboards

Laptop keyboards and chiclet-style keyboards have keycaps that are glued or welded to the switch underneath. You cannot straightforward pull them off and replace them. If a key is broken or missing, your options are limited.

The first option is to contact the laptop or keyboard manufacturer and order a replacement keycap assembly. This usually costs fifteen to forty dollars and requires removing the keyboard from the device, which may void your warranty. The second option is to replace the entire keyboard, which costs thirty to one hundred dollars depending on the model. The third option is to use an external mechanical keyboard instead, which is often cheaper than repairing the built-in one.

Preventing key damage and keeping spares

Keys break most often from heavy typing, spilled liquid, or pulling too hard when removing them. To extend the life of your keyboard, clean it regularly with compressed air to remove dust and debris. If you spill liquid on it, turn it off when ready and let it dry for at least twenty-four hours before using it again.

If you use your keyboard heavily, consider buying a spare set of keycaps or a few extra keys in the sizes you use most. Spacebar, enter, and backspace wear out faster than other keys because you press them more often. Keeping spares on hand means you can replace a worn key before it breaks completely.

Frequently Asked Questions

Can I replace a key on a laptop keyboard?

Not easily. Laptop keycaps are glued or welded to the switch and cannot be removed and replaced like mechanical keyboard keys. You would need to order a replacement keycap assembly from the manufacturer or replace the entire keyboard. For most laptops, an external keyboard is a cheaper solution.

What if I lost the keycap but the switch still works?

You can buy a replacement keycap that matches your keyboard's stem type and row size. Check your keyboard's manual or search the model online to find the stem type, then order a single keycap from Amazon, Etsy, or a specialty keyboard shop. Installation takes less than a minute.

Do I need a soldering iron to replace a key?

No, not for the keycap itself. You only need a soldering iron if the switch underneath is broken and you want to replace it. If the keycap is cracked but the switch works, you just pull off the old keycap and press on a new one. Hot-swap keyboards do not need soldering even for switch replacement.

How much does a replacement keycap cost?

A single keycap usually costs two to eight dollars for a standard plastic replacement. Artisan or specialty keycaps can cost fifteen dollars or more. Full keycap sets range from twenty to one hundred dollars depending on the material and design. Prices vary by retailer and availability.

What is the difference between Cherry MX and other stem types?

Cherry MX is the most common stem type on mechanical keyboards and fits keycaps designed for Cherry, Gateron, Kailh, and similar switches. Other stem types like Topre or Kailh BOX require keycaps made specifically for them. Buying the wrong stem type means the keycap will not fit. Check your keyboard's documentation to confirm which type you have.