Troubleshooting

Laptop keyboard not working or typing wrong keys: causes and fix

Quick answer: Often the keyboard isn't broken: Filter Keys, Num Lock or Fn Lock, or the wrong Windows input language stops it typing or changes letters; restart first, then check these locks and the language.

Windows Easy About 15 min 8 steps Windows & PC
Laptop keyboard not working or typing wrong keys: causes and fix — An older man with glasses frowns as he presses keys on a laptop at a dining table in the evening.

Symptoms

  • No keys type anything, but the touchpad and mouse work
  • Keys register with a delay or only when held down
  • Numbers or letters from another language appear instead of what you type
  • "Do you want to turn on Sticky Keys?" pops up, or only some keys work

Likely causes

  1. Filter Keys or Sticky Keys got turned on by accident, for example by holding Shift
  2. Num Lock or Fn Lock is on, so some keys have a different function
  3. The Windows input language or keyboard layout changed
  4. The keyboard driver got messed up after an update
  5. A spill, debris under the keys, or a loose internal keyboard cable

Step-by-step fix

Start from step one and test again after each step; steps go from the simplest to the most technical.

  1. Restart the laptop

    A full "Restart" (not Sleep) often brings back a keyboard that froze after sleep or an update. If you can't even type your password, open the "On-Screen Keyboard" from the Accessibility icon on the sign-in screen.

  2. Turn off Filter Keys

    Go to "Settings > Accessibility > Keyboard" (on older versions, "Ease of Access > Keyboard") and turn off "Filter keys", "Sticky keys" and "Toggle keys". Holding the right Shift key for eight seconds turns Filter Keys on, which makes short key presses get ignored.

  3. Check language and layout

    If the wrong characters appear, look at the language indicator next to the clock (such as ENG) and switch with Win + Space or Alt + Shift. In "Settings > Time & language > Language & region", remove keyboard layouts you don't use, such as an accidental "United States-International".

  4. Check Num Lock and Fn Lock

    On compact laptops, when Num Lock is on, keys like U, I, O, J, K and L type numbers; press Num Lock once (sometimes with Fn). If F1–F12 change volume or brightness instead of their usual function, Fn + Esc toggles Fn Lock on many models.

  5. Test keys with the tool

    Press every key one by one in our free Keyboard Test tool to see exactly which keys don't register. If a whole row or a cluster of neighboring keys is dead, it's usually hardware or liquid damage, not a setting.

  6. Reinstall the keyboard driver

    In "Device Manager", expand "Keyboards", right-click the keyboard (usually "Standard PS/2 Keyboard" or "HID Keyboard Device") and choose "Uninstall device", then restart so Windows reinstalls it. If it broke after an update, install the chipset driver from Windows Update or the laptop maker's website.

  7. Try an external keyboard

    Plug in a USB keyboard; if it works but the built-in one doesn't, Windows is fine and the problem is the internal keyboard or its cable. Until it's repaired, an external keyboard is the best way to keep working.

  8. After a spill, power off immediately

    If coffee or water spilled on the keyboard, shut the laptop down right away, unplug the charger and stand it upside down in a tent shape so liquid can drain. Hair dryers and rice don't help; don't turn it on until it's completely dry, and take it to a technician soon, because leftover residue corrodes the board later.

If nothing worked

If an external keyboard works and the Keyboard Test tool shows built-in keys aren't registering, the laptop keyboard needs replacing; on many models it can be replaced on its own.

To clean it, use only compressed air or a soft brush, and don't pry keys off with a knife or screwdriver.

Don't install "keyboard repair" or "registry cleaner" apps; none of them fix a faulty keyboard.

Frequently asked questions

Why does the keyboard work on the sign-in screen but not after I log in?

That means the hardware is fine and a setting or app is interfering after sign-in. Check Filter Keys, and disable or uninstall recently added apps such as key remappers or macro tools.

Is it OK to use an external keyboard permanently?

Yes; a USB or Bluetooth keyboard is safe and Windows recognizes it without special drivers. But if the built-in keyboard is pressing keys on its own, get it repaired soon.

Related problems

Terms used on this page

More Windows & PC problems

All problems Windows & PC

Last updated:

Type a few letters of the topic; spelling variants are treated as the same.