Quick answer: When the keys work but print the wrong symbols, Windows may be using a different keyboard layout from the one printed on the keys. Look at the input language icon next to the clock (for example ENG US or ENG UK), select it and pick the layout that matches your keyboard, or press Windows + Spacebar to cycle through layouts. Then remove the layouts you don’t use in Settings > Time & language > Language & region so it can’t switch back. If letters type numbers, turn off Num Lock.
In this guide
- Match what you see
- Fix 1: Check which layout is active
- Fix 2: Add the right layout and remove the others
- Fix 3: Quotes and accents appear late (US-International)
- Fix 4: Letters type numbers
- Fix 5: Stop the layout from switching by itself
- Fix 6: Wrong characters at the sign-in screen
- Fix 7: Rule out the keyboard itself
- Fix 8: Drivers, remap tools and remote sessions
- Related guides
Applies to: Windows 11 desktops and laptops with a built-in, USB, wireless or Bluetooth keyboard that types, but produces the wrong letters or symbols. If the keyboard doesn’t type at all, see keyboard not working in Windows 11 instead. Before you start: open Notepad and type there while you test, so an app’s own shortcuts or autocorrect don’t confuse the result.
Match what you see
Each layout puts symbols on different keys, so the pattern of mistakes points to the cause. As general guidance:
| What you see | Possible cause | Go to |
|---|---|---|
| @ and ” swapped, or # comes out as a pound sign | A UK layout on a US keyboard, or the reverse | Fixes 1 and 2 |
| Z and Y swapped, or A and Q swapped | A German or French layout is active | Fixes 1 and 2 |
| ‘ or ” appears only after the next key, or you get letters like é | US-International layout | Fix 3 |
| Letters such as U, I and O type numbers | Num Lock on a laptop | Fix 4 |
| Correct at first, then wrong partway through typing | A layout switch shortcut pressed by accident | Fix 5 |
| Password fails only at the sign-in screen | A different layout on the sign-in screen | Fix 6 |
| The same key is wrong in every layout and on other PCs | Keyboard hardware | Fix 7 |
Fix 1: Check which layout is active
Windows can hold several keyboard layouts at once and uses only one at a time. Microsoft’s page on language and keyboard layout settings explains that you can select the input language icon in the system tray, next to the clock, and choose a layout from the menu; the icon then shows the one in use. The same page says Windows + Spacebar moves to the next installed layout with each press, and that nothing happens if only one layout is installed.
- Select the input language icon on the taskbar.
- Read the names in the list. A label such as English (United Kingdom) plus US keyboard, or the reverse, is where mismatches start.
- Select the layout that matches the keys printed on your keyboard, then test in Notepad.
If you don’t see the icon at all, the older desktop language bar may have replaced it. Microsoft says to go to Settings > Time & language > Typing > Advanced keyboard settings and, under Switching input methods, clear Use the desktop language bar when it’s available to get the icon back.
Not sure which layout your keyboard has? As general guidance, look at the key left of Enter: a tall, two-row Enter key with # beside it points to a UK layout, while a wide one-row Enter with \ above it points to a US layout.
Fix 2: Add the right layout and remove the others
Switching back fixes the moment; removing the layouts you never use stops it from happening again. Microsoft’s steps for Windows 11:
- Go to Settings > Time & language > Language & region.
- Select the three dots next to your language and choose Language options.
- Under Keyboards, check the list. If your layout is missing, select Add a keyboard next to Installed keyboards and pick it.
- Next to each layout you don’t use, select the three dots and choose Remove.
A few details from the same page help when the list looks wrong:
- A layout can sit under your display language instead of its own language, so check every language listed on Language & region.
- If Remove is grayed out, that layout is the only one for the display language. Add the correct layout first, then remove the wrong one.
- If the layout you need isn’t offered, add the language that owns it, then add the keyboard from that language’s options.
- Changing the keyboard layout doesn’t change the language of Windows menus. To change that as well, see how to change the Windows language.
Fix 3: Quotes and accents appear late (US-International)
If ', ", `, ~ or ^ show nothing until you press the next key, and then you get an accented letter such as é or ã, you may be using the United States-International layout. As general guidance, it treats those keys as accent keys that wait for the following letter, which helps when you write in several languages but gets in the way when you only type English or write code.
- To keep it: press Spacebar after the quote or accent key to type the symbol on its own.
- To drop it: add the plain US keyboard in Language options (Fix 2), then remove United States-International.
Fix 4: Letters type numbers
On laptops without a separate number pad, Num Lock may turn a block of letter keys, such as U, I, O, J, K and L, into a hidden number pad. As general guidance, pressing the same key combination that turned it on (for example Fn with Num Lk or a function key, depending on the model) switches it off. Our Num Lock guide covers the key combinations, Mouse Keys and the startup setting.
Fix 5: Stop the layout from switching by itself
If typing starts correctly and goes wrong later, a layout shortcut may be getting pressed while you type. Besides Windows + Spacebar, Windows may also switch with Left Alt + Shift or Ctrl + Shift, which may be easy to hit during normal typing or gaming. Removing extra layouts (Fix 2) may be the simplest cure, because there is nothing left to switch to. If you need two layouts, as general guidance you can change or turn off the extra shortcuts:
- Open Settings > Time & language > Typing > Advanced keyboard settings.
- Select Input language hot keys. The Text Services and Input Languages window opens on the Advanced Key Settings tab.
- Select the switching entry, choose Change Key Sequence, set both options to Not Assigned and select OK.
On the same Advanced keyboard settings page, Override for default input method sets which layout Windows starts with, and Let me use a different input method for each app window makes each app remember its own layout. As general guidance, leave that second option off if the layout seems to change when you move between apps.
Fix 6: Wrong characters at the sign-in screen
Microsoft notes that changing the display language can change the keyboard layout too, including on the sign-in screen. If your password or PIN is rejected only there, select the password reveal (eye) icon to see what you’re actually typing, and use the input language icon on the sign-in screen to switch layouts.
To make the sign-in screen use the same settings as your account, as general guidance go to Settings > Time & language > Language & region, select Administrative language settings, then on the Administrative tab select Copy settings and tick Welcome screen and system accounts. Our Windows language guide walks through that window.
Fix 7: Rule out the keyboard itself
If the same key types the wrong character no matter which layout is active, the fault may be in the keyboard. As general guidance, a spill or a damaged key matrix can make one key send another key’s signal, or several characters at once. To check:
- Press Windows + R, type
oskand press Enter to open the On-Screen Keyboard. If clicking a key there types the right character while the physical key doesn’t, the layout is fine and the hardware isn’t. - Try another keyboard on this PC, and this keyboard on another PC. Microsoft’s mouse and keyboard problems page suggests connecting a device to another PC to see whether it still fails there, and replacing it if it does.
- Unplug a USB keyboard, wait, plug it into another port and connect it straight to the PC instead of through a hub. For a wireless keyboard, charge or replace the batteries and unplug the receiver for about 10 seconds, as the same page advises.
- Clean out crumbs or dirt that may hold a key partly down.
Fix 8: Drivers, remap tools and remote sessions
- Driver: Microsoft’s mouse and keyboard page says to check for updates in Windows Update, or open Device Manager, double-click the keyboard, go to the Driver tab and select Update Driver.
- Remapping software: as general guidance, PowerToys Keyboard Manager, gaming keyboard apps and laptop maker utilities can assign one key to another. If only certain keys are wrong in every layout, check those apps for remapped keys, or close them and test again.
- Remote desktop and virtual machines: as general guidance, the remote PC or virtual machine may use its own layout. If the wrong characters appear only inside that window, check the layout on the remote system, not on your own PC.
- Only one app: if Notepad is fine but one app types oddly, that app’s autocorrect, text replacement or shortcuts may be the cause. If only the Windows search box misbehaves, see can’t type in the Windows search bar. For a single Windows logo key that acts up, see Windows key not working.
Related guides
- Keyboard not working in Windows 11: how to fix it
- Num Lock not working in Windows 11 and 10: how to fix it
- How to change the Windows language in Windows 11 and 10
- Windows key not working: how to fix it in Windows 11 and 10
- Can’t type in the Windows search bar: how to fix it
Leave a Reply