Keyboard Typing Wrong Characters? Fix Typing the Wrong Characters
Keyboard Typing Wrong Characters? If @ comes out as ", # turns into £ or \ types as #, the keycaps and the operating system disagree about which language the keyboard is. Press the key printed @, then the key printed ", then # and six more symbols, exactly as they appear on your caps. The diagnoser works out which layout is printed, which layout the system is using, lists what is swapped and shows the fix for your platform. Then use Check every key to test the rest of the keyboard. Choose MacBook or Magic Keyboard in the mac keyboard test and press each key until it turns green.
Symbol probe
Nine keys, pressed as printed, then an optional every-key check
Step 1 of 3
Press the key printed
@
at sign
It produced --
Press the key with @ printed on it.
Diagnosis
Keycaps are printed as
--
Operating system thinks it is
--
Swapped symbols
--
Press the 9 probe keys and the verdict appears here.
Observations
Printed symbol, physical key, modifiers and produced character
Printed
Physical key
Modifiers
Produced
Every-key check
Keys whose produced character differs from the printed layout
Physical key
Modifiers
Printed layout gives
Produced
Fix for
Windows 10 / 11
Open Settings > Time & language > Language & region.
Under your language, open Options (Language options) and look at Keyboards.
Add the keyboard that matches your keycaps (for example United Kingdom or US) and remove the one you do not use.
Check the language bar in the taskbar: Win + Space cycles layouts if more than one remains.
Still wrong? Settings > Typing > Advanced keyboard settings: set the override default input method.
macOS
Open System Settings > Keyboard > Input Sources > Edit.
Press + and add the input source matching your keycaps (British, U.S., German and so on); remove the wrong one.
If the Mac asks to identify a new keyboard, follow the prompt: press the key right of the left Shift so it detects ISO or ANSI.
Turn on Show Input menu in menu bar so you can see which source is active.
For a PC keyboard, also check Keyboard > Keyboard Shortcuts > Modifier Keys for swapped ⌘ and ⌥.
Linux (GNOME / KDE)
GNOME: Settings > Keyboard > Input Sources; add the layout matching your caps and remove the other.
KDE: System Settings > Input Devices > Keyboard > Layouts.
Terminal: setxkbmap gb (or us, de, fr) applies immediately for the session.
Check /etc/default/keyboard (Debian/Ubuntu) for the XKBLAYOUT line to make it permanent.
If Super + Space keeps switching layouts, remove the extra layout or change the shortcut.
When keyboard typing wrong characters starts without warning, the cause is usually a setting, not a broken key: you press the at symbol and get a quotation mark, brackets jump to new places, or an apostrophe turns into something else. This page helps you compare what you pressed with what appeared, so you can match the pattern of wrong letters and numbers to the language settings, lock states or hardware behind it.
Why Keyboard Typing Wrong Characters Happens
A key that registers but prints the wrong character is not a dead key. The keyboard still sends a signal; the operating system, an app or a hardware fault turns that signal into something else. That distinction decides where you look first, because a software cause costs nothing to fix. Searchers call it a wrong typing keyboard fault or keyboard wrong typing, but keyboard typing wrong characters has the same few causes either way. After you open it on a new laptop, once the keyboard layout detector names the language and region your operating system assumes, you know which settings to change.
When keys are typing the wrong characters, the usual suspects in order of likelihood are:
A keyboard layout set to a different region than the printed keycaps.
A locked Num Lock, Fn layer or stuck modifier changing many keys at once.
A remapping tool, macro or app-level override rewriting the input.
An outdated or corrupted keyboard driver, or malware interfering with input.
Hardware damage such as liquid residue or a failing key matrix.
Most reports end at the first two items, so start there before replacing anything.
Laptop keyboard or external keyboard
Plug an external keyboard into the same computer and type the same keys. If the external board types correctly, the fault sits with the laptop keyboard itself; if both print incorrect letters, the problem lives in the operating system, a driver or a setting on that device.
Quick Diagnostic Checklist for a Keyboard Typing the Wrong Characters
Work through this checklist in order and stop at the first step that fixes the problem. Every step needs only a keyboard tester and a plain text editor. When checking a number pad, use the numpad test to press all 17 keys on the numeric block and watch each one turn green.
Press the key that misbehaves in the tester, then press it again in a plain text editor.
Write down the physical key printed on the keycap, the label the tester shows and the character that appears.
Check whether the at symbol and quotation marks are swapped, or whether Y and Z trade places.
Open the keyboard settings and confirm the active language and layout match your printed keys.
Tap Shift, Alt, Ctrl, Fn and Caps Lock once each to rule out a stuck modifier.
Turn NumLock off if letters print as numbers.
Pause remapping tools and game overlays, then retest.
Compare the keyboard on a second computer before blaming hardware.
This key test works because it separates two questions: did the key register, and did the right character come out? If the tester sees the correct key and the editor prints something else, the fix lives in software, which is the answer for most cases of keyboard typing wrong characters. A single wrong symbol on one key is the same clue, and the most common explanation is the layout, covered next.
In a 12-key test, only the four shifted symbols printed the wrong character.
Layout Mismatch: The Most Common Cause of Wrong Symbols
A layout mismatch happens when the active layout differs from the one printed on your keycaps. The keyboard is fine, but the wrong layout translates each press into the output of another region. Letters usually survive; symbols do not, which is the clearest fingerprint of this fault. After an accidental layout switch, such as a language shortcut pressed mid-typing, an incorrect keyboard layout can appear to arrive from nowhere, and the keyboard types incorrect characters on a handful of keys.
The tester sees the right key; the active layout turns it into the wrong character.
Layout Mismatch: The Most Common Cause of Wrong Symbols
Key you press
US layout prints
UK layout prints
Clue
Shift + 2
@
"
Quotation marks replace the at sign
Shift + 3
#
£
Pound sign replaces the number sign
Shift + '
"
@
The two layouts trade these
Shift + `
~
¬
Top-left key changes
If the output matches the UK column but your keys are printed for the US, a UK layout is active. The same wrong symbols run in reverse if you swap the two.
Punctuation and letter swaps by regional layouts
Regional layouts move more than symbols: a German QWERTZ board swaps Y and Z, a French AZERTY board swaps A with Q and Z with W, and a Dvorak layout rearranges most keys. Slash, backslash and the pound sign also shift between regions, so one misplaced character is a strong hint about which layout is active.
Input source differences between ANSI and ISO boards
The physical shape matters too. An ANSI board has a wide Enter key and one backslash key; an ISO board has a tall Enter and an extra key beside left Shift. The input source you choose must fit both the region and that shape, otherwise one key position prints nothing useful.
US English versus UK English layouts
The most frequent mismatch pairs US English with UK English, because the two share letters and differ in a few keys. If your keycaps show the at sign above the 2, you own a US board and should select US English; if a quotation mark sits there, pick UK English. Switch the keyboard language to match and everything returns.
Fix the Wrong Input Language and Layout in Windows
Windows lets you keep several layouts at once and flip between them, which is handy until one flips by accident. These language settings fix keyboard typing wrong characters on Windows 11 and Windows 10, the two versions most readers use, and every step below works on a laptop or desktop.
Switch layouts with the taskbar and the Windows key
Look for the language abbreviation, such as ENG US, in the taskbar; it only shows when more than one language is installed.
Click that language and choose the layout that matches your keycaps.
Press the Windows key plus the spacebar to cycle through installed languages without the mouse.
Try Ctrl + Shift if Windows does nothing, since some language setups use it to switch.
If nothing changes, only one language is installed, so add the right one below.
Add a keyboard in Windows 11 and 10
Open Windows Settings and choose Time & language.
Select Language & region, then find your language under Preferred languages.
Click Language options, then Add a keyboard and pick the layout you want.
Remove each language and layout you never use so a language shortcut cannot switch to it.
Set the correct language as the default and restart your computer if the change does not stick.
Check Bluetooth and third-party keyboard modes
A Bluetooth board or other third-party keyboard may carry its own Windows and Mac mode switch. A board left in Mac mode on a Windows PC can print wrong symbols even with the correct language selected, so set the mode first, then check the layout and language in Windows settings.
Wrong Characters in a Password: A Layout Mismatch Walkthrough
I'm helping a colleague whose US ANSI laptop rejects her 15-character password, Maple#Door@2291, after a Windows update. The decision in front of us: is this a typo, a layout mismatch or a failing keyboard? Answer first: 2 of the 15 characters are wrong, both symbols, and that points to the layout.
First I type the password into a plain text editor with the tester open. The tester highlights Shift + 3 and Shift + 2 correctly, yet the editor shows Maple£Door"2291. The letters and digits are fine, so the switches work. That is 2 wrong out of 15, or 13.3%, and both failures sit on shifted keys, which is exactly where US and UK layouts differ.
Next I open the taskbar language icon and find ENG UK active, added silently by the update. Switching to ENG US brings back both symbols on the next attempt, 0 wrong out of 15. I then cross-check by hand against the keycaps: the at sign is printed above the 2, so the board is US.
Wrong Characters in a Password: A Layout Mismatch Walkthrough
Setup
Active layout
Wrong characters
After the update
UK
2 of 15 (13.3%)
Rerun, layout switched
US
0 of 15 (0%)
Rerun, password without symbols
UK
0 of 15 (0%)
The third row is my sensitivity rerun and the number to watch: a password with only letters and digits would never have shown the fault, which is why it can sit unnoticed for days. The edge case is the Windows sign-in screen. It keeps its own layout, separate from the one in your desktop session, so a fixed desktop can still reject the password at the lock screen. If that happens, change the layout under administrative language settings and copy it to the welcome screen, rather than re-testing the keyboard.
My judgement: when only shifted symbols fail, change the layout before anything else, and keep a spare keyboard test for the case where the same two symbols still fail on a second machine.
Mac Input Source Fixes for Wrong Symbols
On a Mac the equivalent setting is the input source. Open System Preferences, go to Keyboard and then Input Sources, and make sure the selected source matches the printed keys. Show the input menu in the menu bar so you can see which language is active at a glance. Another source switched on in the background is the usual reason a Mac prints unexpected characters.
Remove input sources you do not use, then retype the keys that went wrong. If the Mac keyboard still misbehaves after the source is correct, check the Fn key and any accessibility settings that change how keys behave, then reopen Keyboard settings to confirm the language.
Num Lock, Stuck Modifier and Numpad Keyboard Issue Fixes
When many keys change at once, think state, not layout. On laptops without a separate numpad, Num Lock can turn the right side of the letter keys into a numeric keypad, so J, K, L and U print digits. Press NumLock, or Fn plus the lock key, and retest. Some laptops also have an Fn lock that changes what the top row does, and Mouse Keys can make the numpad move the pointer instead of typing.
A tester that highlights a key permanently shows a stuck state. Release Shift, Ctrl, Alt, NumLock and Caps Lock once each, and turn off Sticky Keys if a prompt appears after pressing Shift five times.
Stuck modifier keys and lock states
A stuck modifier makes ordinary keys print uppercase, accented or as shortcuts. If a stuck Shift shows lit in the tester after you let go, clean around the key or test the board elsewhere. The on-screen keyboard is a quick way to keep working while you find the cause.
Remap and Software Causes of a Typing Issue
Software can rewrite keys before they reach your app. A remap utility, a macro tool, a game overlay, a browser extension and a remote desktop session can each translate keys. Pause them one at a time in their settings and retest; if the typing problem disappears, you found it. Remote desktop deserves extra attention, since the remote machine may use a different language and layout from the one you are typing on.
Also check for auto correct that rewrites text as you type, and run a scan with your antivirus if the behaviour looks random, because malware can interfere with input. Then work through the two fixes below, which resolve the rest of the software cases.
Update the keyboard driver in Device Manager
Right-click Start and open Device Manager.
Expand Keyboards, right-click your keyboard and choose Update driver.
Pick Search automatically for drivers, then restart.
If the problem began after an update, choose Properties and roll back the driver instead.
Run the keyboard troubleshooter
Search for Troubleshoot in the Windows search bar, open Additional troubleshooters, expand Keyboard and choose Run the troubleshooter. It rarely finds layout mistakes, but it does catch a damaged driver, so it earns a place near the end of the software steps.
Hardware Faults Behind a Keyboard Typing Issue
Hardware becomes likely when the same wrong output follows the keyboard from one computer to another, or when a modifier stays active after release. Liquid damage or other physical damage, a faulty keyboard ribbon, worn key switches or a damaged keyboard matrix can all print strange characters, and several keys misbehaving together points to the matrix. Debris can also hold a key down; use compressed air before anything drastic.
For an external board, replacing it is cheaper than repair. For a laptop, a technician should handle the work because opening the case risks other components.
Hardware warning signs
The same wrong output appears on a second computer.
Several unrelated keys fail together after a spill or knock, a sign of a damaged key or board.
A key repeats, shows ghosting or stays highlighted in the tester without being pressed.
Testing Keys with the Keyboard Layout Test
Run the keyboard layout test once your settings look right, using any keyboard tester. Press each key you suspect and compare the highlighted key with what the editor prints. A correct highlight with the wrong character confirms keyboard typing wrong characters is a software fault; a missing or stuck highlight points at the board. Repeat the test after every change so you know which fix actually worked.
Frequently asked questions
My @ and " are swapped. What happened?
Your keyboard is UK but Windows is set to US English, or the other way round. Those two symbols trade places between the layouts. Add the matching language and remove the other.
Why does # type £ or \ type #?
Same cause. On UK caps # lives on the key left of Enter, which US treats as backslash; Shift + 3 is £ on UK and # on US.
Everything is fine except one or two keys.
A regional variant close to the detected one (Irish vs UK, Swiss vs German) or a remapped key. Pick the exact variant in the input settings.
Letters are wrong too, not just symbols.
That is a different layout family (AZERTY or QWERTZ, or Dvorak) rather than a regional variant. Use the layout detector first.