The fastest fix is to select the keyboard layout that matches the keys in front of you, then check accessibility settings and hardware only if the mismatch continues. Troubleshooting keyboard typing wrong characters starts with the active layout. A UK layout can show a quotation mark when you expect an at sign. The keyboard layout is the mapping that tells your computer which character to produce when you press each physical key. These first checks do not change your files or remove settings.
Unexpected letters or symbols can slow down a sign-in or a work task. You can check the input source, then look at other causes only if the output stays wrong. Later checks include accessibility features, software, and physical faults. Start with the layout because it is quick to check and easy to change back.
Key Takeaways
- Check the active layout or input source before changing other settings.
- A laptop can type wrong characters even when its keys still work.
- Use an on-screen keyboard or USB keyboard to compare results.
- Check modifier keys and accessibility features if symbols change unexpectedly.
- Inspect keys that fail in a steady pattern or feel stuck.
- Share your test results with IT or a repair professional if needed.
Troubleshooting Keyboard Typing Wrong Characters on Windows
If Shift+2 produces a quotation mark instead of an at sign, check the active Windows layout first. The wrong layout can change symbols or letters even when the laptop keys work. Check the input-language icon before changing drivers.
Press Windows + Space to cycle through installed layouts, then look at the taskbar input-language icon. A UK rather than US layout can place the quotation mark where you expect an at sign. A laptop troubleshooting keyboard typing wrong characters should check its active layout before changing drivers.
Match the layout to the keys on your keyboard
In Windows 11, open Start > Settings > Time & language > Language & region. Review the installed language and keyboard layouts, then compare the active choice with the printed keys. Microsoft’s Windows layout settings guide explains how to add, switch, or remove a layout.
Changing a keyboard layout does not change the Windows display language. Changing the display language may also change the layout, so check the input icon before typing a sign-in password.
Remove layouts you do not use
Remove layouts you no longer need from Language & region. This can reduce accidental switches between options. Changing the active input source is separate from changing an app’s display language, as the guide to stuck Facebook language settings explains.
| Physical clue | Possible layout mismatch | What to check |
|---|---|---|
| Shift+2 gives quotation mark | UK instead of US | Taskbar input icon |
| A and Q seem swapped | AZERTY instead of QWERTY | Printed key positions |
| Y and Z seem swapped | QWERTZ instead of QWERTY | Active keyboard layout |
At the sign-in screen, check the input-language icon before entering your password.
Check the active input source on a Mac
If your Mac types A when you press the key marked Q, check whether AZERTY is active. The input source controls how the Mac reads each key. Choose the source that matches the physical keys.
Open the Input Source menu and select a matching option. For example, switching from ABC – AZERTY to U.S. corrected a password-entry problem. A Magic Keyboard follows the active Mac input source, so check that setting before treating the keyboard as faulty.
Switch from the Input Source menu
The active source appears in the Input Source menu. Compare its name with the layout printed on your keys. AZERTY swaps the A and Q positions compared with QWERTY, so the wrong choice can change letters while the keyboard itself works.
The Globe key changes the input source by default on the Mac described. If the source changes by accident, the Globe key may be part of the cause.
Review input sources in System Settings
Open System Settings > Keyboard > Input Sources > Edit to review the sources on your Mac. Remove options you do not use so they are less likely to be selected by mistake.
A display language and an input source serve different jobs. The display language changes menus, while the input source changes the characters typed by your keys. A Mac can use a familiar display language with a different keyboard layout.
If the Globe key switches sources when you do not expect it, review its behavior in Keyboard settings.
Turn off features that change key behavior
If ordinary letters suddenly appear capitalized or symbols appear unexpectedly, check for an active modifier or accessibility feature. Sticky Keys and Filter Keys are accessibility tools, not signs of a broken keyboard. Turn them off if you do not use them.
In Windows 11, open Settings > Accessibility > Keyboard to turn off Filter Keys. You can also check Sticky Keys and Filter Keys in Control Panel under Ease of Access > Change how your keyboard works. The Filter Keys settings include a shortcut that can turn the feature on after holding right Shift for eight seconds.
Use these three checks to rule out common changes in key behavior:
- Press and release Shift, Ctrl, and Alt to clear a held modifier.
- Turn off Sticky Keys if you do not use that feature.
- Turn off Filter Keys and check its shortcut setting.
Num Lock can also change what some compact laptop keys do. If Filter Keys turns on after holding right Shift, disable its eight-second shortcut in the setup.
Use quick tests to separate a setting from a hardware fault
An external keyboard gives you a quick comparison: if it types correctly while the laptop keyboard does not, the built-in keyboard is the stronger suspect. A second keyboard helps narrow the problem without opening the computer. The same wrong output on both keyboards points more toward software or a setting.
In Windows 11, press Ctrl + Windows + O to open the On-Screen Keyboard. In Windows 10 or 11, press Windows + R, type OSK, and press Enter. Compare its displayed layout with the physical keys, then type with an external USB keyboard.
Try the affected keyboard on another computer if you can. That test can show whether the problem follows the keyboard or stays with your computer.
| Test | What you observe | What it suggests |
|---|---|---|
| Type on an external keyboard | External works, built-in does not | Built-in keyboard fault is more likely |
| Compare the On-Screen Keyboard | Displayed layout differs from physical keys | Active layout may be wrong |
| Test the affected keyboard elsewhere | Same keys fail on another computer | Keyboard hardware may be at fault |
Keyboard ghosting means some simultaneous key combinations fail to register. That differs from phantom input, where characters appear without an intended keypress.
Record which keys behave differently and whether the same problem occurs on the external keyboard.
Update the keyboard driver after checking the layout
If the layout is correct and more than one keyboard types the wrong characters, check the keyboard driver in Device Manager. This Windows check can help when the issue continues after basic tests. A driver update cannot repair a physical keyboard fault.
In Windows 11, open Device Manager and expand Keyboards. Right-click the keyboard, select Update driver, then choose Search automatically for drivers. Device Manager lists keyboard devices under Keyboards and offers an automatic driver search.
These Windows steps also apply when troubleshooting keyboard typing wrong characters on a Lenovo laptop. The physical keyboard layout still needs to match the selected layout. A laptop brand does not change how Windows handles the driver menu.
Windows may find a driver update, or it may report that the best driver is already installed. Test the same keys after the update, and restart if Windows prompts you.
Retest the same keys after the update before changing another setting.
Clean and inspect keys without risking damage
When only one or a few keys misbehave, inspect those keys for a stuck position or visible debris before changing system settings. A consistent pattern can point to a physical issue. Do not spray liquid into the keyboard or remove keycaps.
Open a plain text document and test the affected keys one at a time. Notice whether a key feels stuck, sits unevenly, or fails each time. A key that feels different from nearby keys may need care beyond a settings change.
Check for stuck or damaged keys
Shut the notebook down before checking the key area. Look for visible crumbs or debris around the keys, but do not force a key that feels stuck. A key that repeats or fails in one spot may need repair.
Careful key checks also help with broader Chromebook keyboard problems, where debris, a temporary glitch, or account settings can affect input.
Use Apple’s compressed-air steps on supported MacBooks
Apple’s compressed-air steps apply only to a MacBook from 2015 or later, or a MacBook Pro from 2016 or later. Use them when a key is unresponsive or feels different. Apple’s MacBook cleaning steps call for a specific angle and spray direction.
- Shut the notebook down and inspect the affected area first.
- Hold it at a 75-degree angle, with the straw about a half-inch away.
- Spray from left to right without inverting the can.
Then rotate the notebook to its right side and left side, using the same left-to-right motion each time. Do not use this method on other devices.
If keys remain unresponsive after the specified cleaning steps, arrange service through an Apple Retail Store or Apple Authorized Service Provider.
Check for a temporary software conflict
If the same keyboard works in one app but not another, the problem may be limited to an app or software setting. Start with a restart, then test the same keys in a plain text app. Windows Safe Mode can help show whether startup software affects input.
Restarting Windows can clear a temporary software state, but it does not remove installed keyboard layouts. If the issue remains, test in Safe Mode. If the behavior changes there, a startup app or other software conflict may be involved.
Key-mapping, macro, or text-expansion software can change what your computer types. Check whether one of these tools runs when the issue starts. Compare the same keys in another app to see whether the behavior follows one program.
Phantom input means characters appear without an intended keypress. Keyboard ghosting is different: some simultaneous key combinations fail to register. The distinction helps describe the issue clearly when you ask for support.
Before asking for help, note the app, operating system, keys pressed, and characters that appeared.
Conclusion
Start with the active layout and stop once the characters match the keys on your keyboard. A layout mismatch is a quick fix, while an external-keyboard test can help narrow a lasting fault.
If the problem remains, keep a short record of the keys you pressed and what appeared. Include whether another keyboard or app changed the result. These details help your IT team or repair professional focus on the cause.
If the problem continues, share the keys you pressed and the results of your tests with your IT team or a repair professional.



