Beginner Guide

How to Build a Mechanical Keyboard
From Scratch

Last Updated: July 2026 · 2,400-word deep dive · 15 min read

Building your first custom keeb is one of the most satisfying things you can do as a PC enthusiast. This guide walks you through every part, every decision, and every step of the assembly — no experience required.

Table of Contents
  1. Why Build Instead of Buy?
  2. Parts You Need
  3. Choosing Your Layout
  4. Picking Switches for Your Style
  5. Assembling Step by Step
  6. Sound Mods (Tape, Tempest, Foam)
  7. Testing with QMK / VIA
  8. Budget Breakdown
  9. FAQ

1. Why Build Instead of Buy?

Pre-built keyboards — even good ones like the Keychron V series or the Logitech MX Mechanical — are compromises. The manufacturer picks the case material, the mount style, the switch options, and the keycap legend font. You get what they decided.

A custom build is yours. You choose the thock. You choose the weight. You choose whether the board flexes subtly under your fingertips or feels solid as a brick. You choose the colorway down to the modifier legends. Most importantly, you learn the entire keyboard ecosystem so you can make smarter decisions forever — whether you're hunting group buys, evaluating a used sale on a Discord server, or just explaining to a curious coworker why you spent $300 on a keyboard.

Beyond personalization, custom builds often beat equivalent price-range pre-builts on sound quality and typing feel. A $200 custom will almost always feel better than a $200 gaming keyboard because the budget goes into the parts that actually affect the experience rather than RGB lighting and marketing.

First Build Tip

Start with a hotswap PCB. Hotswap sockets let you pull and replace switches without a soldering iron. You can experiment with different switches on the same board — invaluable when you're still developing your switch preferences.

2. Parts You Need

A mechanical keyboard has seven core components. Everything else is optional — though "optional" in this community means "you'll probably buy it eventually."

Case

The case is the shell and gives the board its primary sound signature and typing feel. Material matters enormously:

PCB (Printed Circuit Board)

The PCB is the brain. Switches connect to it, and it sends keypress signals to your computer. Two critical choices:

Plate

The plate sits between the PCB and switches, holding switches in alignment. Plate material is one of the biggest tone shapers in a build:

Plateless builds (no plate, switches mounted directly to PCB) are increasingly popular for their unique flex and sound — but require PCB-mount stems and more careful switch selection.

Switches

The heart of any keyboard. There are three families — linear, tactile, and clicky — and hundreds of options within each. See our full switch types guide for a deep dive. For quantity: a standard 65% uses 68 switches, a TKL uses 87, a full-size uses 104.

Keycaps

The caps you type on every day. Profile (shape), material (ABS vs PBT), and legend type (dye-sub vs doubleshot) all matter. See our keycap profiles guide for the full breakdown. Budget: $40–$60 for solid PBT keycaps (Akko, NuPhy), $100–$200+ for GMK doubleshot sets from group buys.

Stabilizers

Stabilizers (stabs) go under large keys — spacebar, left shift, enter, backspace, and sometimes number row keys. They prevent long keys from tilting when pressed off-center. Poor stab tuning is the #1 reason budget builds feel and sound bad.

Lube

You'll need lube for both switches and stabilizers. The community standards:

3. Choosing Your Layout

Layout determines the size and key count of your board. This is one of the most personal choices in keyboard building — it comes down to your desk space, workflow, and whether you can live without a numpad or function row.

LayoutKeysIncludesBest For
100% (Full Size)104EverythingSpreadsheet heavy users, numpad required
TKL (Tenkeyless)87F-row, arrow keys, nav clusterBeginners who need function keys
75%~84F-row compressed into single columnCompact TKL lovers
65%~68Arrow keys, no F-rowMost popular enthusiast layout
60%~61Alpha + modifiers onlyMinimalists, layer users
40%~40Letters only — layers for everythingAdvanced users only
Community Consensus

65% is the layout most enthusiasts land on after going through the progression. It drops the numpad and F-row (which you can access via layers) while keeping dedicated arrow keys. The WKL (Winkeyless) variant of the 65% — dropping the Windows key — is a polarizing aesthetic choice that the community loves to argue about.

