How to Fix Laptop Keyboard Not Working (Windows 11/10 & Mac)

When a laptop keyboard stops typing, most people assume the hardware has failed. In my experience that should be the last thing you assume. Most dead keyboards I see turn out to be a setting someone switched on by accident, a Num Lock that got stuck, or a driver that broke after an update.

So I work through it in a fixed order: the free, two-second checks first, then software, and only then the parts that cost money. Here is that order for Windows laptops, with a separate section for MacBooks further down.

First, Get a Way to Type

You need to type to fix this, so get a temporary keyboard before anything else.

On Windows, press Windows + Ctrl + O to open the on-screen keyboard. If no keys work at all, click Start, open Settings, go to Accessibility > Keyboard and turn on On-screen keyboard with your mouse or touchpad.

On a Mac, go to System Settings > Accessibility > Keyboard and turn on Accessibility Keyboard.

Any cheap USB keyboard also works. Plug it in and you are typing again in seconds. It also gives you your first clue. If the USB keyboard misbehaves in exactly the same way as the built-in one, the problem is almost certainly a Windows setting, not the keyboard itself.

Step 1: Work Out What Kind of “Not Working” You Have

The symptom tells you where to start, so take ten seconds to pin it down:

  • Nothing types, but the keys may click or beep: start with Step 3 (Filter Keys).
  • Some letters type numbers (U, I, O, J, K, L, M): go to Step 4 (Num Lock).
  • Keys type the wrong symbols, like @ and ” swapped: go to Step 5 (keyboard layout).
  • Only the F1 to F12 keys or the brightness and volume keys misbehave: go to Step 6 (Fn lock).
  • One or two keys are dead or sticky: go to Step 7 (cleaning).
  • Everything stopped right after an update: go to Steps 8 and 9.
  • The keyboard works at the password screen but not after you sign in: that points strongly at Filter Keys (Step 3).

If you are not sure, simply go through the steps in order.

Step 2: Do a Real Restart

Use Restart, not Shut down. When Fast Startup is turned on, Shut down saves part of the system to disk and reloads it the next time you start, so a glitched driver can survive it. Restart clears everything and loads the keyboard driver fresh.

If the laptop is frozen and nothing responds, hold the power button for about 10 seconds until it turns off. Wait a few seconds, then turn it back on.

Step 3: Turn Off Filter Keys, Sticky Keys and Toggle Keys

This is the most common cause of a “dead” laptop keyboard I come across. It catches people out because it gets turned on by accident.

Filter Keys is an accessibility feature that tells Windows to ignore short or repeated key presses. Holding the right Shift key for 8 seconds switches it on, which is easy to do while resting your hand on the keyboard or gaming. Once it is on, quick taps are ignored. There are two classic signs:

  • The keys click through the speakers but type nothing.
  • The keyboard works at the sign-in screen but goes quiet once you are on the desktop.

A quick test: press and hold any letter key for five seconds, then let go. If the letter only appears after you release it, Filter Keys is on.

To turn it off:

  1. Press Windows + I to open Settings (or click Start > Settings).
  2. Go to Accessibility > Keyboard. On Windows 10 this is called Ease of Access > Keyboard.
  3. Turn off Filter Keys.
  4. While you are there, turn off Sticky Keys and Toggle Keys too.

To stop it happening again, open the Filter Keys settings and clear the option that turns it on when you hold right Shift for 8 seconds. Do the same for the Sticky Keys shortcut (pressing Shift five times).

If Filter Keys already shows as off, switch it on and then off again. That resets it if the setting has got stuck.

These settings are useful for people who need them, by the way. If you want to see what else is in that menu, our guide to accessibility features everyone should try covers the ones worth knowing.

Step 4: Letters Typing Numbers? Turn Off Num Lock

If pressing J gives you a 1, K gives you a 2 and U gives you a 4, nothing is broken. Many smaller laptops without a separate number pad hide one inside the letter keys, and Num Lock switches it on. It often gets turned on after you use an external keyboard and then go back to the laptop.

Look for a key labelled Num Lock or NumLk, or one with a small padlock and a number on it. It is often shared with an F key, Insert or Scroll Lock. Then:

  1. Press Num Lock on its own.
  2. If that does nothing, press Fn + Num Lock.
  3. On some HP laptops, try Shift + Num Lock.

There may be no light to tell you it changed, so just test U, I, O, J, K, L and M again.

If your laptop has a full number pad on the right and that is what won’t work, the opposite applies: Num Lock needs to be on. If toggling it does nothing, check Settings > Accessibility > Mouse and turn off Mouse keys, which takes over the number pad to move the pointer.

Step 5: Wrong Symbols? Check the Keyboard Layout

If keys type the wrong characters, such as @ where you expect “, or a letter followed by stray symbols, Windows has probably switched to a different keyboard layout. This happens a lot when more than one language or layout is installed, because a single shortcut swaps between them.

