How to Fix a Laptop Keyboard That Is Not Working

A laptop keyboard can fail in different ways: no keys work, only some keys work, or it types the wrong characters. The cause might be a setting, a driver, dirt or liquid, or a hardware fault. This guide helps you tell them apart, so you know what you can fix yourself and what needs a repair.
Safety first
- If liquid was spilled on the laptop, shut it down at once, unplug the charger, and do not turn it on. Take it to a repair shop as soon as possible. Do not try to dry it with a hair dryer.
- Do not pry keys off or open the laptop unless you know how, because ribbon cables and clips break easily and may void the warranty.
- Before you uninstall anything in Step 6, connect a USB keyboard or have the on-screen keyboard ready (Windows + Ctrl + O), so you can still type if the keyboard does not come back at once.
Step-by-step: find the cause
Step 1: Notice which keys fail
Check whether the whole keyboard is dead, one row or area fails, or the keys type something else.
- The whole keyboard is dead: a driver, a setting, a stuck power state or a connection problem. Go on from Step 2.
- A few keys, or a block of keys, are dead: dirt, a worn key, or a damaged part of the keyboard. Go to Step 8.
- Keys type the wrong character: a layout or lock setting. Go to Step 5. If the keyboard works but types numbers, doubles letters or swaps symbols, our article Windows 11 Laptop Keyboard Typing Wrong Letters? 10 Fixes to Try covers that case in more detail.
Step 2: Do a full shutdown and power reset
Shut the laptop down fully: hold Shift and choose Shut down, so Windows does not use Fast Startup. Unplug the charger and, if the battery is removable, take it out. Hold the power button for 30 seconds, then reconnect and start the laptop. You should see the keyboard work at the sign-in screen. If it does, the fault was a stuck state. If it comes back later, turn off Fast Startup under Control Panel > Power Options > Choose what the power buttons do.
Step 3: Test the keyboard in the BIOS
Restart and press the BIOS key as the logo appears (often F2, Del or F10, depending on the maker). Use the arrow keys to move around the menu.
- The keys work in the BIOS but not in Windows: the problem is software. Go to Steps 5 to 7.
- They fail in the BIOS too: the problem is hardware. Go to Steps 8 and 9.
Step 4: Try an external keyboard
Plug in a USB keyboard. If it works, Windows and the USB port are fine, and the laptop’s own keyboard is the problem. Use the external keyboard while you fix the rest. If the external keyboard also does not work, the fault is in Windows or the PC. See keyboard not working on a desktop PC for tests that also apply here.
Step 5: Check keyboard settings
- Open Settings > Accessibility > Keyboard and turn off Sticky keys, Filter keys and Toggle keys to test. Filter Keys makes the laptop ignore short presses and can look like a dead keyboard.
- Check Num Lock, and look for an Fn Lock key (often Fn + Esc). On many laptops the top row acts as media keys until you press Fn, or the other way round.
- Open Settings > Time & language > Language & region and check the keyboard layout under your language. A wrong layout (for example US and UK) moves symbols such as @ and ". Press Windows + Space to switch layouts. These menu names are for Windows 11. On Windows 10, look for the same options under Settings > Time & Language and Settings > Ease of Access, because the names differ between versions.
Step 6: Reinstall the keyboard driver
- Open Device Manager (right-click Start) and expand Keyboards.
- Right-click Standard PS/2 Keyboard (or HID Keyboard Device) and choose Uninstall device. Do not tick any option to delete driver software.
- Restart the laptop. Windows reinstalls the driver on its own.
You should see the entry return in Device Manager after the restart, and the keys work. If the entry does not return, choose Action > Scan for hardware changes in Device Manager. If it still does not return, Windows does not detect the keyboard, and the fault is hardware.
Step 7: Check for updates and recent changes
Install Windows updates and the laptop maker’s BIOS and chipset updates. If the problem started after an update, use System Restore to go back to an earlier date, or uninstall the update. To test whether another program interferes, start in Safe Mode. A keyboard that works there points to a program (such as a key remapper or keyboard utility). Remove it.
Step 8: Clean the keyboard
Shut the laptop down and unplug it. Tilt it and use short bursts of compressed air around the keys. Wipe the surface with a slightly damp lint-free cloth. Dirt or crumbs can stop single keys from registering. You should see dead keys respond again. A key that is sticky or has a lifted cap needs a repair. For the safe way to clean a laptop, see how to clean a laptop safely. For mistakes that damage laptops during cleaning, see mistakes that damage laptops during cleaning.
Step 9: Check for a hardware fault
If the keyboard fails in the BIOS too, the keyboard may be worn out or its ribbon cable may be loose. On many laptops the keyboard can be replaced. Check your warranty first, or have a technician replace it. A swollen battery under the keyboard can push keys up and stop them working. If the case bulges or the touchpad is lifting, stop using the laptop and have the battery looked at.
Step 10: Use a workaround
Open the on-screen keyboard with Windows + Ctrl + O, or use an external USB or Bluetooth keyboard until the laptop is repaired. If the touchpad also stops responding, see fixing a Windows 11 touchpad that stops working.
More help
For other hardware problems, search by symptom in the PC repair guides on PC Repair Atlas.
FAQ
Why do some keys type numbers? The laptop may have Num Lock or Fn Lock on, which makes part of the keyboard act as a number pad. Turn it off.
Can a software update break the keyboard? Yes, a driver or update can cause it. Try uninstalling the driver or restoring an earlier point.
Is it worth replacing the keyboard? Usually yes if the rest of the laptop is in good condition. Compare the repair cost with an external keyboard.