Keyboard Typing Wrong Characters? 7 Fixes That Actually Work (2026)

If your keyboard suddenly started typing the wrong characters, your keyboard is almost certainly not broken. Nine times out of ten this is a settings slip, and the most common one is an accidental keyboard layout switch. A stray press of Windows + Space or Alt + Shift changes which character each key produces, and it happens silently. Try this right now: hold the Windows key and press Space once, then type a few letters. If the characters are back to normal, that was the whole problem. If not, work through the fixes below in order: each one takes under a minute, and they are sorted from most to least likely.

Match Your Symptom to the Cause

Match your keyboard symptom to the cause

Not every wrong character has the same cause. Match what you see to this quick list before you start changing settings, and you will land on the right fix on the first try.

What you seeMost likely cause
Letters come out as different letters, or symbols are swapped (the @ and quote keys trade places)Wrong keyboard layout after an accidental Windows + Space or Alt + Shift press
Letters type as numbers on a laptop (j becomes 1, k becomes 2)Num Lock is on, and your laptop maps a number pad onto letter keys
Everything types in CAPITALS, or Shift seems held downCaps Lock is on, or Sticky Keys is holding Shift for you
Keys repeat, ignore presses, or feel laggyFilter Keys is turned on
Wrong characters in every app and nothing above fitsKeyboard driver glitch, often after a Windows update
Only some keys are wrong, keys feel stuck, or there was a spillPhysical keyboard problem

Fix 1: Undo the Accidental Layout Switch

Switch the keyboard layout back to fix wrong characters

Windows lets you switch keyboard layouts with two shortcuts: Windows + Space and Alt + Shift. Games, fast typing, and leaning on the keyboard can trigger them without you noticing. One moment you are typing normally, the next your layout is set to something your keys were never printed for.

  • Hold the Windows key and press Space. A small popup lists your installed layouts. Keep pressing Space (with Windows still held) until the layout you want is highlighted, then release.
  • Type a few characters. If they come out right, you are done. This really is the entire fix for most people.

To stop it happening again, remove the layouts you never use so there is nothing to switch to by accident.

  • Windows 11: open Start, then Settings, then Time and language, then Language and region. Click the three dots next to your language, choose Language options, scroll to Keyboards, click the three dots next to a layout you do not use, and choose Remove.
  • Windows 10: open Start, then Settings, then Time and Language, then Language. Click your language, choose Options, scroll to Keyboards, select the layout you do not use, and click Remove.

Microsoft documents the Alt + Shift shortcut and the on-screen language bar in its official guide to switching keyboard layouts.

Layout differences are bigger than most people expect: one wrong layout can rearrange punctuation across your whole keyboard. Our QWERTY vs AZERTY comparison shows just how different two layouts can look and feel.

One special case worth knowing: if only your apostrophe and quote keys misbehave (typing an apostrophe followed by e produces é), you are on the US International layout, which turns quote keys into accent keys. Remove it the same way as above, or keep it and press Space right after the quote mark. Microsoft explains the behavior in its US International layout guide.

Fix 2: Turn Off Num Lock on a Laptop or Compact Keyboard

On laptops and compact keyboards, some letter keys double as a number pad. When Num Lock is on, pressing j types 1, k types 2, l types 3, and so on. The letters are printed right there on the keys, so it looks like the keyboard has gone mad when it is just doing what it was told.

  • Press Fn + Num Lock together. On some laptops the combination is Fn + F11 instead.
  • If your keyboard has a Num Lock indicator light, check that it goes dark, then type again.

Fix 3: Turn Off Sticky Keys, Filter Keys, and Toggle Keys

Windows accessibility features can silently change typing. Sticky Keys makes Shift, Ctrl, and Alt behave as if held down, which turns lowercase letters into capitals. Filter Keys ignores or repeats quick keypresses. Either one can be switched on by an accidental five-tap of the Shift key.

  • Windows 11: open Start, then Settings, then Accessibility, then Keyboard. Turn off Sticky keys, Filter keys, and Toggle keys.
  • Windows 10: open Start, then Settings, then Ease of Access, then Keyboard. Turn off the same three switches.