Press Windows + Space. A small menu shows your layouts, and each press moves to the next one. Pick your normal layout, for example English (United States) or English (United Kingdom), then test.

To stop it happening again, go to Settings > Time & language > Language & region, open the options for your language, and remove any keyboard layouts you do not use.

Step 6: Function Keys Acting Strange? Check Fn Lock

Sometimes F1 to F12 change brightness and volume instead of doing their normal job, or the other way round. The keyboard is fine. A setting called Fn lock decides what the top row does by default.

On many laptops, pressing Fn + Esc toggles it, and some show a small padlock or a light on the Esc key. Other brands use Fn + Caps Lock, Fn + Shift, the manufacturer’s own app or a BIOS setting (HP calls it Action Keys Mode). The exact combination varies by brand and model, so check the manual for yours if Fn + Esc does nothing.

If normal typing works but the brightness, volume or keyboard backlight keys do not, the missing piece is usually the manufacturer’s hotkey software. Step 8 covers that.

Step 7: Clean Under Sticky or Dead Keys

When one or two keys fail while everything else works, it is often crumbs, dust or hair under the key.

  1. Shut the laptop down and unplug it.
  2. Hold it upside down or at a steep angle and tap the base gently so loose debris falls out.
  3. Use compressed air in short bursts, held at an angle, working along the rows of keys. Keep the can upright so it does not spray liquid.
  4. For a sticky key, lightly dampen a cotton bud with isopropyl alcohol and run it around the edges of the key. Never pour anything onto the keyboard.

I avoid prying keycaps off unless I know the model. The clips on modern laptop keys are small and break easily. On some recent MacBooks, Apple’s own repair guidance says a keycap should be replaced, not reused, once it has been removed.

Step 8: Reinstall the Keyboard Driver

If the steps above did not help, the driver is next. Windows reinstalls it automatically, so this is safe.

  1. Right-click the Start button and choose Device Manager.
  2. Expand Keyboards. You will usually see HID Keyboard Device, Standard PS/2 Keyboard, or both.
  3. Right-click each one and choose Uninstall device. Do not tick any option to delete driver software.
  4. Restart the laptop. Windows finds the keyboard and reinstalls the driver during startup.

If that does not fix it, update the drivers from the laptop maker rather than relying on Windows alone. Use the maker’s support app (Dell SupportAssist, HP Support Assistant, Lenovo Vantage, MyASUS and so on) or the support page for your exact model. Install the latest BIOS, chipset, and keyboard or hotkey drivers. ASUS laptops, for example, need a driver called ASUS System Control Interface for the hotkeys to work properly.

Some guides tell you to run the keyboard troubleshooter. On current versions of Windows 11, many people find it is no longer listed under Settings > System > Troubleshoot > Other troubleshooters, so do not worry if you cannot find it.

Step 9: Did It Break After a Windows Update?

If the keyboard was fine yesterday and stopped working right after an update, a driver change is a likely suspect.

First, check whether a fix is already waiting: go to Settings > Windows Update and install anything available, including optional driver updates under Advanced options > Optional updates. Then restart.

If there is no fix yet, you can remove the most recent update: go to Settings > Windows Update > Update history > Uninstall updates, and remove the latest one. Windows will try to reinstall it later, so this is a stopgap, not a permanent fix. If updates are themselves getting stuck or failing, our guide on Windows Update stuck or failing walks through that.

Keyboard Only Dead in the Recovery Screen?

There is one case where an update really did break keyboards, and it is worth knowing because it looks scarier than it is. In October 2025, a Windows 11 security update stopped USB keyboards and mice from working inside the Windows Recovery Environment, the blue screen with options like Troubleshoot and Reset this PC. They kept working normally in Windows itself. Microsoft fixed it with an emergency update a few days later.

So if your keyboard works fine on the desktop but stops responding only on the recovery screen, think “recovery bug”, not “broken keyboard”. A PC that has installed its updates since then is already past that particular one. If you are stuck on that screen now, a touchscreen, if your laptop has one, can get you through the menus.

Step 10: The BIOS Test Tells You If It Is Hardware

This is the most useful test I know for a laptop keyboard, because it takes Windows out of the picture completely.

Restart the laptop and, as soon as the logo appears, tap the key that opens the BIOS or UEFI setup. It is usually F2, Delete, Esc, F10 or F1, depending on the brand. Many Lenovo laptops have a small Novo button or pinhole instead.

Once you are in, try using the arrow keys and Enter to move around the menus.

  • If the keyboard works in the BIOS, the hardware is fine. The problem is in Windows (a setting, driver or update), so go back through Steps 3 to 9.
  • If the keyboard does not work in the BIOS either, it is a hardware problem: the keyboard, its ribbon cable, or the motherboard.

Two cautions:

  • Do not change any settings while you are in there. Just look around and exit without saving.
  • If your laptop uses BitLocker, changing BIOS settings can trigger the BitLocker recovery key screen on the next start. Make sure you know where your key is before you go poking around.

