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.

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
- Filter Keys or Sticky Keys got turned on by accident, for example by holding Shift
- Num Lock or Fn Lock is on, so some keys have a different function
- The Windows input language or keyboard layout changed
- The keyboard driver got messed up after an update
- 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.
-
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.
-
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.
-
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".
-
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.
-
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.
-
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.
-
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.
-
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

USB Device Not Recognized
"USB device not recognized" usually points to a bad port, cable or stuck driver, so try another port and, for a flash drive or disk, look for it in Disk Management.

Computer Running Slow on Windows
A slow PC is usually caused by too many apps launching at startup or a nearly full C: drive, so turn off startup apps in Task Manager and free up space first.

Microphone not working on Windows laptop
Usually the mic itself is fine, but Windows or your browser hasn't been given access to it, or the wrong input is selected; check microphone permissions and the input device first.
Terms used on this page
More Windows & PC problems
Last updated: