Check if your keyboard is actually connected
The most common reason you cannot type is that your keyboard has become disconnected or is not powered on. If you use a wireless keyboard, check that the batteries are not dead — most wireless keyboards have a small battery indicator light on the device itself or will show a low-battery warning on your screen. Try replacing the batteries with fresh ones and wait a few seconds for the keyboard to reconnect.
If you use a wired keyboard, look at the cable connection at the back of your computer. The USB plug should be fully inserted into the port — it should not be loose or partially pulled out. Try unplugging the keyboard and plugging it back in firmly. If you have other USB ports available, try a different port to rule out a faulty connection point.
For laptop keyboards, the connection is built in, so this step does not explore. Move to the next section if you are using a laptop.
Restart your computer completely
A restart fixes most keyboard problems because it resets the connection between your keyboard and your operating system. Save any open work first, then shut down your computer fully — do not use sleep or hibernation mode. Wait 30 seconds, then turn it back on.
While the computer is restarting, you may see a login screen that requires you to type a password. If your keyboard works at that point but stops working after you log in, the problem is likely a software issue rather than a hardware one. Note this detail for the troubleshooting steps below.
Check if a key is physically stuck
A stuck key can prevent your entire keyboard from working properly. Look closely at each key on your keyboard, especially the spacebar, Enter key, and Shift key, which are pressed most often. Press each key gently and listen for a click. A stuck key will feel different — it may not spring back up, or it may make a grinding sound.
If you find a stuck key, turn off your computer and unplug the keyboard. Use a can of compressed air to blow between the keys, holding the can upright and using short bursts. Do not shake the can. If the key is still stuck after this, the keyboard may need to be replaced. For a laptop, do not attempt to remove keys yourself — contact the manufacturer or a repair technician.
Key Takeaways
- Wireless keyboards stop working most often because the batteries are dead, so replace them with fresh batteries and wait for the keyboard to reconnect.
- Wired keyboards need to be fully plugged into a USB port, so unplug and reconnect firmly, or try a different port on your computer.
- Restarting your computer resets the keyboard connection and fixes most software-related typing problems.
- A physically stuck key can block your entire keyboard from working, so check each key for resistance and use compressed air to clear debris.
- If your keyboard works at the login screen but stops working after you log in, the problem is likely a software setting rather than a hardware failure.
Disable keyboard filters or accessibility settings
Windows and Mac both have accessibility features that can accidentally block keyboard input. On Windows, open Settings and search for "Sticky Keys" or "Filter Keys." These features are designed to help people with certain disabilities, but if they are turned on by accident, they can prevent normal typing. Turn off any setting that mentions keyboard filtering or key repeating.
On Mac, go to System Preferences, then Accessibility, then Keyboard. Look for "Slow Keys" or "Mouse Keys" and make sure they are turned off. If you see a checkbox next to either one that is marked, click it to disable the feature.
You can also check whether Caps Lock is on — this will not prevent you from typing, but it will make all your letters appear in uppercase. Look at the Caps Lock key; on most keyboards, a small light turns on when Caps Lock is active. Press Caps Lock once to turn it off.
Update or reinstall your keyboard driver
A keyboard driver is the software that tells your operating system how to understand signals from your keyboard. If the driver becomes corrupted or outdated, your keyboard may stop working even though the hardware is fine.
On Windows, right-click the Start button and select Device Manager. Look for "Keyboards" in the list and click the arrow next to it to expand the section. Right-click on your keyboard and select "Update driver." Windows will search for the latest version. If an update is found, follow the prompts to install it. If no update is available, right-click again and select "Uninstall device," then restart your computer. Windows will automatically reinstall the driver when it starts up.
On Mac, keyboard drivers are built into the operating system and cannot be updated separately. If you suspect a driver problem on Mac, restart your computer in Safe Mode by holding Shift while it starts up. If your keyboard works in Safe Mode, the problem is caused by a third-party process, and you should uninstall any recently added software.
Check for malware or conflicting software
Malware or recently installed software can interfere with your keyboard. If your keyboard worked fine until you installed a new program, that program may be the cause. Uninstall the program and restart your computer to see if typing works again.
Run a malware scan using Windows Defender (built into Windows) or the Malwarebytes tool (free version available online). These scans take 10 to 30 minutes and will remove harmful software that might be blocking your keyboard. Restart your computer after the scan completes.
Try an external keyboard to test your computer
If you are using a laptop and cannot type, borrow an external USB keyboard and plug it in. If the external keyboard works, your laptop's built-in keyboard is faulty and will need to be repaired by the manufacturer or a technician. If the external keyboard also does not work, the problem is with your computer's system, not the keyboard hardware.
If you are using a desktop computer and the keyboard does not work, try a different keyboard if you have one available. If a different keyboard works, your original keyboard is broken and should be replaced. If no keyboard works on your computer, the problem is likely a USB port failure or a deeper system issue that may require professional repair.
Frequently Asked Questions
Why does my keyboard work sometimes but not all the time?
Intermittent keyboard problems are usually caused by a loose connection or low batteries. For wireless keyboards, replace the batteries and check that the receiver is plugged in firmly. For wired keyboards, try a different USB port. If the problem continues, the keyboard cable may be damaged and the keyboard should be replaced.
My keyboard types the wrong characters or numbers instead of letters. What is happening?
This usually means Num Lock is turned on. Look for a Num Lock key on your keyboard (often in the upper right area) and press it to turn off the number pad. If that does not fix it, your keyboard may have a hardware problem and should be replaced.
Can I use my phone or tablet to type on my computer?
Some phones and tablets can connect to a computer via Bluetooth and act as a keyboard, but this requires specific software and is not a permanent solution. It is faster to fix your actual keyboard or buy a replacement keyboard than to set up a phone as a workaround.
I spilled liquid on my keyboard. Can I fix it?
Turn off your computer when ready and unplug the keyboard. Do not try to use it again until it is completely dry — this usually takes 24 to 48 hours. Place the keyboard in a warm, dry location or use a fan to speed up drying. Do not use heat or a hair dryer, as this can damage the electronics. If the keyboard still does not work after drying, it will need to be replaced.
My keyboard works fine, but one specific key is broken. Do I have to replace the whole keyboard?
For desktop keyboards, you can sometimes replace just the broken key cap or the key switch underneath, depending on the keyboard type. For laptop keyboards, individual key replacement is difficult and usually requires professional repair. It is often cheaper to buy a new keyboard than to repair a single key.