Skip to main content

Keyboard · Accessibility

Match the operating system's input language to your keyboard's physical layout

Every keyboard has a physical layout printed on its keys (such as US QWERTY, UK QWERTY, or AZERTY), and the operating system separately maintains an input language/keyboard layout setting that determines which character each keypress produces. When these two are mismatched, keys produce the wrong symbols even though nothing is physically wrong with the keyboard.

What you should know

  • Windows: Settings → Time & Language → Language & region → next to your language click the three dots → Language options → add the matching keyboard layout under "Keyboards," then remove any mismatched one.
  • macOS: System Settings → Keyboard → Text Input → Edit, then add the input source matching your keyboard's physical layout (e.g., "British" for an ISO UK keyboard) and remove unused ones.
  • Use the language/input switcher in the taskbar (Windows) or menu bar (macOS) to confirm which layout is currently active — it's easy to have several installed and be on the wrong one.
  • If symbols like @, ", #, or the key next to Enter print incorrectly, this is almost always a layout mismatch rather than a hardware fault — check the physical layout (ANSI vs ISO) against the OS setting before assuming the keyboard is defective.

Changing the OS input language changes which characters keys produce but does not relabel the physical keycaps, so a mismatched layout can look confusing even after it's fixed correctly.

Why it matters

A mismatched keyboard layout is frequently misdiagnosed as a broken keyboard, because the symptom — wrong or swapped characters — looks like a hardware defect, when it's actually a software setting that takes under a minute to correct once identified correctly.

Best practices

  • Remove unused input languages and layouts entirely rather than just switching away from them, to avoid accidentally cycling into the wrong one with a keyboard shortcut.
  • When traveling internationally with a laptop, add the local layout in advance rather than relying on an external keyboard that may not be available.
  • Check both the OS input language and any keyboard-specific companion app setting — some multi-device keyboards let you assign a different layout per paired device.

Common problems and fixes

The key next to Enter or Shift produces the wrong character
This key differs between ANSI (US) and ISO (UK/EU) physical layouts; confirm which physical layout the keyboard actually has and select the matching OS layout rather than a generic "US" default.
Keyboard shortcuts (like copy/paste) stop working after switching input language
Some non-Latin input methods intercept standard shortcut key combinations; temporarily switch back to a Latin-alphabet layout to confirm, then check the input method's own shortcut settings.

Tips and tricks

  • On Windows, the keyboard shortcut Windows+Space (and on macOS, the globe/fn key or Control+Space) cycles between installed input languages without opening settings.

Frequently asked questions

Can I use a UK-layout keyboard with a US Windows install?

Yes — add the "United Kingdom" keyboard layout in Language settings and select it as active; the physical keycap printing and the OS layout just need to match for the symbols to line up.