How to fix a keyboard that does not type in Windows
Get a keyboard typing again in Windows 10 and 11: Filter Keys, the input language, the on-screen keyboard, and a USB port that actually responds.
Steps in pictures
Do you press letters and nothing appears, the keyboard lags, or only some keys work since you accepted an accessibility prompt?
Applies to: Windows 10 and Windows 11.
What’s going on
The most ordinary cause, and a very common one, is Filter Keys. It turns on if you hold Shift for a few seconds and accept the prompt without reading it. The keyboard looks broken, and it is not. Check that before you write the laptop off.
Windows can ignore brief keystrokes on purpose (Filter Keys), switch language so what you type does not match what you expect, or lose the keyboard driver. A USB keyboard can sit on a hub that does not supply power. The on-screen keyboard tells the cases apart: if you can type with the mouse on the virtual keyboard and the physical one does not respond, the system does receive text and the fault is the hardware or the filter. If neither one types, the app in front has captured the keyboard, or the desktop has hung.
A Start menu that will not open looks similar, because it also feels like “there is no keyboard”, and sometimes it is the same Explorer hang. If the mouse works and the keyboard does not, stay with this guide. If the menu is dead as well, also see how to open the Start menu.
Steps
-
Turn off Filter Keys
Press Win + I. Open Accessibility › Keyboard. Turn off Filter Keys, Sticky Keys, and Toggle Keys, as a test. If you cannot type in order to search, open Settings from the gear icon on the Start menu with the mouse, or from the notification center. Holding the right Shift key for eight seconds is what usually turns the filter on, sometimes with a beep. When you turn it off, the letters come back at once, without a restart.
-
Try the on-screen keyboard
On the same Accessibility › Keyboard page, turn on On-Screen Keyboard. It also opens with Win + Ctrl + O if some key still responds. Type in Notepad with the mouse. If letters appear there, Windows can type and the physical keyboard is the problem: the filter, the cable, the language, or the hardware. If the on-screen keyboard cannot type either, close the window in front. A full-screen game or a remote desktop can hold the keyboard.
-
Check the input language
Win + Spacebar switches the input language. Try a few letters. If the key you think is L produces something else, the keyboard is not broken: you are on another layout. Set it back to the language you type in, such as English (United States). Under Settings › Time & language › Typing › Advanced keyboard settings you can remove layouts you do not use, so you do not switch them by accident.
-
Restart and try another port
Restart. For a USB keyboard, plug it into a rear port on a desktop, with no hub in between. Try the keyboard on another PC if you can: if it fails there too, it is the keyboard. If it works on the other PC and not on this one, continue with the driver. On a laptop, an external keyboard that works points to the built-in keyboard or its cable, not to Windows.
-
Check the driver
Device Manager › Keyboards. If there is a warning triangle, update the device or uninstall it and restart so Windows installs it again. Do not remove every HID keyboard if you have no other way to type: leave the on-screen keyboard open first. The general rule is in how to update drivers. After a failure that blocks sign-in, safe mode lets you remove the driver, sometimes with the keyboard still on a basic driver.
-
Clear a hung desktop
Ctrl + Shift + Esc opens Task Manager even when the Start menu does not. If that does not open either, press Ctrl + Alt + Delete and choose Task Manager. On Processes, Windows Explorer › Restart. The desktop blinks and the keyboard often comes back. Do not end processes you do not recognize.
If this doesn’t work
Only some keys fail
If it is always the same keys, and the on-screen keyboard still has them, it is a physical key: dust, liquid, or wear. A short blast of air, with the laptop off and tilted, can push crumbs out. Do not pour cleaning liquid in. If water was spilled, shut down, disconnect the battery if you can, and do not turn it on “to see if it dries while you type”.
It types only in some programs
Filter Keys and the input language affect everything. If Notepad works and a game does not, it is the game or an overlay. Close it. In a browser, a field can be read-only. Try another text box.
The laptop types on its own, with nobody touching it
That is a shorted keyboard, often from liquid or from a key stuck down. Boot and, if you can, disable the internal keyboard by using a USB one, or shut down until it is checked. A keyboard that keeps typing by itself can change your password or delete text. It is not a typical virus.
After sleep, the USB keyboard does not respond
In Device Manager, open Properties for the keyboard or the USB hub, then Power Management, and clear Allow the computer to turn off this device to save power. Restart. An unpowered hub is a poor place for a keyboard.
Frequently asked questions
Do Filter Keys delete data?
No. They only ignore short keystrokes or repeat slowly. That is why it feels like the keyboard “will not type”. Turn them off under Accessibility and everything is still where it was.
Can I type the password if the keyboard failed?
Use the on-screen keyboard from the accessibility icon on the sign-in screen (the circle with a person, at the lower right). From there you sign in and apply step 1.
Does a Bluetooth keyboard get the same fix?
Filter Keys and the input language, yes. If it will not pair, the fault is Bluetooth, not the keys. Connect it by cable if it has one, or pair it again.
Does reinstalling Windows repair a dead key?
No. A key that never responds, while the system’s on-screen keyboard still has that character and the physical keyboard does not, is hardware. Reinstalling does not solder it back.