The fastest way to unlock a stuck keyboard
A locked keyboard usually means one of three things: the Num Lock or Caps Lock key is on, a keyboard driver has crashed, or Windows has activated an accessibility feature. The quickest fix is to press Num Lock or Caps Lock once — if your keyboard lights up or your typing suddenly works, that was the problem. If not, restart your computer. Most keyboard lock issues clear on reboot because the driver reloads.
If restart does not work, the next step depends on whether you can still type at all. If you can type but keys are behaving strangely (numbers instead of letters, or vice versa), Num Lock or Caps Lock is still the culprit — check the lights on your keyboard. If you cannot type anything, you need to access Windows settings without the keyboard, which means using your mouse or touchpad to reach the keyboard settings panel.
Key Takeaways
- Press Num Lock or Caps Lock once — these keys lock your keyboard into number-only or uppercase-only mode and are the most common cause of a stuck keyboard.
- Restart your computer to reload the keyboard driver, which fixes most lock issues that are not caused by Num Lock or Caps Lock.
- If you cannot type at all, use your mouse to open Settings, go to Devices, then Keyboard, and toggle off Sticky Keys or Filter Keys if they are on.
- Unplug and reconnect a USB keyboard, or turn a wireless keyboard off and back on, to reset the connection without restarting.
- If the keyboard still does not work after these steps, the hardware may be damaged and the keyboard may need replacement.
Check Num Lock and Caps Lock first
Your keyboard has lights above or near the Num Lock and Caps Lock keys. Num Lock locks the number pad on the right side of your keyboard — when it is on, those keys type numbers instead of moving the cursor. Caps Lock locks all letters into uppercase. Both are toggle keys, meaning one press turns them on and another press turns them off.
Look at your keyboard right now. If the light above Num Lock is on, press Num Lock once. If the light above Caps Lock is on, press Caps Lock once. Try typing a sentence. If your keyboard works now, the lock was the problem. If you do not see lights on your keyboard, press both keys once anyway — some keyboards do not have indicator lights but still respond to the toggle.
Restart Windows to reload the keyboard driver
If Num Lock and Caps Lock are both off and your keyboard is still locked, restart your computer. Press Ctrl + Alt + Delete, then click the power icon in the bottom right corner, then click Restart. Wait for Windows to shut down and start again. When your desktop appears, try typing.
Restarting reloads the keyboard driver — the software that tells Windows how to read your keyboard. If the driver crashed or became corrupted, a restart fixes it without you having to do anything else. This solves most keyboard lock problems that are not caused by Num Lock or Caps Lock.
Turn off Sticky Keys or Filter Keys if you cannot type
If you cannot type anything at all, even after restart, Windows may have turned on Sticky Keys or Filter Keys. These are accessibility features that change how your keyboard responds. You will need to use your mouse or touchpad to turn them off.
Click the Windows Start button (bottom left), then type "keyboard settings" and press Enter. Click on Keyboard in the left panel. Scroll down to find Sticky Keys and Filter Keys. If either one shows "On", click it and toggle it to "Off". Close the settings window and try typing again.
Sticky Keys makes your keyboard wait for you to press multiple keys in sequence instead of at the same time — it is meant for people who cannot hold down Shift while pressing another key. Filter Keys makes your keyboard ignore rapid or repeated key presses — it is meant for people with tremors. Both can make a keyboard feel completely locked if you are not expecting them.
Disconnect and reconnect a USB keyboard
If your keyboard is plugged into a USB port, unplug it completely. Wait five seconds. Plug it back in. Windows will detect it and reload the driver without you restarting the whole computer. Try typing.
This works because unplugging breaks the connection between Windows and the keyboard, and plugging it back in forces Windows to recognize it as a new device and install the driver fresh. For wireless keyboards, turn the keyboard off, wait five seconds, and turn it back on instead.
Update or reinstall the keyboard driver
If the keyboard still does not work, the driver may be outdated or corrupted. Right-click the Windows Start button and click Device Manager. Look for Keyboards in the list and click the arrow next to it to expand it. Right-click your keyboard and click Update Driver. Choose "Search automatically for updated driver software" and let Windows search.
If updating does not work, right-click the keyboard again and click Uninstall Device. Restart your computer. Windows will automatically reinstall the driver when it boots. This is a more thorough reset than updating and often fixes driver problems that updating alone cannot.
Check for physical damage or debris
If your keyboard still does not work after driver updates and restarts, look at the keyboard itself. Dust, crumbs, or liquid can block keys or damage the circuit board underneath. If you spilled something on the keyboard, the damage may be permanent — water and electronics do not mix.
For a USB keyboard, try plugging it into a different USB port on your computer. If it works in the new port, the original port may be damaged. If it does not work in any port, or if you see visible damage or corrosion on the keyboard, the keyboard itself is likely damaged and will need to be replaced.
Frequently Asked Questions
Why does my keyboard type numbers instead of letters?
Num Lock is on. Press the Num Lock key once — it is usually in the top right area of your keyboard, above the number pad. The light above it should turn off, and your keyboard will type letters again.
My keyboard types only capital letters. How do I fix it?
Caps Lock is on. Press the Caps Lock key once — it is usually on the left side of your keyboard, above Shift. The light above it should turn off, and your keyboard will type lowercase letters again.
Can I use my keyboard while Windows is restarting?
No. During restart, Windows shuts down completely and then boots back up. Your keyboard will not respond until Windows finishes loading and you see the desktop. Wait for the startup process to finish before trying to type.
What if I cannot reach the keyboard settings with my mouse?
Use the Tab key to navigate. Press Tab to move between buttons and fields, then press Enter to click. If Tab does not work either, restart your computer — this resets most keyboard and mouse issues.
Is my keyboard permanently broken if none of these steps work?
Not necessarily, but it is likely. If the keyboard does not work after restart, driver update, and reconnection, the hardware is probably damaged. Try borrowing another keyboard to test whether the problem is the keyboard itself or your computer. If a different keyboard works, your original keyboard needs replacement.