How to Troubleshoot a Keyboard in Windows 10
In this article
If your keyboard is typing wrong characters, not responding, or completely dead, the quickest fix is usually to restart your PC, check the connection, and update the driver. This guide walks you through every step in order, from simple checks to advanced fixes, so you can get back to typing fast.
What You'll Need
- A second keyboard (USB or wireless) for testing, if possible
- Access to the on-screen keyboard (Win + Ctrl + O) if your physical keyboard is not working
- Internet connection for downloading drivers (optional)
Step-by-Step
- Restart your PC. This clears temporary glitches that often affect keyboards. Save any open work, then click Start > Power > Restart.
- Check the physical connection. For wired keyboards, unplug the USB cable and plug it into a different port (preferably a USB 2.0 port directly on the PC, not a hub). For wireless keyboards, replace the batteries, then re-pair the receiver (if it uses a USB dongle, remove and reinsert it).
- Check if the keyboard works in another app. Open Notepad and try typing. If it works there, the issue is specific to the app you were using. If not, continue.
- Test with a different keyboard. If you have a spare, plug it in. If the spare works, your original keyboard may be faulty. If neither works, the problem is likely with Windows or the USB port.
- Use the on-screen keyboard to log in. If your physical keyboard is not working at the login screen, click the Ease of Access icon (the clock-like icon) at the bottom-right, then select "On-Screen Keyboard." This lets you type with your mouse so you can log in and continue troubleshooting.
- Run the Keyboard Troubleshooter. Go to Settings (Win + I) > Update & Security > Troubleshoot > Additional troubleshooters. Select "Keyboard" and click "Run the troubleshooter." Follow the on-screen instructions.
- Update or reinstall the keyboard driver. Right-click the Start button and select "Device Manager." Expand "Keyboards," right-click your keyboard device (usually "Standard PS/2 Keyboard" or "HID Keyboard Device"), and select "Update driver." Choose "Search automatically for drivers." If that finds nothing, right-click again and select "Uninstall device." Restart your PC – Windows will reinstall the driver automatically.
- Check for Windows updates. Go to Settings > Update & Security > Windows Update and click "Check for updates." Install any pending updates, then restart.
- Check for stuck keys or debris. Turn the keyboard upside down and gently shake it. Use compressed air to blow out crumbs or dust. For laptop keyboards, you may need to gently pry up a keycap (if you're comfortable) to clean underneath.
- Check filter keys and sticky keys settings. Go to Settings > Ease of Access > Keyboard. Make sure "Use Filter Keys" and "Use Sticky Keys" are both turned off. These features can cause keys to behave oddly (e.g., not repeat, or require holding a key).
- Check the language and layout settings. If keys are typing the wrong characters (e.g., @ instead of "), your keyboard layout may be set to a different language. Go to Settings > Time & Language > Language. Under "Preferred languages," ensure your correct language is at the top. Then click on it, select "Options," and check the keyboard layout. If it's wrong, add the correct one and remove the incorrect one.
- Check for third-party software conflicts. Some keyboard customization software (like Razer Synapse, Logitech Options, or Corsair iCUE) can interfere. Temporarily close them from the system tray (right-click the icon and choose Exit) and test again. If that works, update or reinstall the software.
- Run a system file check. Open Command Prompt as administrator (type "cmd" in the Start search, right-click it, and select "Run as administrator"). Type
sfc /scannowand press Enter. Wait for it to finish, then restart. - Check for hardware issues in Device Manager. Expand "Keyboards" – if there's a yellow exclamation mark, right-click and select "Properties" to see the error code. If it says "Windows has stopped this device because it has reported problems (Code 43)," the keyboard may be faulty.
Common Mistakes
- Not restarting first. Many keyboard issues are temporary and a restart fixes them. Skipping this wastes time on other fixes.
- Plugging into a USB hub. Hubs may not provide enough power or may have driver issues. Always try a port directly on the PC.
- Ignoring wireless battery levels. Low batteries cause intermittent or no response. Replace them even if the keyboard's LED is still on.
- Changing settings without testing. If you tweak filter keys or layout settings, test after each change so you know what worked.
- Assuming the keyboard is broken. Test with another keyboard or on another device before buying a new one.
Tips
- Use the on-screen keyboard as a temporary fix while troubleshooting.
- Keep your keyboard drivers updated via Windows Update or the manufacturer's website.
- If you use a laptop, try an external USB keyboard to determine if the built-in keyboard is the issue.
- Clean your keyboard regularly to prevent key sticking.
- If you have a gaming keyboard with programmable keys, check that the software isn't remapping keys.
Troubleshooting
If the above steps did not resolve the issue, try these additional checks:
- Boot into Safe Mode. Restart your PC and press F8 (or Shift + Restart) to access Advanced Startup Options. Choose "Safe Mode with Networking." If the keyboard works in Safe Mode, a third-party driver or software is causing the problem. Uninstall recently installed software or drivers.
- Check the USB port with another device. Plug a mouse or flash drive into the same port. If it doesn't work, the port may be dead – try a different port.
- Use a PS/2 adapter (if applicable). Some older keyboards have a PS/2 connection. If your PC has a PS/2 port, try that – it can bypass USB driver issues.
- Reset your PC (last resort). Go to Settings > Update & Security > Recovery > "Reset this PC." Choose "Keep my files" to reinstall Windows without losing personal data. This will remove installed apps and drivers, which can fix persistent driver issues. Back up important files before doing this.
Frequently Asked Questions
Why is my keyboard typing numbers instead of letters?
This is usually caused by Num Lock being on. Press the Num Lock key (often on the top-right of the keyboard) to toggle it off. If that doesn't help, check your language/layout settings as described in Step 11.
Why is my keyboard not working after a Windows update?
Windows updates can occasionally break drivers. Try rolling back the driver in Device Manager (right-click your keyboard > Properties > Driver tab > Roll Back Driver). If that's not available, uninstall the driver and restart – Windows will reinstall it.
Can I use the on-screen keyboard if my physical keyboard is dead?
Yes. Go to Settings > Ease of Access > Keyboard and toggle on "Use the On-Screen Keyboard." You can also press Win + Ctrl + O. It works with your mouse or touchscreen.
How do I know if my keyboard is physically broken?
Test it on another computer. If it doesn't work there, it's likely broken. If it works, the issue is with your PC's settings or drivers.
Why do some keys work but not others?
This usually indicates physical damage or debris under the keys. Try cleaning the keyboard with compressed air. If that doesn't help, the keyboard may need to be replaced.
My wireless keyboard keeps disconnecting. What can I do?
Replace the batteries, move the USB receiver closer to the keyboard, and avoid placing it near other wireless devices like routers or phones. Also, try re-pairing the keyboard via the manufacturer's software if applicable.