Home » Typing & Layouts » Keyboard Layers Explained: How Small Keyboards Fit Every Key

Keyboard Layers Explained: How Small Keyboards Fit Every Key

By Published

Quick answer

A keyboard layer is a complete second (or third, or fourth) set of key assignments that you switch to with a layer key, much like the Fn key on a laptop. Hold or tap the layer key and the same physical keys do different jobs, such as arrows, function keys or media controls. Layers are how 60% and 65% keyboards fit every key you need into far fewer keys.

Keyboard layers explained graphic showing a typical four-layer setup for a compact keyboard
Most compact keyboards ship with two to four layers.

A full-size keyboard has a key for almost everything. A 60% keyboard drops the function row, arrow keys, navigation cluster and numpad, yet you can still use all of them. The trick is layers.

Think of each layer as a transparent sheet over your keyboard. Layer 0 is what’s printed on your keycaps. When you activate layer 1, the same keys take on new functions until you release or switch back.

How keyboard layers work

Every key on a programmable keyboard has an assignment on each layer. When you press a key, the keyboard looks at which layers are active and uses the assignment from the highest-numbered active layer.

If that key is set to transparent on the active layer (shown as ▽ or KC_TRNS in VIA and QMK), the keyboard looks down to the next active layer instead. That’s how a layer can change just a few keys and leave the rest working normally.

On QMK keyboards, layers are numbered from 0. QMK supports up to 32 layers, but VIA typically shows four by default. Most people never need more than three or four.

Layer key types

Chart of keyboard layer key types including MO, TG, LT, OSL, TT and DF with examples
MO and LT cover most people’s needs.

MO: momentary

MO(1) turns layer 1 on only while you hold the key, then turns it off when you let go. This is how most Fn keys work. Hold Fn and press 1 to get F1, for example.

TG: toggle

TG(1) turns layer 1 on with one tap and off with the next. It suits layers you stay on for a while, such as a numpad or gaming layer. Put the same TG key on that layer so you can always turn it off.

LT: layer-tap

LT(1, Space) sends Space when you tap it and turns on layer 1 while you hold it. It lets busy keys like Space or Caps Lock double as layer keys without losing their normal job. The catch: if you type fast, an accidental hold can trigger the layer, so it may take practice or tuning of the tap-hold timing.

OSL: one-shot layer

OSL(1) turns on layer 1 for the very next key press only. It’s handy for occasional symbols, because you don’t have to hold anything.

TT: tap-toggle

TT(1) acts like MO while held, but tapping it several times in a row (five by default in QMK) toggles the layer on.

DF: default layer

DF(1) changes which layer is your base layer. People use it to switch between layouts, such as QWERTY and Colemak, or between a typing and a gaming base.

Layouts worth copying

LayerWhat to put thereWhy
0 (base)Your normal typing keysWhat’s printed on your keycaps
1 (Fn)F1 to F12 on the number row, arrows on IJKL or WASD, Delete, Home and EndReplaces missing keys on compact boards
2 (numpad or navigation)A numpad on the right hand, or Page Up and Down and editing shortcutsSpreadsheets and coding
3 (system)Lighting, Bluetooth pairing, media keys, resetRarely used, so keep it out of the way

Two tips make layers easier to live with:

  • Keep related keys together. Arrows on IJKL or ESDF are easier to remember than arrows spread across the board.
  • Mirror your laptop. If your laptop puts media keys on F-keys, do the same so muscle memory carries over.

On many compact keyboards, the Fn layer is already set up. Check the printed side legends on your keycaps or the manual before you build your own.

How to change your layers

How you edit layers depends on your keyboard:

  • VIA-compatible keyboards: pick a layer number at the top of VIA and assign keys. Our guide on how to use VIA walks through it step by step.
  • QMK keyboards without VIA: edit the keymap in QMK Configurator or code, then flash the firmware. See QMK vs VIA for the differences.
  • Gaming and brand keyboards: many use their own software, often with a smaller set of layer options such as a single Fn layer or profiles.
  • Any keyboard: your operating system can also remap keys, though without true layers. Our guide on how to remap keys covers Windows, Mac and Chromebook.

Layers vs profiles vs macros

These are easy to mix up:

  • A layer changes what keys do while it’s active, and switches instantly.
  • A profile is a whole saved setup, often used per game or app in brand software.
  • A macro is a sequence of keystrokes sent by one key. You can put macros on a layer, or use a separate macro pad.

Common problems

ProblemLikely causeFix
Stuck on a layerA TG key with no way backAdd the same TG key to that layer
Keys do nothing on a layerAssigned as “no key” instead of transparentSet them to transparent (▽)
Layer turns on while typingLayer-tap timing too short for your typingUse a different key or adjust tap-hold settings
Changes only work on one OSMac and Windows modes use different layersEdit the layers for the mode you use

Do you need layers?

If you use a full-size or TKL keyboard, you may never need them, though a layer for media keys or shortcuts can still save time. If you’re considering a smaller board, layers are what make it practical. See the best 60% keyboards for compact options and our explainer on Fn Lock for how function keys behave.

FAQ

What is a layer on a keyboard?

It’s an alternative set of key assignments you switch to with a layer key, so each physical key can do more than one job.

How many layers does a keyboard have?

It depends on the firmware. QMK supports up to 32, VIA usually shows four, and many brand keyboards offer one Fn layer.

What does MO mean on a keyboard?

MO stands for momentary. The layer is on only while you hold the key.

What is a transparent key?

A key set to fall through to the layer below, so it keeps its normal function on that layer.

Are layers hard to learn?

Most people get used to a basic Fn layer within a few days. Start with a few changes and add more gradually.

Final thoughts

Layers turn a small keyboard into a full one. Start with a single momentary Fn layer for arrows and function keys, use transparent keys for everything else, and always leave a way back from any toggled layer. Once that feels natural, a layer-tap key or a numpad layer can save you even more time.

Sources

Leave a Comment