If your laptop keyboard suddenly stops working, do not immediately reinstall Windows or assume the keyboard needs replacing. The cause may be a Windows accessibility setting, incorrect keyboard layout, driver problem, recent update, debris under the keys, or a hardware failure.
The best troubleshooting path depends on the symptom. A completely dead keyboard is different from a keyboard where only a few keys fail, typing is delayed, the wrong characters appear, or the keyboard works before Windows starts but stops working after sign-in.
Quick answer: Restart the laptop, check whether Filter Keys was accidentally enabled, test the keyboard before Windows starts if possible, and connect an external USB keyboard. Then install Windows updates and check the built-in keyboard in Device Manager. If only individual keys fail or the keyboard also fails in manufacturer diagnostics or BIOS, hardware becomes more likely.
First: Identify the Keyboard Problem
Before changing drivers, determine exactly how the keyboard is failing.
| Symptom | Check First |
|---|---|
| No keys respond | Restart, Filter Keys, Windows driver, hardware |
| Only a few keys do not work | Debris, damaged key mechanism, keyboard hardware |
| Keyboard types slowly | Filter Keys or overall Windows performance |
| Wrong letters or symbols appear | Keyboard language and layout |
| Letters type numbers | Num Lock or embedded numeric keypad |
| Function keys behave differently | Fn Lock or manufacturer hotkey settings |
| Keyboard stopped after Windows Update | Windows updates, driver reinstall or rollback |
| External keyboard works but built-in keyboard does not | Built-in keyboard driver or hardware |
| Keyboard works in BIOS but not Windows | Windows settings, driver or software |
| Keyboard fails even before Windows loads | Hardware or firmware becomes more likely |
This distinction can prevent unnecessary Windows resets and Registry changes.
Use the On-Screen Keyboard if You Cannot Type
Windows 11 includes an On-Screen Keyboard that can help you navigate while the physical keyboard is unavailable.
If you can use your touchpad, mouse or touchscreen, open:
Settings > Accessibility > Keyboard
Turn on:
On-Screen Keyboard
You can also normally open it with:
Windows + Ctrl + O
If the physical keyboard is completely dead, use your mouse or touchscreen to open it through Settings instead.
Microsoft documents the feature in its official On-Screen Keyboard guide.
At the Windows sign-in screen
If you cannot type your PIN or password, select the Accessibility button on the sign-in screen and open the On-Screen Keyboard.
This gives you temporary access while you troubleshoot the physical keyboard.
Restart the Laptop
Start with a real restart rather than simply closing and reopening the laptop lid.
Select:
Start > Power > Restart
A restart reloads Windows input drivers and can clear temporary keyboard problems.
If the keyboard works immediately after restarting but fails again later, note exactly when it stops—for example after sleep, after connecting a dock, or after installing an update.
Turn Off Filter Keys
Filter Keys is one of the most important Windows settings to check when the keyboard appears slow, ignores short key presses, or suddenly seems partly unresponsive.
Open:
Settings > Accessibility > Keyboard
Make sure Filter Keys is turned off unless you intentionally use it.
Microsoft explains that Filter Keys can make Windows ignore brief or repeated keystrokes.
There is also a keyboard shortcut that can enable or disable Filter Keys by holding the Right Shift key for eight seconds. This means it can occasionally be activated unintentionally.
See Microsoft's Windows keyboard accessibility settings.
Check Sticky Keys and Toggle Keys
While you are in:
Settings > Accessibility > Keyboard
also check:
- Sticky Keys
- Toggle Keys
- Filter Keys
Sticky Keys normally changes how modifier keys such as Shift, Ctrl, Alt and the Windows key behave. Toggle Keys can play sounds when Caps Lock, Num Lock or Scroll Lock is pressed.
These settings do not normally make the entire keyboard fail, but they can make keyboard behavior seem abnormal.
Disconnect External Devices
If the keyboard stopped working after connecting a dock, USB hub or other peripheral, disconnect unnecessary devices temporarily.
Remove devices such as:
- USB hubs
- Docking stations
- External keyboards
- Gaming controllers
- USB receivers
- Other unnecessary accessories
Restart the laptop with only power connected and test the built-in keyboard again.
Dell currently recommends disconnecting unnecessary external devices as an early step when diagnosing a built-in laptop keyboard. See Dell's current laptop keyboard troubleshooting guide.
Check for Dirt, Crumbs or Stuck Keys
If only certain keys fail, feel sticky, or require unusually hard presses, inspect the keyboard physically.
Turn the laptop off first.
Look for:
- Crumbs between keys
- Dust buildup
- Sticky residue
- Keys sitting lower or higher than surrounding keys
- Loose keycaps
- Visible physical damage
Dell and HP both include debris and stuck keys among common causes of laptop keyboard problems.
A soft microfiber cloth and carefully used compressed air can help remove loose debris.
Do not automatically pry keycaps off a modern laptop keyboard. Thin laptop key mechanisms are easy to damage, and some manufacturers warn that removing keys yourself can affect warranty coverage.
HP provides model-dependent guidance in its notebook keyboard troubleshooting guide.
Test With an External Keyboard
If possible, connect a basic USB keyboard.
If the external keyboard works normally
Windows is still capable of receiving keyboard input, which narrows the issue toward:
- The laptop's built-in keyboard
- Its driver
- Its internal connection
- Manufacturer firmware
If both keyboards fail
The problem may be broader, such as:
- Windows accessibility settings
- A system-wide software issue
- A frozen or overloaded Windows session
If the entire computer is lagging rather than only the keyboard, use our Windows 11 slow performance troubleshooting guide.
If you use a Bluetooth keyboard
A Bluetooth keyboard has additional pairing and wireless-driver causes that do not apply to the built-in laptop keyboard.
See our Windows 11 Bluetooth troubleshooting guide if the problem only affects a Bluetooth keyboard.
Fix Keyboard Typing Wrong Letters or Symbols
If the keyboard works but pressing keys produces the wrong characters, the physical keyboard may be fine.
Check the Windows keyboard layout.
Open:
Settings > Time & language > Language & region
Select your language and review its Language options and installed keyboards.
For example, switching between US and UK layouts changes the location of some symbols.
You can also switch installed layouts from the language indicator on the taskbar.
Microsoft documents adding, removing and switching layouts in its Windows keyboard layout guide.
Check Num Lock and Fn Lock
If certain letter keys suddenly type numbers, your laptop may use an embedded numeric keypad controlled by Num Lock.
Turn Num Lock off and test again.
Function keys can also behave differently depending on the laptop's Fn Lock configuration.
For example, pressing F2 may change brightness instead of sending the standard F2 command.
The exact Fn Lock shortcut varies between manufacturers, so check your laptop keyboard symbols or official manual rather than copying a shortcut intended for another brand.
Install Windows Updates
Before downloading drivers from third-party websites, check Windows Update.
Open:
Settings > Windows Update
Select:
Check for updates
Install appropriate available updates and restart the laptop.
Microsoft currently recommends Windows Update when troubleshooting keyboard and other input-device drivers.
You can also check:
Settings > Windows Update > Advanced options > Optional updates
for applicable driver updates.
See Microsoft's official mouse and keyboard troubleshooting guidance.
Check the Keyboard in Device Manager
Right-click Start and select:
Device Manager
Expand:
Keyboards
The built-in keyboard may appear under a generic or manufacturer-specific name, such as:
- Standard PS/2 Keyboard
- HID Keyboard Device
- A manufacturer-specific keyboard entry
Names vary considerably between laptops.
Open the keyboard's Properties and look at:
General > Device status
If Windows reports an error code, note the exact code before making changes.
Do not uninstall every HID device you see. HID entries can represent other hardware, including touchscreens, buttons and input devices.
Update the Keyboard Driver
After Windows Update, you can also check Device Manager.
- Open Device Manager.
- Expand Keyboards.
- Right-click the confirmed keyboard device.
- Select Update driver.
- Select Search automatically for drivers.
If Windows finds an appropriate update, install it and restart.
If Windows says the best driver is already installed, check the support site for your exact laptop model before using any third-party driver-download service.
Reinstall the Keyboard Driver
If the driver appears corrupted or the keyboard stopped working unexpectedly, reinstalling the device can help.
Have the On-Screen Keyboard or an external USB keyboard available first.
- Open Device Manager.
- Expand Keyboards.
- Right-click the confirmed built-in keyboard.
- Select Uninstall device.
- Confirm the uninstall.
- Restart the laptop.
After restart, Windows normally attempts to reinstall the device automatically.
Microsoft documents this standard driver-reinstallation process in its Device Manager driver guide.
Roll Back a Driver After an Update
If the keyboard worked normally until a recent driver update, reverting to the previous driver may be appropriate.
Open:
Device Manager > Keyboards > keyboard device > Properties > Driver
If Roll Back Driver is available, select it and follow the instructions.
Restart afterward.
If the button is unavailable, Windows does not have a previous driver package available for that device.
Do not uninstall security updates simply because the keyboard problem started recently. Check for newer Windows and manufacturer fixes first.
Install Laptop Manufacturer Updates
A built-in laptop keyboard can depend on more than the generic keyboard driver.
Depending on the model, proper operation may involve:
- Chipset drivers
- Hotkey software
- Serial IO or controller drivers
- Firmware
- BIOS or UEFI
Visit the official support site for your exact laptop model and check for recommended updates.
Do not install BIOS files or drivers intended for another laptop just because the brand or processor appears similar.
If installing a BIOS update, follow the manufacturer's instructions carefully and do not interrupt the update.
Test the Keyboard Before Windows Starts
One of the best ways to distinguish a Windows problem from a hardware problem is to see whether the keyboard works before Windows has loaded.
Depending on your laptop, you may be able to use keys such as:
- F2
- F10
- F12
- Esc
- Delete
during startup to enter BIOS/UEFI or the manufacturer's diagnostic menu.
The correct key varies by manufacturer.
If the keyboard works normally before Windows loads
The hardware is at least capable of communicating with the system at that stage, making Windows settings, software or drivers more likely.
If the keyboard does not respond before Windows loads
A physical keyboard problem becomes more likely.
HP, for example, advises testing whether the built-in keyboard can open its Startup Menu; if it cannot, HP treats that as evidence of an integrated keyboard hardware problem. See HP's keyboard diagnostics guidance.
Many manufacturers also provide dedicated pre-boot keyboard diagnostics.
Keyboard Not Working at the Login Screen
If the keyboard fails before you can enter your PIN or password:
- Select the Accessibility button on the Windows sign-in screen.
- Open the On-Screen Keyboard.
- Sign in using your mouse, touchpad or touchscreen.
- Restart Windows.
- Check Filter Keys.
- Install Windows updates.
- Check Device Manager.
If the keyboard works in BIOS but consistently fails only when Windows reaches the login screen, that strongly shifts attention toward software or drivers.
Keyboard Stops Working After Sleep
If the keyboard works after restarting but stops after the laptop wakes from sleep or hibernation, check for:
- Windows updates
- Chipset updates
- Keyboard or hotkey drivers
- BIOS or firmware updates from the laptop manufacturer
A problem that occurs only after sleep is more suggestive of driver, firmware or power-state handling than physically broken individual keys.
Do not begin changing random Device Manager power-management settings unless your laptop manufacturer specifically recommends them for your model.
Only Some Laptop Keys Are Not Working
When most of the keyboard works but the same one or two keys always fail, hardware becomes more likely than a general Windows keyboard driver issue.
Check:
- Whether debris is trapped around those keys
- Whether the keys feel physically different
- Whether the problem happens in BIOS or pre-boot diagnostics
- Whether the same keys fail in every app
If one key fails in Notepad, your browser, the login screen and manufacturer diagnostics, reinstalling Windows is unlikely to fix it.
Keys work in some apps but not others
If a key works normally in one program but not another, investigate that application's shortcuts and settings instead of replacing the keyboard.
Keyboard Typing Is Delayed or Laggy
If characters appear noticeably after you press the keys, first check Filter Keys.
HP specifically identifies Filter Keys as a cause of delayed key response.
If Filter Keys is already off, determine whether the entire computer is lagging.
Open Task Manager and check:
- CPU usage
- Memory usage
- Disk usage
If mouse movement, apps and animations are also slow, the keyboard may not be the real problem.
Use our Windows 11 performance troubleshooting guide to diagnose the system bottleneck.
What to Do After a Liquid Spill
If the keyboard stopped working after water, coffee, soda or another liquid was spilled on the laptop, treat it as a hardware issue rather than repeatedly testing keys.
Shut the laptop down and disconnect external power.
Avoid:
- Continuing to type on it
- Repeatedly powering it on to “see if it works”
- Using a hair dryer or extreme heat
- Pouring cleaning liquids into the keyboard
- Removing keys unless the manufacturer's service instructions specifically permit it
Liquid can damage more than the keyboard, including the motherboard and battery.
HP specifically advises servicing keyboards damaged by liquid rather than treating the problem as ordinary software troubleshooting.
When the Keyboard May Have a Hardware Problem
A keyboard hardware problem becomes more likely when:
- The same individual keys always fail.
- The keyboard does not work in BIOS or pre-boot diagnostics.
- An external USB keyboard works normally.
- The problem began immediately after a drop or impact.
- Liquid was spilled on the laptop.
- Keys are physically broken or missing.
- The keyboard works only when the chassis is pressed or moved.
- The laptop manufacturer's keyboard diagnostic reports a failure.
Dell provides interactive keyboard diagnostics on supported systems specifically to determine whether the keyboard is detected below the operating-system level. See Dell's current keyboard diagnostic guide.
If the touchpad is also not working
If both built-in input devices fail, the problem may be broader than the keyboard alone.
For touchpad-specific troubleshooting, see our laptop touchpad not working guide.
Check for physical swelling
If the keyboard deck, palm rest or touchpad appears raised or the laptop chassis is separating, stop pressing on the affected area.
A swollen internal battery can deform a laptop chassis and requires proper service.
Our laptop overheating and hardware warning guide explains additional battery-swelling warning signs.
Keyboard Fixes You Should Avoid
Older troubleshooting guides often recommend aggressive fixes much earlier than necessary.
Avoid blindly:
- Editing keyboard Registry entries
- Deleting random HID devices
- Installing third-party driver updater software
- Resetting the BIOS to fix one key
- Removing keycaps without checking the service design
- Factory-resetting Windows before testing the hardware
- Running random Command Prompt repair commands
Do not rely on the old MSDT Keyboard Troubleshooter
You may still find tutorials telling you to run commands such as:
msdt.exe -id KeyboardDiagnostic
That advice is outdated for current Windows 11 systems.
Microsoft has retired the legacy Microsoft Support Diagnostic Tool platform and specifically lists the old Keyboard troubleshooter among the troubleshooters being removed.
Use current Windows settings, Windows Update, Device Manager and manufacturer diagnostics instead.
Microsoft explains the change in its MSDT deprecation notice.
Frequently Asked Questions
Why did my laptop keyboard suddenly stop working?
Possible causes include a temporary Windows problem, Filter Keys, a driver issue, Windows Update, debris, physical damage or a failing built-in keyboard.
How do I fix my laptop keyboard on Windows 11?
Restart Windows, turn off Filter Keys, install Windows updates, check the keyboard in Device Manager and test with an external USB keyboard. If necessary, reinstall the confirmed keyboard driver.
Why does my keyboard work in BIOS but not Windows?
That suggests the keyboard hardware can communicate with the laptop before Windows loads. Windows settings, drivers or software therefore become more likely causes.
Why does my external keyboard work but my laptop keyboard does not?
The problem is more specific to the built-in keyboard, its driver, internal connection or hardware rather than Windows being unable to accept any keyboard input.
Why are only some laptop keys not working?
If the same individual keys consistently fail across every app and before Windows starts, debris or physical keyboard damage becomes more likely.
Why is my laptop keyboard typing slowly?
Check Filter Keys under Settings > Accessibility > Keyboard. If the whole computer is also slow, check CPU, memory and disk usage.
Why is my keyboard typing the wrong letters?
Check your Windows keyboard language and layout under Settings > Time & language > Language & region.
Why are letters typing numbers on my laptop?
Num Lock may be enabling an embedded numeric keypad on your laptop. Turn Num Lock off and test the affected keys again.
Why are my F1 to F12 keys doing the wrong thing?
Your laptop may be using Fn Lock or manufacturer hotkey behavior. The correct shortcut varies by manufacturer and model.
Can Filter Keys make my keyboard seem broken?
Yes. Filter Keys can make Windows ignore brief or repeated keystrokes and can cause typing to feel delayed or unresponsive.
How do I type if my laptop keyboard is completely dead?
Use Windows' On-Screen Keyboard through Settings > Accessibility > Keyboard, or connect an external USB keyboard.
Should I uninstall the keyboard driver?
It can be useful after Windows Update and simpler fixes fail. Uninstall only the confirmed keyboard device, then restart Windows so it can attempt to reinstall the driver.
Should I run the Windows Keyboard Troubleshooter?
The old MSDT Keyboard Troubleshooter has been retired from current Windows 11 systems. Older tutorials that tell you to run msdt.exe may therefore no longer apply.
Should I reinstall Windows?
Not as an early fix. First test the keyboard before Windows loads, use an external keyboard, check accessibility settings, install updates and reinstall the driver.
Can a Windows update break the keyboard?
A driver or compatibility change can cause keyboard problems. Check for newer updates and manufacturer drivers first, and consider driver rollback when the issue clearly began after a driver update.
Why does my keyboard work after Restart but not after turning the laptop on?
A startup, firmware or driver issue may be involved. Install current Windows, chipset and BIOS updates from the laptop manufacturer before making advanced power-setting changes.
Why does my keyboard stop working after sleep?
Driver, firmware or power-state handling may be involved. Check Windows Update and the laptop manufacturer's chipset, hotkey and BIOS updates.
Can a liquid spill permanently damage the laptop keyboard?
Yes. Liquid can damage the keyboard circuitry and other internal components. Shut the laptop down and have it inspected rather than repeatedly powering it on.
How do I know if my laptop keyboard needs replacing?
Replacement becomes more likely when the keyboard fails before Windows starts, manufacturer diagnostics report a hardware failure, individual keys remain permanently dead, or there is physical or liquid damage.
Final Thoughts
If your laptop keyboard is not working, start by identifying whether the whole keyboard is dead, only certain keys fail, typing is delayed, or Windows is producing the wrong characters.
Restart the laptop and check Windows accessibility settings—especially Filter Keys—before changing drivers. Then use Windows Update, Device Manager and your laptop manufacturer's official support tools.
Testing the keyboard before Windows starts and comparing it with an external USB keyboard are especially useful because they help separate a Windows problem from a built-in keyboard hardware problem.
Avoid outdated MSDT keyboard-troubleshooter commands, random Registry edits and factory resets. If the keyboard also fails in pre-boot diagnostics or was damaged by liquid or impact, hardware service is more appropriate than additional Windows tweaks.
