Remove the broken or stuck key first

The first step is to take off the keycap—the plastic piece you press with your finger. Most modern keyboards use one of two systems: a scissor mechanism (flat, low-profile keys found on laptops and many desktop boards) or a mechanical switch (taller keys that click or feel springy).

For a scissor-switch key, place a flat tool like a butter knife or plastic spoon under one edge of the keycap and gently pry upward. Work your way around the edges rather than forcing one side—the keycap clips on all four sides and will come free once you've released the tension. For a mechanical keyboard, most keycaps straightforward pull straight up. Grip the key firmly and pull directly upward with steady pressure; it should come off in one or two seconds without much force.

Once the keycap is off, look underneath. You may see small plastic stabilizer bars on larger keys like the spacebar or shift key. These are normal and will stay in place. Set the keycap aside in a safe spot where you won't lose it.

Key Takeaways

  • Scissor-switch keys require gentle prying around all four edges, while mechanical keys pull straight up with steady upward pressure.
  • Replacement keycaps for mechanical keyboards are widely available and cost between $5 and $30 depending on material and design.
  • Scissor-switch replacements are harder to find because they are keyboard-specific, so check your keyboard's manual or manufacturer website first.
  • Most keycap replacements take under five minutes and require no tools beyond your fingers or a plastic spoon.
  • If the switch itself is broken (not just the keycap), mechanical keyboards allow you to swap the entire switch, but scissor keyboards usually require professional repair.

Decide whether you need just the keycap or the whole switch

Before you order a replacement, figure out what actually broke. If the keycap is cracked, faded, or the letter wore off, you only need a new keycap. If the key doesn't register when you press it, feels mushy, or doesn't spring back up, the problem is likely the switch underneath, not the cap.

On a mechanical keyboard, you can replace the switch itself—the small component that sits under the keycap. On a scissor-switch keyboard (most laptops and budget desktop boards), the switch and keycap are harder to separate, and replacing the switch usually means taking the whole keyboard apart. For scissor keyboards, it's often simpler to replace the entire keyboard rather than repair one key.

Find the right replacement keycap for mechanical keyboards

If you have a mechanical keyboard and only the keycap is damaged, replacement keycaps are straightforward to find. Mechanical keyboards use a standard mounting system called a stem, and most keycaps made in the last ten years will fit any mechanical keyboard—though the fit may be slightly loose or tight depending on the brand.

Search for keycaps on Amazon, Etsy, or specialty keyboard sites like Mechanical Keyboards or Drop. You can buy single keycaps or full replacement sets. A single keycap typically costs $3 to $8, while a full set of 104 keycaps (enough for a standard keyboard) runs $15 to $30. If you want an exact color or letter match, note your keyboard's brand and model, take a photo of the key, and search for "keycap replacement [your keyboard model]."

When ordering, check that the keycap size matches your key. Standard letter keys are all the same size, but the spacebar, shift, enter, and backspace keys come in different widths. Most sellers list the size in millimeters or as a multiplier—a "6.25x spacebar" means it's 6.25 times the width of a standard key. Measure your broken key or check your keyboard's manual if you're unsure.

Find the right replacement for scissor-switch keyboards

Scissor-switch keycaps are harder to source because they vary by keyboard model. A keycap for a Dell laptop won't fit an HP, and a keycap from a five-year-old keyboard may not fit a current model from the same brand.

Start by checking your keyboard's manual or the manufacturer's website. Search for "[your keyboard brand and model] replacement keycap" or "[your keyboard brand] parts." Many manufacturers sell individual keycaps directly, though shipping may take one to two weeks. If the manufacturer doesn't sell replacements, try eBay or specialty keyboard repair sites—search the exact model number printed on the bottom of your keyboard.

If you can't find a match, you have two options: buy a used keyboard of the same model on eBay and harvest the keycap, or replace the entire keyboard. A replacement keyboard of the same brand and model usually costs $30 to $80.

Install the new keycap on a mechanical keyboard

Installing a new keycap on a mechanical keyboard takes about 30 seconds. Hold the keycap with the stem (the small post on the underside) pointing downward. Line it up with the switch stem underneath—it should slide on smoothly without forcing. Push down gently until you hear or feel a small click. The keycap is now seated and ready to use.

Press the key a few times to make sure it moves freely and springs back. If it feels stuck or doesn't return to the resting position, remove it and check that the stem is aligned correctly. Debris or a bent stem can prevent the keycap from seating properly.

Install the new keycap on a scissor-switch keyboard

Scissor-switch keycaps are trickier because the stabilizer bars underneath must align with slots in the keycap. Look at the underside of the new keycap and locate the two small rectangular slots. These slots must line up with the plastic bars sticking up from the keyboard.

Position the keycap so the slots face the stabilizer bars, then lower it straight down. You should feel slight resistance as the bars slide into the slots. Once the keycap is fully seated, press down firmly on all four corners to snap it into place. Press the key several times—it should feel firm and return to center each time.

If the key feels loose or wobbles, remove it and check that the stabilizer bars are straight and not bent. Bent bars are a sign the keyboard itself is damaged and may need professional repair.

Replace the entire switch on a mechanical keyboard (if needed)

If the switch itself is broken, you can swap it out on most mechanical keyboards. First, remove the keycap as described above. Then look for a small clip or latch on the side of the switch—most mechanical switches have two clips, one on each side. Push these clips inward and pull the switch straight up. It should come free in one or two seconds.

Insert the new switch by aligning it with the empty slot and pressing down until you hear a click. The clips will snap into place automatically. Then install the keycap on top of the new switch. Replacement switches cost $0.50 to $3 each depending on the type and brand.

Not all mechanical keyboards allow switch replacement—some have switches soldered directly to the circuit board. Check your keyboard's manual or search "[your keyboard model] hot-swappable" to confirm before ordering a replacement switch.

Frequently Asked Questions

Can I use any keycap on my mechanical keyboard?

Most keycaps fit most mechanical keyboards because they use a standard stem. However, the fit may be slightly loose or tight, and the height or profile may look different from your original keys. For the best match, buy keycaps labeled for your keyboard's switch type (Cherry MX, Gateron, Kailh, etc.) or buy a full set designed for your keyboard model.

What if I lost the keycap and can't find a replacement?

For mechanical keyboards, any keycap of the correct size will work as a temporary fix, even if the color or letter doesn't match. For scissor keyboards, you may need to replace the entire keyboard if the manufacturer no longer sells individual keycaps. Check eBay for used keyboards of the same model first.

How do I know if my keyboard is mechanical or scissor-switch?

Mechanical keyboards have taller keys that feel springy or clicky and make an audible sound when pressed. Scissor keyboards have flat, low-profile keys that feel softer and quieter. If you're unsure, look under a keycap—mechanical switches are visible as small colored boxes, while scissor switches are flat plastic mechanisms.

Do I need to turn off my keyboard before replacing a key?

No. You can replace a keycap or switch while the keyboard is plugged in and powered on. The keyboard will continue to work normally, and there is no risk of electrical damage. However, unplug the keyboard if you're replacing the entire switch to avoid accidentally pressing keys while you work.

Why does my new keycap feel different from the old one?

Different keycap materials feel different—ABS plastic is smooth and shiny, while PBT plastic is textured and matte. Keycap height and profile also vary by brand. These differences are normal and don't affect how the keyboard works. If the new keycap feels loose or wobbles, the stem may not be aligned correctly—remove it and reseat it.