Why Is My Keyboard Locked? Fix It Fast
In this article
If your keyboard is locked and not typing, the quickest fix is to press Fn + F6, Fn + F11, or Fn + Num Lock (depending on your laptop) to toggle the keyboard lock off. On Windows, you can also check the Filter Keys setting in Ease of Access, and on a Mac, check Slow Keys. If that doesn't work, a simple restart or checking for a physical lock switch (some keyboards have one) usually resolves it. Below are the detailed steps for every common cause.
What You'll Need
- Your laptop or external keyboard
- Access to your computer's settings (Windows or macOS)
- A USB or Bluetooth mouse (if your touchpad is also locked)
- An external keyboard (optional, for testing)
Step-by-Step
- Check for a physical lock switch. Some gaming keyboards and certain laptops have a physical switch or slider that locks the keyboard. Look on the side, top edge, or underneath the keyboard. If you find one, slide it to the unlocked position.
- Use the function key lock shortcut. On many laptops, the Fn key combined with a function key (F1–F12) toggles the keyboard lock. Look for an icon that looks like a keyboard with a slash or a lock. Common combos are Fn + F6, Fn + F11, or Fn + Num Lock. Press the combo once and try typing.
- Toggle Num Lock. If only the number keys or the right side of the keyboard aren't working, press Num Lock (or Fn + Num Lock on laptops without a dedicated key). When Num Lock is on, some laptop keyboards switch to number mode, which can make letters behave oddly.
- Check Filter Keys (Windows). Open Settings > Accessibility > Keyboard (or Control Panel > Ease of Access > Ease of Access Center > Make the keyboard easier to use). Look for Filter Keys or Use Filter Keys and turn it off. Filter Keys ignores brief or repeated keystrokes, which can make the keyboard seem unresponsive.
- Check Slow Keys (macOS). On a Mac, go to System Settings > Accessibility > Keyboard (or System Preferences > Accessibility > Keyboard). Turn off Slow Keys if it's enabled. Slow Keys requires you to hold each key down longer than normal.
- Restart your computer. A simple reboot clears temporary software glitches that can freeze the keyboard driver. Save your work and restart.
- Update or reinstall the keyboard driver (Windows). Right-click the Start button and select Device Manager. Expand Keyboards, right-click your keyboard device, and choose Update driver. If that doesn't help, right-click and choose Uninstall device, then restart your PC – Windows will reinstall the driver automatically.
- Check for wireless connection issues. If you're using a wireless keyboard, make sure the batteries are charged, the USB receiver is plugged in, and the keyboard is paired. Try re-pairing via Bluetooth settings.
- Test with an external keyboard. Plug in a USB keyboard. If the external keyboard works, the problem is likely with your laptop's built-in keyboard hardware. If the external keyboard also fails, the issue is software-related.
Common Mistakes
- Pressing the wrong Fn combo. Not all laptops use the same shortcut. Check your laptop's manual or look for a keyboard icon on the function keys.
- Forgetting about Sticky Keys. Sticky Keys (Windows) can make modifier keys (Shift, Ctrl, Alt) stay active, which can make typing appear locked. Press Shift five times to toggle it off, or disable it in Settings > Accessibility > Keyboard.
- Assuming it's hardware when it's software. Many keyboard lock issues are caused by accessibility settings or driver glitches, not hardware failure. Always try software fixes before considering replacement.
Tips
- If you have a laptop with a backlit keyboard, the lock icon might be on the same key as the backlight toggle. Press Fn + that key to unlock.
- On some Lenovo and HP laptops, the keyboard lock is Fn + F8 or Fn + F12. Check the manual if the common combos don't work.
- If you're using a desktop PC, try a different USB port for your keyboard. A faulty port can cause intermittent lockups.
- Keep your keyboard clean – dust and debris under keys can cause stuck keys that mimic a lock.
Troubleshooting
If the keyboard is still locked after trying the steps above:
- Boot into Safe Mode (Windows). Restart your PC and press F8 (or hold Shift while clicking Restart) to enter Safe Mode. If the keyboard works in Safe Mode, a background program is interfering. Run a clean boot to find the culprit.
- Reset the SMC (Mac). On an Intel Mac, shut down, then hold Shift + Control + Option on the left side and the power button for 10 seconds. On Apple Silicon Macs, just restart. This resets hardware settings.
- Check for malware. Some malware can disable input devices. Run a full scan with Windows Defender or your preferred antivirus.
- Try a different user account. Log out and log in as another user. If the keyboard works there, the issue is with your user profile's settings.
- If nothing works and you're on a laptop, the keyboard ribbon cable may be loose or damaged. This requires opening the laptop – if you're not comfortable, take it to a repair shop.
Frequently Asked Questions
Why is my keyboard locked but the mouse works?
This usually points to a keyboard-specific setting like Filter Keys or a stuck Fn lock. Check the accessibility settings and try the Fn combos listed above.
How do I unlock the keyboard on a Dell laptop?
On most Dell laptops, press Fn + F6 or Fn + Esc to toggle the Fn lock. If that doesn't work, check the Dell QuickSet or Dell ControlPoint settings for a keyboard lock option.
Can a spilled drink cause a keyboard lock?
Yes, liquid can cause short circuits or sticky keys. Turn off the laptop immediately, disconnect the keyboard (if external), and let it dry completely. If keys remain stuck, the keyboard may need replacement.
Is there a keyboard lock button on Windows?
Windows doesn't have a dedicated keyboard lock button, but you can lock the computer with Windows + L. That locks the screen, not the keyboard. For disabling the keyboard, you'd need third-party software or device manager.
Why does my keyboard type numbers instead of letters?
This happens when Num Lock is enabled on a laptop with a numeric keypad overlay. Press Num Lock or Fn + Num Lock to turn it off.
Does a factory reset fix a locked keyboard?
Only if the cause is a software or driver issue. A factory reset will erase all data, so try it only as a last resort after backing up your files. If the keyboard is physically damaged, a reset won't help.