Laptop Keyboard Not Working? How to Fix It

Keys that do nothing, lag or type the wrong characters are usually caused by a setting, a driver or dirt rather than a broken keyboard. Here is how to find out which, on Windows and Mac.

Short answer

Restart the laptop first, then plug in a USB keyboard to see whether the problem is the built-in keyboard or the software. Check that an accessibility feature is not getting in the way: Filter Keys on Windows, or Slow Keys and Mouse Keys on a Mac. If only a few keys fail, dirt is a likely cause. If nothing works on Windows, reinstalling the keyboard driver in Device Manager often helps; otherwise it may need a repair.

In this article 9 sections
  1. Start with these quick checks
  2. Type without a keyboard while you fix it
  3. Windows: turn off Filter Keys
  4. Windows: reinstall the keyboard driver
  5. Mac: check the accessibility settings
  6. Mac: typing the wrong characters?
  7. Only a few keys not working? Clean the keyboard
  8. When to get help
  9. Common questions
Close-up of the keys on an HP laptop keyboard
Most keyboard problems are caused by settings, drivers or dirt rather than broken hardware. Photo: Gugalcrom123 / Wikimedia Commons, CC BY-SA 4.0

When a laptop keyboard stops responding, types the wrong characters or only half works, the cause is often a setting, a driver or a bit of dirt rather than broken hardware. Work through the checks below in order: the quickest ones come first.

Start with these quick checks

  • Restart the laptop. A restart clears many temporary glitches, and Engadget recommends it as the first thing to try when a MacBook keyboard stops responding.1
  • Try another keyboard. Plug in a USB keyboard or connect a Bluetooth one. If that works, the problem is the built-in keyboard rather than the whole computer. Apple suggests trying a different keyboard to narrow the problem down.1,2
  • Check the battery. On a Mac, Apple notes that a low-battery alert can be hidden from view; connect the power adapter or an external keyboard to see it.2
  • Disconnect spare keyboards. Apple's technician guide for the MacBook Neo says a paired Bluetooth keyboard may override the built-in one, so unpair any you are not using.3

Type without a keyboard while you fix it

Some fixes involve typing into a search box, so it helps to bring up an on-screen keyboard first.

  • Windows 11 and 10: select Start > Settings > Accessibility > Keyboard and turn on On-Screen Keyboard. At the sign-in screen, select the Accessibility button in the lower-right corner, then On-Screen Keyboard.4
  • Mac: Apple suggests using the Keyboard Viewer to click keys with the mouse or trackpad, and Engadget points to the Accessibility Keyboard under System Settings > Accessibility > Keyboard.1,2

Windows: turn off Filter Keys

Filter Keys is a Windows accessibility feature that ignores or slows down brief and repeated keystrokes. It helps people with tremors, but it can make a keyboard seem broken if it is switched on by accident.5 It can be turned on by holding the right Shift key for about eight seconds and then confirming a prompt, which is easy to do without noticing.5,6

Huawei's support guide for Windows 11 laptops gives these steps to turn it off:6

  1. Type Control Panel into the search box on the taskbar and open it.6

  2. Select Ease of Access.6

  3. Select Change how your keyboard works.6

  4. Untick Turn on Filter Keys, then select OK.6

Windows: reinstall the keyboard driver

If the built-in keyboard does nothing at all but a USB keyboard works, a common fix suggested on Microsoft's community forum is to reinstall the keyboard driver.7

  1. Press Windows key + R (use the on-screen keyboard or a USB keyboard if needed), type devmgmt.msc and press Enter to open Device Manager.7

  2. Expand the Keyboards section.7

  3. Right-click your keyboard and choose Uninstall device.7

  4. Restart the laptop. Windows reinstalls the driver automatically when it starts up.7

If the keyboard isn't listed at all, check your laptop maker's website for its latest keyboard driver. If that doesn't help, the forum advice is to take the laptop to a service centre.7

Mac: check the accessibility settings

Apple says that if some keys don't work, an accessibility option may be switched on.2

  1. Choose Apple menu > System Settings > Accessibility > Keyboard and make sure Slow Keys is off. With Slow Keys on, a key has to be held down longer before it registers.2

  2. In the same section, Engadget suggests making sure Sticky Keys is off too.1

  3. Go to Accessibility > Pointer Control and make sure Mouse Keys is off. You can also press Option-Command-F5 and deselect Mouse Keys in the panel that appears.2

Apple's MacBook Neo guide notes that when Mouse Keys is on, the keyboard can't be used to enter text, which is why it is worth checking.3 Caps Lock is also designed to need a slightly longer press, so it can seem unresponsive if you tap it quickly.2

Mac: typing the wrong characters?

If keys produce the wrong letters or symbols, the keyboard layout may have changed. Go to Apple menu > System Settings > Keyboard > Text Input > Edit, turn on Show Input menu in menu bar, then use that menu to check the correct layout is selected.2

Only a few keys not working? Clean the keyboard

If one or two keys fail while the rest work, dirt or crumbs under the keys are a likely cause.1 Engadget suggests holding a MacBook at about a 75-degree angle and using compressed air, then rotating it and repeating.1 Apple's own troubleshooting guide for technicians also lists cleaning as an early step when a key is unresponsive or feels different.3

Don't prise the keys off

Engadget warns that removing keycaps yourself can cause permanent damage. Apple's technician guide says a keycap that has been removed must be replaced with a new one, and Apple warns that repairs by untrained people or with non-genuine parts may affect a device's safety and function.1,2,3

When to get help

If a drink has been spilled on the laptop, or the built-in keyboard still doesn't work after these checks while an external keyboard works fine, the fault is probably in the hardware. Apple's repair guidance starts by inspecting for liquid damage, and the next steps involve opening the case, which is a job for a trained technician.3 Contact Apple or an Apple Authorised Service Provider for a Mac, or the manufacturer of a Windows laptop.2

If other parts of your laptop are acting up too, see our guides to Bluetooth not connecting, a microphone that isn't working and a laptop that won't turn on. If the whole screen has frozen rather than just the keyboard, try forcing the app to quit.

Common questions

Why does only the Caps Lock key seem broken on my Mac?

Apple builds in a short delay so you don't turn on Caps Lock by accident. Hold the key a little longer and the indicator light should come on.2

My keyboard works in the BIOS or startup screen but not in Windows. What does that mean?

If keys work before Windows loads, the keyboard hardware is probably fine and the problem is more likely to be a setting or driver in Windows, so start with Filter Keys and the driver steps above. One answer on Microsoft's forum reports exactly this pattern, and a reinstall of the driver is the usual first suggestion there.7

Sources and further reading

  1. The right way to fix your MacBook keyboard if it isn't responding — Engadget2026-11-07
  2. If your Mac doesn't respond to key presses — Apple Support
  3. MacBook Neo Troubleshooting Keyboard Functional Issues — Apple Support2026-03-12
  4. Use the On-Screen Keyboard (OSK) to type — Microsoft Support2026-01-08
  5. Filter Keys: How to Use This Windows Feature — Lenovo2026-11-05
  6. Using Filter Keys in Windows 11 — Huawei Support
  7. How do I fix my laptop keyboard not working on Windows 11? — Microsoft Q&A2023-05-27

Was this article helpful?

Tell us where you got stuck

Didn’t work? Tell us which step went wrong. We read every note and use them to fix and improve this guide.

Private. This goes only to the ByteExplained editors with the guide’s title. It isn’t published on the site.

Please don’t include passwords, QR or activation codes, or identifiers such as your phone number, EID or IMEI.

Comments

No comments yet. Questions and tips from readers are welcome.