The Three Quick Checks
Before doing anything else, try these three things. One of them fixes the problem about 90% of the time.
1. Check the Keyboard Layout
The most common cause of "wrong characters" is that the keyboard input language or layout has been changed without you realizing it. Windows makes this extremely easy to do accidentally — the shortcut is Alt + Shift or Windows + Space, which you can hit by mistake at any time.
On Windows:
Look at the taskbar near the clock. You should see a language indicator — it might say "ENG" or show a keyboard icon. Click it and verify it shows your expected language and layout (e.g., "English (United States) - US"). If it shows something else — "ENG UK," "DEU," "FRA" — that is your problem. Click the correct layout.
If the language you need is not listed, go to Settings > Time & Language > Language & region and make sure your preferred language is installed and set as default.
A particularly confusing scenario: switching from US to UK English. Most keys are the same, but the @ and " symbols are swapped, the # becomes £, and the \ key behaves differently. Everything seems mostly right with a few maddening exceptions.
2. Check Num Lock
Many laptops (especially 14-inch and smaller models without a dedicated number pad) have a "Num Lock" function that turns a block of letter keys into a number pad. When Num Lock is active, pressing J types 1, K types 2, L types 3, U types 4, and so on.
Look for a Num Lock indicator light on your laptop. Press the Num Lock key (sometimes labeled "NumLk" and often requiring Fn + Num Lock). If the wrong characters stop, Num Lock was the cause.
This catches a surprising number of people because the Num Lock key is easy to hit accidentally and the symptom — random numbers appearing instead of letters — seems like a serious hardware failure.
3. Check for Stuck Keys
Press each modifier key one at a time: Shift, Ctrl, Alt, Fn, and Windows key. A physically stuck modifier key changes the output of every other key you press. A stuck Shift key makes everything uppercase and turns number keys into symbols. A stuck Fn key can remap many keys to secondary functions.
Try pressing each modifier key firmly a few times to unstick it. If you suspect a stuck key but cannot identify which one, open the On-Screen Keyboard (Windows key, type "on-screen keyboard"). The On-Screen Keyboard highlights modifier keys when they are active, so you can visually see if Shift, Ctrl, Alt, or another modifier is registering as held down.
If the Quick Checks Did Not Help
Filter Keys or Sticky Keys Are Enabled
Windows has accessibility features that change how keystrokes are interpreted. Sticky Keys makes modifier keys toggle instead of requiring you to hold them. Filter Keys ignores rapid or repeated keystrokes. These can make it feel like the keyboard is typing wrong characters or ignoring input.
Go to Settings > Accessibility > Keyboard (Windows 11) or Settings > Ease of Access > Keyboard (Windows 10). Make sure Sticky Keys and Filter Keys are both turned off.
Driver Issues
Corrupted or incorrect keyboard drivers can cause bizarre behavior. This is more likely if the problem started after a Windows update.
Open Device Manager (right-click Start, select Device Manager). Expand Keyboards. Right-click your keyboard device and select Uninstall device. Restart the laptop. Windows will reinstall the default keyboard driver on boot.
If you have third-party keyboard software installed (from the laptop manufacturer — Lenovo Vantage, Dell Support Assist keyboard utilities, etc.), try uninstalling it and see if the behavior changes.
Hardware Damage
If none of the software fixes work, the keyboard may have physical damage. Common causes:
- Liquid spill. Even a small amount of liquid can short-circuit key traces, causing keys to register as different keys or to trigger multiple keys at once. If you spilled something on the keyboard, even weeks ago, residue can cause intermittent issues.
- Flex cable connection. The keyboard connects to the motherboard via a thin flex cable. If this cable is loose or partially disconnected (which can happen if the laptop was recently opened for repair), some keys may map incorrectly.
- Worn key contacts. On older laptops, the membrane under the keys can wear out, causing keys to register inconsistently.
For hardware issues, an external USB keyboard is a good diagnostic tool. If the external keyboard types correctly while the laptop keyboard does not, the problem is definitively hardware-related and the laptop keyboard or its connection needs repair.
macOS-Specific Issues
On a Mac, the keyboard layout switcher shortcut is Control + Space or Fn + Globe on newer MacBooks. Check System Settings > Keyboard > Input Sources to verify the correct layout is selected. The globe key on newer MacBooks can cycle through input sources with each press, making it easy to switch accidentally.
If your Mac keyboard types wrong characters only in specific apps, the app may have its own input language setting. Check the app's preferences.
If the keyboard issues coincide with other problems like Bluetooth devices disconnecting or WiFi dropping, a broader system issue like a problematic OS update may be the root cause.
Related: Bluetooth Mouse Stutters Every Few Seconds · Why Does My WiFi Keep Disconnecting? · Bluetooth Speaker Keeps Disconnecting
Written by James Chen
James covers technology and gadgets, breaking down complex topics into plain language. He enjoys helping readers get more out of their devices.