If your laptop does not reach the logo at all, that is a different problem. It’s covered in our guide to when a laptop turns on but the screen stays black.

MacBook Keyboard Not Working? Check These First

Macs have their own versions of the accidental settings above.

  • Slow Keys: go to Apple menu > System Settings > Accessibility > Keyboard and make sure Slow Keys is off. When it is on, you have to hold each key for longer than usual before the Mac registers it, which feels like a dead keyboard.
  • Mouse Keys: go to System Settings > Accessibility > Pointer Control and turn off Mouse Keys. When it is on, the keyboard moves the pointer instead of typing. You can also press Option + Command + F5 to open the Accessibility Shortcuts panel and switch it off there.
  • A hidden low battery warning: a MacBook may be showing a low battery alert you cannot see, which blocks typing. Plug it in and try again.
  • A paired Bluetooth keyboard: a Bluetooth keyboard that is paired and nearby can take over input. Turn it off or unpair it in System Settings > Bluetooth.
  • Caps Lock light test: press Caps Lock. If the light comes on, the Mac can at least see the keyboard, which points away from a dead connection.

You may prefer to keep using a wireless keyboard while you sort it out. If it refuses to pair, see our guide for when Bluetooth won’t connect.

When It Really Is Hardware

If the keyboard fails in the BIOS test, or none of the steps above changed anything, these are the usual causes.

You Spilled Something on It

Act fast:

  1. Turn the laptop off immediately by holding the power button, and unplug it.
  2. Tip it upside down in a tent shape so the liquid drains away from the inside.
  3. Wipe what you can reach with a soft cloth.
  4. Leave it to dry for at least 24 to 48 hours before trying to switch it on.

Even if it works after drying, sugary drinks, tea and coffee leave a sticky residue that can corrode the contacts weeks later. If the spill was anything other than plain water, I would get it cleaned by a repair shop sooner rather than later.

The Battery Is Swelling

This one matters for safety. On many laptops the battery sits directly under the keyboard. When a lithium battery swells, it pushes up from below. Signs to look for:

  • Keys start pressing themselves or stop responding.
  • The keyboard deck bulges.
  • The touchpad lifts and stops clicking properly.

If you see any of that, stop using and charging the laptop, shut it down, and do not press on the bulge. A swollen battery needs replacing by a repair shop, and you should not keep using the laptop until it is.

A Loose Cable or a Failed Keyboard

If the laptop has been opened recently, for a new SSD, a RAM upgrade or a battery swap, the keyboard’s ribbon cable may not be seated properly. Whoever did the work can fix that quickly.

Otherwise the keyboard itself may have failed. On many Windows laptops the keyboard is a separate part. On others, especially thinner models, it is fixed to the top case and the whole assembly is replaced, which costs more. If your laptop is under warranty, contact the manufacturer before paying anyone else. In the meantime, a USB or Bluetooth keyboard keeps you working.

Quick Answers

Why did my laptop keyboard suddenly stop working?

The most common cause is Filter Keys, which makes Windows ignore quick key presses. It turns on if you hold the right Shift key for 8 seconds. Turn it off in Settings > Accessibility > Keyboard. Other common causes are Num Lock, a changed keyboard layout, a driver problem, or a recent Windows update.

Why does my laptop keyboard type numbers instead of letters?

Num Lock is on, and your laptop has a number pad built into the letter keys. Press Num Lock, or Fn + Num Lock, to turn it off. On some HP laptops it is Shift + Num Lock.

Why does my keyboard click but not type?

That is the classic sign of Filter Keys. Go to Settings > Accessibility > Keyboard and turn off Filter Keys. Then clear the option that turns it on when you hold right Shift for 8 seconds.

How do I know if my laptop keyboard is broken or it is a software problem?

Open the BIOS or UEFI setup by tapping F2, Delete, Esc or F10 as the laptop starts, and try the arrow keys. If they work there, the keyboard is fine and the problem is in Windows. If they do not, it is a hardware fault.

How do I type if my laptop keyboard is not working?

Press Windows + Ctrl + O for the on-screen keyboard, or turn it on in Settings > Accessibility > Keyboard. On a Mac, turn on Accessibility Keyboard in System Settings > Accessibility > Keyboard. A USB keyboard also works the moment you plug it in.

Will reinstalling the keyboard driver delete anything?

No. Uninstalling the keyboard in Device Manager only removes the driver, and Windows reinstalls it automatically when you restart. Your files and settings are not touched.

What should I do if I spilled water on my laptop keyboard?

Turn the laptop off immediately, unplug it, and tip it upside down so the liquid drains out. Let it dry for at least 24 to 48 hours before switching it on. For sugary or sticky drinks, have it professionally cleaned even if it seems to work.

Why does my MacBook keyboard not respond?

Check that Slow Keys is off in System Settings > Accessibility > Keyboard and that Mouse Keys is off in Accessibility > Pointer Control. Plug in the charger in case a hidden low battery alert is blocking typing. Also turn off any paired Bluetooth keyboard nearby.