Setup & Configuration

Keyboard Typing the Wrong Characters? AZERTY, QWERTZ, and QWERTY Fixed

Samad Mokrini Updated July 18, 2026 7 min read Worldwide
Close-up of a laptop keyboard with AZERTY key labels next to a laptop showing QWERTY on screen
Quick answer:

Wrong characters when you type is a software setting, not a broken keyboard, in almost every case. Every physical keyboard just sends a position — which row, which column — to the operating system, and it's the OS's active keyboard layout setting that decides which letter or symbol that position produces. A French AZERTY laptop with the wrong software layout selected will physically have A where the label shows A, but typing it produces Q on screen. This is a two-minute settings fix on both Windows and Mac; the only case that needs more than a setting change is a physical keyboard genuinely built with a different key layout than what you type in.

What this guide covers

Physical Layout vs Software Layout: The Core Confusion

These are two completely separate things that people conflate constantly. Physical layout is the actual printed labels and key positions on the keyboard itself — AZERTY (common in France and Belgium), QWERTZ (common in Germany, Austria, Switzerland), and QWERTY (US, UK, and most of the English-speaking world) rearrange not just letters but also where numbers, punctuation, and special characters sit. Software layout is a setting in your operating system that maps each physical key position to a character, completely independent of what's printed on the key.

When these two don't match — a physical AZERTY keyboard with a QWERTY software layout active, or vice versa — you get the classic symptom of pressing a labeled key and getting a different, seemingly random character on screen. Punctuation and symbols are usually the most jarring part, since @ , " and numbers often move to entirely different keys between layouts, not just letters.

The Specific US-Keyboard-With-Non-US-Layout Trap