Fix 4: Update or Reinstall the Keyboard Driver

A driver glitch, often right after a Windows update, can scramble input even when every setting is correct. This one is painless: Windows keeps a fresh copy and reinstalls it for you.

  • Right-click Start and choose Device Manager.
  • Expand Keyboards, right-click your keyboard, and choose Update driver, then Search automatically for drivers.
  • If that does not help, right-click the keyboard again and choose Uninstall device, then restart your PC. Windows reinstalls the driver automatically during boot.

Fix 5: Run the Built-In Troubleshooter

Microsoft retired the old keyboard troubleshooter, so the path depends on your Windows build. Go to Start, then Settings, then System, then Troubleshoot, then Other troubleshooters, and look for a Keyboard entry. If it is there, run it and follow the prompts. If it is not there, skip this step: it simply means your build moved on, and the driver fix above covers the same ground.

Fix 6: Rule Out a Physical Problem

If every setting and driver is correct and the characters are still wrong, test the hardware itself before you assume the worst.

  • Try a different keyboard, or on a laptop, plug in an external USB keyboard. If the second keyboard types correctly, the first one is the problem.
  • For a wired keyboard, try a different USB port. A failing port can corrupt input.
  • Look for stuck keys: press each key and feel for one that does not spring back. Crumbs, dust, and dried spills are classic culprits.
  • If you spilled liquid on the keyboard recently, unplug it now. Drying sometimes saves a board, but corroded contacts rarely recover.

Fix 7: Type While You Troubleshoot With the On-Screen Keyboard

You do not have to stop working while you fix the real keyboard. Press Windows + Ctrl + O to open the On-Screen Keyboard, or press Windows + R, type osk, and press Enter. It also doubles as a diagnostic tool, which brings us to the final question.

When It Is Actually Time to Replace the Keyboard

Here is the decision framework repair techs use:

  • The On-Screen Keyboard types correctly but the physical one does not: your software is fine and the keyboard itself is failing.
  • The same wrong characters appear on a second computer: the keyboard is faulty, not your PC.
  • A spill killed several keys at once: replacement is almost always cheaper than repair.

Want to understand what is happening under the keys? Our Complete Keyboard Guide explains how keypresses become characters, covers every major layout, and walks through shortcuts and how to choose your next keyboard.

And if symbols are your daily frustration rather than a one-time glitch, see our guide to typing special characters on a keyboard.

Frequently Asked Questions

Why is my keyboard typing the wrong characters all of a sudden?

Almost always an accidental layout switch. Pressing Windows + Space or Alt + Shift by mistake changes which character each key produces. Hold Windows and press Space to switch back, then remove the layouts you never use in Settings so it cannot happen again.

How do I change my keyboard back to normal?

Hold the Windows key and press Space to cycle through your installed layouts until the right one is active. For a permanent fix, go to Settings, then Time and language (Windows 11) or Time and Language (Windows 10), open your language options, and remove every keyboard layout you do not use.

Why is my laptop typing numbers instead of letters?

Num Lock is on. Compact laptop keyboards map a number pad onto letter keys, so j types 1, k types 2, and l types 3. Press Fn + Num Lock (or Fn + F11 on some laptops) to turn it off.

Why are my symbols wrong but my letters fine?

You are probably on the wrong region layout, for example UK instead of US, which swaps the @ and quote keys. The other classic is the US International layout, which turns apostrophe and quote keys into accent keys. Check your layout with Windows + Space and remove the one you do not need.

Only some keys type wrong characters. Is my keyboard broken?

Test with the On-Screen Keyboard (Windows + Ctrl + O). If it types fine there, the problem is your physical keyboard, not Windows: look for stuck keys, try a different USB port, or test the keyboard on another computer.

eabf7d38684f8b7561835d63bf501d00a8427ab6ae501cfe3379ded9d16ccb1e?s=150&d=mp&r=g
Kaleem
Computer, Ai And Web Technology Specialist | + posts

Kaleem is a Computer Science graduate and the founder of Valley AI (valleyai.net), where he publishes in-depth, tested guides on computers, AI, and internet technologies. Every guide is researched from primary sources and updated regularly.

Leave a Comment