Get typing again right now

You can keep working while you troubleshoot. On Windows, press Windows + Ctrl + O to open the On-Screen Keyboard and click keys with the touchpad. On a Mac, use the on-screen Keyboard Viewer. Any USB or Bluetooth keyboard also works in the meantime, and it tells you something: if an external keyboard types fine, the computer is OK and the problem is the built-in keyboard or its settings.

Quick checks for any laptop

  1. Restart the laptop. A frozen app or a stuck driver is the most common cause, and a restart clears both.
  2. Plug in the charger. On a MacBook, Apple notes the built-in keyboard can stop responding when a low-battery alert you can't see is on screen; connecting power (or an external keyboard) lets you see and dismiss it.
  3. Look for crumbs or dirt under keys that don't press down properly. Turn the laptop upside down and tap gently, or use compressed air.
  4. Try typing in a different app, such as Notepad or TextEdit. If keys work there, the problem is the first app, not the keyboard.
  5. Check whether the keys work at the very start, before Windows or macOS loads (for example, the key that opens your PC's startup or BIOS menu). If they work there, the hardware is fine and the fix is in software.

Windows: settings that make keys seem broken

  • Filter Keys makes Windows ignore brief or repeated keystrokes, so typing looks dead. It toggles on and off when you hold the right Shift key for eight seconds, which people often do by accident. Hold it again for eight seconds, or turn it off on the Keyboard page under Accessibility in Settings.
  • Sticky Keys (press Shift five times to toggle) makes Shift, Ctrl and Alt latch, which causes strange shortcuts while typing.
  • Num Lock on smaller laptops without a separate number pad can turn some letter keys into numbers. Press Num Lock (sometimes Fn + a key) to switch it off. Toggle Keys, which beeps when you press lock keys, turns on by holding Num Lock for five seconds.
  • Wrong characters: if you type @ and get a quote mark, or letters move around, Windows switched keyboard layout. Press Windows + Space to cycle input languages, and remove layouts you don't use in Settings > Time & language > Language & region. This trips up many people who have a Spanish or Chinese keyboard installed.

Windows: fix the driver

  1. Install updates: type check for updates in the taskbar search box, open it, and select Check for updates. Keyboard and touchpad drivers arrive this way.
  2. Open Device Manager from the taskbar search, expand Keyboards, double-click the keyboard, and on the Driver tab select Update Driver.
  3. If that doesn't help, right-click the keyboard in Device Manager, choose Uninstall device and restart. Windows reinstalls the driver at startup.
  4. Check your laptop maker's support site (Dell, HP, Lenovo, Microsoft Surface and others) for keyboard, chipset or BIOS updates for your model.

Mac: settings that block key presses

  1. Slow Keys: Apple menu > System Settings > Accessibility > Keyboard. Make sure Slow Keys is off; when it's on, you have to hold each key longer before it registers.
  2. Mouse Keys: Apple menu > System Settings > Accessibility > Pointer Control. Turn off Mouse Keys, which makes some keys move the pointer instead of typing. You can also press Option-Command-F5 and deselect it in the Accessibility Shortcuts panel.
  3. Wrong layout: Apple menu > System Settings > Keyboard > Text Input > Edit, turn on Show Input menu in menu bar, then pick the right layout from that menu. Useful if you added Spanish (ISO) or a Chinese input method and the keys stopped matching.
  4. Caps Lock or the Media Eject key seems dead: hold it a little longer. Caps Lock needs a firmer press until its light comes on.

If it still doesn't work

  • Some keys dead, others fine: after cleaning, that's usually worn or damaged switches. A single stuck key can sometimes be fixed by a repair shop; a row of dead keys means the keyboard or its cable needs replacing.
  • Keyboard stopped after a spill: shut the laptop down, unplug it, and don't turn it back on until a technician has checked it. Liquid can damage the logic board, not just the keys.
  • Typing repeats or adds letters by itself: this is often a hardware fault; test in another app and with an external keyboard, then get it checked.
  • Nothing works before or after the system loads, and the laptop is up to date: it's hardware. Check your warranty with the maker (Apple, Microsoft, Dell, HP, Lenovo) and arrange repair.

Good to know

  • On many laptops the keyboard is part of the top case, so a replacement can be costly out of warranty. A $20 to $40 external keyboard is a sensible stopgap.
  • An external keyboard on a Mac works right away over USB or Bluetooth. Apple recommends trying a different port or a different Mac if an external one fails, to separate a port problem from a keyboard problem.
  • If your Windows PC is a work laptop, IT may manage its drivers; ask them before uninstalling devices.
  • Back up your files before sending a laptop for repair.

People also ask

Why did my laptop keyboard suddenly stop typing?

Most often Filter Keys was switched on by holding the right Shift key for eight seconds, or an app or driver froze. Restart, then hold right Shift for eight seconds to toggle Filter Keys off.

How do I type without a working keyboard?

On Windows, press Windows + Ctrl + O for the On-Screen Keyboard, or connect any USB or Bluetooth keyboard. On a Mac, use the Keyboard Viewer or an external keyboard.

Why are my keys typing the wrong symbols?

The keyboard layout changed. On Windows press Windows + Space to switch input languages; on a Mac pick the right layout from the Input menu in the menu bar.

Why do some letters type numbers on my laptop?

Num Lock is on, which turns some letter keys into a number pad on compact laptops. Press Num Lock (sometimes with Fn) to turn it off.

Can I fix a laptop keyboard after a spill?

Turn it off and unplug it immediately and let a technician check it. Don't use a hair dryer or keep testing it while wet.

Does reinstalling the keyboard driver delete anything?

No. Windows simply reinstalls the driver after a restart; your files and settings stay.

All quick answers