This is one of the most common support requests we get from people who bought a laptop abroad or brought a US laptop into a country with a different standard layout. A US physical keyboard has QWERTY printed on it, straightforward — but if the OS is set to, say, a UK, French, or German software layout (sometimes because the laptop was purchased locally and the OS defaulted to the country's standard, or because someone changed it by accident), certain keys stop matching what's printed. The @ symbol, quotation marks, and the position of Z and Y (swapped between QWERTY and QWERTZ) are the most common casualties, and it's often intermittent-feeling because most letters are unaffected — only a handful of keys are wrong, which makes it harder to immediately recognize as a layout issue rather than a broken key.

The reverse also happens: a physical AZERTY or QWERTZ keyboard (bought locally) with a US QWERTY software layout applied, which is common when someone reinstalls Windows with US regional defaults on a European laptop without realizing the physical keys won't match anymore. Both directions have the identical fix — match the software layout setting to the physical keyboard you actually have in front of you.

How to Actually Fix It, Platform by Platform

On Windows: Settings > Time & Language > Language & Region, click your language, then "Language options," and under Keyboards you can add the correct layout and remove the incorrect one. There's also a quicker keyboard shortcut, Windows key + Space, that cycles between any installed layouts without going into settings at all, which is useful for confirming which layout is currently active before you change anything. On macOS: System Settings > Keyboard > Input Sources (older versions: System Preferences > Keyboard > Input Sources), where you add the layout matching your physical keyboard and can remove ones you don't use to stop accidental switching.

The critical first step on both platforms, before changing anything, is identifying what layout you actually need — check the physical labels on your keyboard (or if it's unlabeled, identify the country it was sold in) rather than guessing. Getting this backwards, adding a layout that doesn't match the physical keys, makes the problem worse, not better, since now you have two mismatched layouts to choose between instead of one.

Remapping Individual Keys Without Buying New Hardware

If you want to keep typing on a physical AZERTY or QWERTZ keyboard but write primarily in a QWERTY-trained muscle memory, both operating systems support this without buying anything. Windows has built-in accessibility remapping through PowerToys (a free Microsoft tool) that lets you remap individual keys or entire layout behavior. macOS lets you remap specific keys under Keyboard settings, and third-party tools like Karabiner-Elements handle more complex full-layout remapping for free.

This is different from simply switching the software layout — remapping changes what individual keys do while keeping everything else the same, which is useful if you only have a problem with a handful of keys (like Z/Y swap) rather than needing a complete layout overhaul. It's a reasonable middle ground for someone who bought a laptop locally, likes the physical layout otherwise, but doesn't want to relearn where punctuation lives.

External and Bluetooth Keyboards Add Another Variable

Connecting a foreign external or Bluetooth keyboard introduces a third possible mismatch on top of the laptop's own settings: the external keyboard's physical layout, the laptop's internal keyboard physical layout (if it has one), and the OS software layout all need to line up, or at least you need to know which one governs when they don't. If you're pairing a Bluetooth peripheral and run into a similar pairing issue, that's a separate Bluetooth connection problem rather than a layout one — worth distinguishing since the fixes are completely different.

Windows and Mac both let you set a different software layout as "active" and switch between them, which is genuinely useful if you regularly swap between a laptop's built-in keyboard and an external one with a different physical layout — rather than picking one layout and living with mismatches on whichever keyboard doesn't match it.

The Rare Case It's Actually a Hardware Problem

If a single specific key produces the wrong character no matter what software layout is selected, and every other key behaves correctly across layout changes, that's a hardware issue — a stuck key, debris under one key, or in rare cases a manufacturing defect — not a layout mismatch. Software layout issues affect predictable groups of keys (following the known differences between AZERTY/QWERTY/QWERTZ), while hardware issues are usually isolated to one or two physical keys regardless of what software layout is active.

If you've confirmed the software layout matches your physical keyboard and one key is still consistently wrong, it's worth physically inspecting that key for debris before assuming it needs replacement — the same dust-and-travel issues that affect USB ports also affect keyboards, especially ones that travel in backpacks.

Get the Right Layout Set in Minutes, Not Hours

We identify your actual physical layout, set the matching software layout or remap the specific keys you need, and confirm it's typing correctly before we end the session — no new keyboard required.

A mismatched keyboard layout is a two-minute setting, not a hardware problem.

We fix the software layout or remap specific keys live over a screen share, matched to your actual physical keyboard.

Book a remote fix — $149.99

Frequently asked questions

Why does pressing A on my keyboard type Q instead?

This is the classic sign of an AZERTY physical keyboard with a QWERTY software layout active, or the reverse. The physical key sends a position, and the software layout decides which letter that position produces, so the fix is changing the software layout setting, not the keyboard itself.

Do I need to buy a new keyboard if the layout is wrong?

Almost never. Unless a single specific key is broken and stays wrong regardless of software layout, this is a settings change that takes about two minutes on both Windows and Mac.

What's the keyboard shortcut to quickly switch layouts on Windows?

Windows key + Space cycles through any keyboard layouts you have installed without opening settings, which is useful for quickly checking which one is currently active. You still need to add the correct layout first under Settings > Time & Language > Language & Region if it isn't already installed.

Can I remap just one or two keys instead of switching the whole layout?

Yes — tools like PowerToys on Windows (free from Microsoft) and Karabiner-Elements on Mac let you remap individual keys without changing the entire layout, which is useful if only a couple of keys, like Z and Y, are swapped and you're fine with everything else.

Why does my external keyboard type differently than my laptop's built-in one?

This usually means the external keyboard has a different physical layout than your laptop's built-in keyboard, and only one software layout can be "active" at a time in the OS. You can switch the active layout depending on which keyboard you're using, though it takes a manual switch each time.

How do I know if it's a layout problem or a broken key?

Layout problems affect a predictable group of keys — letters and symbols that differ between AZERTY, QWERTZ, and QWERTY — and change consistently when you switch layouts. A broken key stays wrong no matter which software layout is selected and is usually isolated to just that one key.

SM

Samad Mokrini

Founder of IT Cares Canada (est. 2014) and RemoteFix 24/7. Two decades fixing computers for people who can't get to a shop — now for remote workers, expats, and nomads in 130+ cities worldwide.