4. Picking Switches for Your Style

Three switch families, each with a completely different feel:

For first builds, the community overwhelmingly recommends:

Check the KeebTracker switch database to compare specs side-by-side, and use the Keyboard Quiz to get a personalized recommendation.

5. Assembling Step by Step

1
Gather and test your PCB

Before touching anything else, plug the PCB into your computer and use QMK's online key tester or keyboardtester.com to short each switch socket with a metal tweezer. Every socket should register. Catching a dead socket now saves you a half-assembled teardown later.

2
Prep and install stabilizers

Clip, lube, and install your stabs before anything else. Remove the stab stem and lube the inside of both housings with a thin layer of 205g0. Apply dielectric grease to the stab wire where it contacts the stem legs. Apply the holee mod (punch a small circle from a band-aid and stick it under the PCB stab mount). Screw in the stabs — snug but not overtightened.

3
Lube your switches

Open each switch by pressing the two clips on the sides of the bottom housing. Remove the spring (bag lube springs in a ziplock with 205g0 or 3204 for 30 seconds — much faster than brushing individually). Lube the rails inside the bottom housing, the sides of the stem but NOT the tactile legs (for tactiles), and the inside of the top housing. Reassemble. This takes 1–2 hours for 70 switches. Put on a podcast.

4
Install switches into plate and PCB

If using a plate, insert switches into the plate first at the four corners to lock alignment. Then press the plate+switch assembly onto the PCB, making sure all switch pins go cleanly into the PCB sockets. You'll hear a satisfying click as each hotswap socket engages. Work from the corners inward. For soldering: same approach, then solder each pin with a clean iron.

5
Test again before closing the case

Plug the PCB in again and test every switch. This is your last easy-access chance. On hotswap boards, a dead switch at this stage is a 30-second fix — pop it out, check the socket for bent pins, press it back in. On soldered boards, you'll need a desoldering pump.

6
Apply sound mods (optional but recommended)

See the sound mods section below. Do this before closing the case.

7
Close the case and install keycaps

Screw the case closed with the provided hardware. For gasket-mount boards, make sure the PCB seats evenly in the gaskets before driving any screws. Install keycaps by pressing each cap firmly onto the stem — you'll feel it seat. Larger keys go on the stab stems first. Congratulations — you built a keeb.

6. Sound Mods

Sound mods transform the acoustic character of your build without changing any physical components. The community has developed several that are now considered standard practice.

Tape Mod

Apply 2–3 layers of masking tape to the back of the PCB. This adds a slight flex layer and significantly reduces the hollow "ping" ping common on tray-mount aluminum cases. Cost: $0 (you have tape). Time: 5 minutes. Community verdict: genuine improvement, especially noticeable on budget builds.

Tempest Mod (PE Foam Mod)

Cut a sheet of thin PE (polyethylene) foam — craft foam from a dollar store works — to fit between the PCB and switch plate. Each switch hole punches through naturally as you install. This is the single largest sound transformation you can make to a build: it muffles the sharp "clack" of spring ping and switch bottom-out, replacing it with a deep, creamy thock. The KBDfans community popularized this in 2022 and it remains the go-to mod for getting a more expensive-sounding result from budget parts.

Case Foam

Fill the bottom cavity of your case with foam cut to fit. Most mid-range kits include this. DIY option: craft foam, neoprene, or even packing foam works. This kills the hollow resonance in the case cavity — the #2 source of unwanted sound after stab rattle.

PCB Foam

Foam cut to fit between the PCB and the bottom case interior (below the PCB). Adds additional dampening and body to the sound. Pairs with case foam — use both for the most dramatic dampening effect.

Stab Tuning (Critical)

Not technically a "sound mod" but the highest-impact single thing you can do for build quality. A poorly tuned spacebar rattle will dominate every other sound in the build. Get the stab lube right — see the stabilizer section above.

7. Testing with QMK / VIA

QMK (Quantum Mechanical Keyboard) is open-source firmware. VIA is a real-time key remapping interface that talks to QMK. Together they let you program every key, create layers, set lighting, and configure macros without writing a single line of code.

