Installing a mechanical keyboard into a custom case improves typing comfort, aesthetics, and protection. This guide walks you through fitting your keyboard’s PCB and plate into a compatible case, ensuring proper alignment and secure mounting without damaging components.

What You'll Need

  • Mechanical keyboard PCB with stabilizers and switches installed
  • Keyboard plate (if not integrated)
  • Compatible keyboard case (top, bottom, and internal mounting points)
  • Screw set matching the case’s mounting holes (usually M2 or M3)
  • Screwdriver (Phillips #0 or flathead, depending on screw type)
  • Tweezers (for handling small parts and stabilizers)
  • Isopropyl alcohol and lint-free cloth (for cleaning contact points)
  • Optional: switch lubricant, films, or dampening materials (if modifying)

Step-by-Step

  1. Prepare a clean, static-safe workspace. Use an anti-static mat or work on a wooden table, and ground yourself by touching a metal object before handling the PCB.
  2. Remove the keyboard from any existing case. If switches are hot-swappable, gently pull them out using a switch puller to avoid bending pins. Keep switches organized in a tray.
  3. Inspect the PCB and plate for debris, dust, or manufacturing residue. Clean both surfaces with isopropyl alcohol and a lint-free cloth, then let dry completely.
  4. Place the plate into the PCB, aligning the switch holes. Ensure the plate sits flat and does not warp the PCB. For screw-in stabilizers, verify they are securely fastened to the plate before proceeding.
  5. Insert switches into the plate and PCB one row at a time. Press each switch straight down until the top housing is flush with the plate and the pins are fully seated in the PCB sockets. Check for bent pins underneath and straighten them with tweezers if needed.
  6. Once all switches are installed, test each key for connectivity using a keyboard tester or by connecting the PCB to a computer and pressing every key. Confirm no keys are dead or registering multiple times.
  7. Position the assembled PCB and plate into the bottom half of the case. Align the mounting holes on the PCB/stabilizers with the corresponding posts or screw holes in the case.
  8. Insert screws through the case into the PCB mounting points (or into standoffs if used). Tighten screws in a crisscross pattern to avoid warping the board—start with opposite corners, then move to adjacent ones. Do not overtighten; stop when resistance increases slightly.
  9. If your case includes a gasket mount, ensure the rubber or silicone gasket is properly seated between the PCB/plate and the case walls before final tightening.
  10. Place the top case half onto the bottom, aligning any clips, screws, or magnetic points. Secure it using the provided fasteners, again tightening evenly to prevent stress on the case.
  11. Reconnect the USB cable and test the keyboard again. Check for any loose rattles, uneven key heights, or unresponsive keys caused by misalignment or debris.
  12. If everything functions correctly, apply any final touches such as attaching feet, cable combs, or custom badges.
  13. Common Mistakes

    • Overtightening screws, which can crack the PCB or warp the case, leading to typing inconsistencies or damage.
    • Forgetting to remove the protective film from the case interior, causing switches to sit unevenly or not seat fully.
    • Installing switches backward or at an angle, resulting in pins not connecting properly with the PCB.
    • Overlooking debris inside switch sockets, which can prevent full insertion and cause intermittent connectivity.
    • Misaligning the plate with the PCB, especially in keyboards with offset or split layouts, causing switches to bind or not seat.

    Tips

    • Use a switch opener to lubricate switches before installation for smoother keystrokes—do this only if switches are desoldered or hot-swappable.
    • Place a thin piece of masking tape over the PCB’s backside during screw installation to prevent scratches from the screwdriver.
    • Work in a well-lit area with a magnifying lamp if needed to see small pins and alignment marks clearly.
    • Keep screws organized in a magnetic tray or labeled container to avoid losing them or using the wrong size.
    • Test the keyboard after each major step (after switch install, after case mounting) to catch issues early.

    Troubleshooting

    • Keys not registering: Disconnect the USB, inspect the PCB for solder bridges or debris under the non-working switch. Reseat the switch and test again. If using hot-swap sockets, check for bent or collapsed socket clips.
    • Uneven key height or sticking: Remove the keycap and inspect the switch stem for obstruction. Ensure the switch is fully seated and not tilted. Check for case flash or excess plastic interfering with stem movement.
    • Rattling inside the case: Power down and open the case. Locate loose screws, stray wires, or excess lubricant. Tighten any loose mounts and clean residue with isopropyl alcohol.
    • USB connection unstable: Try a different cable and port. Inspect the USB connector on the PCB for loose solder or damage. If the port feels loose, it may need re-soldering—only attempt if experienced with electronics.
    • Case won’t close properly: Recheck that the PCB and plate are fully seated and not warped. Ensure no switch is protruding above the plate height. Verify stabilizers are not binding or catching on the case interior.

    Frequently Asked Questions

    Do I need to desolder switches to install them in a new case?

    Only if your keyboard is not hot-swappable. Hot-swap PCBs allow switch removal without soldering; soldered boards require desoldering each switch.

    Can I use any case with any keyboard PCB?

    No. Cases are designed for specific layouts, mounting styles, and PCB dimensions. Always verify compatibility using the manufacturer’s specifications.

    How tight should the case screws be?

    Tighten until snug and secure, but stop before the screw resists turning or the PCB begins to bow. Over-tightening risks damage.

    Should I lubricate stabilizers before installing the keyboard in the case?

    Yes, lubricating stabilizers reduces rattle and improves smoothness. Do this before final assembly for easier access.

    What if my switches feel scratchy after installation?

    This may be due to dry stems, debris, or misalignment. Remove the switch, clean the stem and housing, lubricate if desired, and reinstall ensuring straight insertion.

    Is it normal for the case to creak slightly when pressed?

    A minimal amount of flex is normal in some materials like ABS or polycarbonate. Excessive creaking or shifting may indicate loose mounting or warping.