First Steps with VIA

  1. Download VIA from caniusevia.com
  2. Connect your keyboard and open VIA — most QMK boards are auto-detected
  3. Navigate to the Key Tester tab — press every key to verify it registers correctly
  4. On the Keymap tab, click any key on the visual layout and reassign it from the keycode picker
  5. Layers work like a Fn key — assign a key as "Layer 1" and it activates your second layout when held

Common First Remaps

QMK Flashing Note

If you need to flash new firmware (not just remap keys via VIA), download QMK Toolbox. Put your board into bootloader mode by holding the reset button on the PCB underside or using the VIA console. Always back up your current keymap before flashing.

8. Budget Breakdown

TierCasePCBSwitchesKeycapsStabsTotal
Budget Beginner$40 (Keychron Q2 base)Included$18 (Gateron Yellow ×70)$35 (Akko PBT)$12 (Durock v2)~$105
Mid-Range Enthusiast$120 (KBDfans Tofu65)$45 (DZ65RGB)$55 (Boba U4T ×70)$70 (GMK alternate buy)$18 (TX stabs)~$308
Endgame Deep Hobby$300 (GB aluminum)$80 (Geon F1-8X)$100 (Topre / Holy Pandas)$180 (GMK Group Buy)$28 (Everglide Panda)~$688

Use the KeebTracker Build Cost Calculator to price your specific parts selection and see where you can save without sacrificing feel.

Pro Budget Tip

The biggest sound improvements come from stab tuning, the PE foam mod, and lubing switches — none of which cost money beyond a $10 bottle of Krytox and $3 of PE foam. Spend your budget on parts, not premium mods that deliver diminishing returns.

Frequently Asked Questions

How much does it cost to build a mechanical keyboard?
A budget build starts around $80–$120 (case + PCB + switches + keycaps). A mid-range build typically runs $200–$400. Endgame enthusiast boards can exceed $600 when you factor in premium cases, group buy keycaps, and lubed switches on a lube station.
Do I need to solder to build a mechanical keyboard?
No — hotswap PCBs let you install switches without any soldering. Boards like the Keychron Q series and many KBDfans offerings use Kailh hotswap sockets. Soldering gives you more PCB options and a slightly more stable switch mount, but hotswap is the recommended starting point for beginners.
What layout should a beginner choose?
65% is the most popular beginner layout. It drops the numpad and function row but keeps arrow keys, hitting a sweet spot of compactness and usability. TKL (tenkeyless, 80%) is a safe choice if you still want F-keys. Avoid 40% for your first build — the learning curve is steep and it requires heavy layer programming.
What switches should I put in my first build?
Gateron Yellow (linear, budget), Gateron G Pro 3.0 (linear, pre-lubed), or Boba U4 (tactile, silent) are excellent first switches. All three are widely available, perform well stock, and are forgiving of imperfect lube jobs.
What is the tape mod and does it actually work?
The tape mod involves layering 2–3 strips of masking tape on the back of a PCB to add flex and dampen the hollow ping common in tray-mount keyboards. It costs $0 and takes 5 minutes. Community consensus is that it adds a subtle but real improvement in sound profile, especially on budget builds.
How long does it take to build a mechanical keyboard?
Plan for 3–6 hours for your first build including lubing switches and assembling. Experienced builders can assemble a hotswap board in under an hour, but lubing 70+ switches typically takes 1–2 hours on its own.
What is QMK and VIA?
QMK (Quantum Mechanical Keyboard) is open-source firmware that runs on most custom keyboard PCBs. VIA is a graphical interface that lets you remap keys, set layers, and configure lighting in real time without flashing firmware. Most enthusiast PCBs ship with QMK pre-flashed and VIA compatibility enabled.
Should I lube my switches before or after installing them?
Lube switches before installing them. Remove the top housing, lube the rails, stem legs, and stem bottom with Krytox 205g0 (linears) or Tribosys 3203/3204 (tactiles), then reassemble and install. Never lube the tactile legs on tactile switches — it kills the bump.