| |

How To Fix A MacBook Keyboard Not Working (2026)

A MacBook keyboard that stops working is usually caused by a setting, a stuck key, debris, or a hardware fault.

Start with the free checks: restart, turn off Slow Keys and Mouse Keys, and test with an external keyboard.

If the keys still fail after that, run Apple Diagnostics and book a repair.

Table of Contents

Quick answer

SymptomMost likely causeFirst thing to try
Letters don’t register or lagSlow Keys is onTurn off Slow Keys in Accessibility settings
Typing moves the pointer instead of typingMouse Keys is onTurn off Mouse Keys
Wrong characters appearWrong keyboard layoutPick the right layout in the Input menu
One or two keys failDebris under the keysClean with compressed air
Whole keyboard is deadSoftware glitch or hardware faultRestart, then test an external keyboard

Restart the Mac first

A restart clears many temporary glitches.

If the keyboard is dead, use the trackpad to open the Apple menu and choose Restart.

Wait for the Mac to finish starting, then test the keys in a text document.

Check for a hidden low battery alert

Apple notes that a MacBook may show a low battery alert you can’t see.

Connect the Mac to power, or connect an external keyboard, so you can read the alert.

Turn off Slow Keys and Mouse Keys

Two Accessibility settings can make a working keyboard seem broken.

  1. Choose Apple menu > System Settings, then click Accessibility.
  2. Click Keyboard (scroll down if needed) and turn off Slow Keys.
  3. Go back, click Pointer Control, and turn off Mouse Keys.

Apple says that with Slow Keys on, keys must be held longer before they register.

You can also press Option-Command-F5 to open the Accessibility Shortcuts panel and clear Mouse Keys there.

Also check that Sticky Keys is off in the same Keyboard pane.

Check the keyboard layout

If keys type the wrong characters, the layout may be wrong.

  1. Choose Apple menu > System Settings, then click Keyboard.
  2. Go to Text Input and click Edit.
  3. Turn on Show Input menu in menu bar.
  4. Open the Input menu and select the correct layout.

Keys that need a longer press

Caps Lock and the Media Eject key respond only after a longer press.

Hold Caps Lock until its indicator light comes on.

Apple lists a Caps Lock light test as a quick way to confirm the keyboard is responding.

Type with the on-screen keyboard

Apple points to the on-screen keyboard as a workaround when the physical keys fail.

It lets you click keys with the mouse or trackpad.

Engadget notes you can enable it under System Settings > Accessibility > Keyboard, so you can keep working while you troubleshoot.

Test with an external keyboard

Plug in a USB keyboard or pair a Bluetooth one.

If the external keyboard works, the Mac itself is fine and the built-in keyboard is the likely problem.

If the external keyboard fails too, the cause is more likely software.

ResultWhat it points toNext step
External works, built-in doesn’tBuilt-in keyboard or its connectionClean it, run diagnostics, then repair
Neither worksmacOS or an appSafe Mode, then check settings
Both work after a restartTemporary glitchNo further action

Rule out software with Safe Mode

Engadget suggests shutting down fully, not just sleeping, and then starting in Safe Mode.

That shows whether a third-party app is interfering with the keyboard.

Our guide on how to start a Mac in Safe Mode has the steps.

If the keys work in Safe Mode, remove recently installed apps or utilities.

A power-management glitch can also be the cause, so see how to reset the SMC or restart power management on a Mac.

Clean out debris

Engadget says that when only one or two keys fail, debris is the likely cause.

  1. Shut down the Mac.
  2. Hold the laptop at an angle.
  3. Spray compressed air across the keys.
  4. Or turn the laptop upside down and tap the back cover gently.

Don’t pull off keycaps yourself, because the mechanism is delicate.

Apple’s service procedure for a MacBook Pro says a removed keycap must be replaced with a new one, so reusing it isn’t an option.

After a spill, follow our guide to cleaning a keyboard after a spill and power the Mac off right away.

Run Apple Diagnostics

Apple Diagnostics checks the Mac’s hardware.

  • Apple silicon: press and hold the power button until you see Options, then hold Command-D until the Mac restarts.
  • Intel: turn on the Mac and hold D right away. If that doesn’t work, try Option-D. Release the key when you see a progress bar or a language prompt.

Apple’s own repair diagnostics test electrical operation only, not how the keys feel, so a pass doesn’t rule out a worn or sticky key.

When it needs repair

A dead key that cleaning doesn’t fix is a hardware problem, and no setting will repair it.

Apple’s service guide for a MacBook Pro says one failing key can mean replacing a keycap, while several failing keys can mean replacing the whole top case.

It also says the rubber dome can’t be replaced separately, so damage there can mean a full keyboard replacement.

OptionBest forNotes
Apple Store or Apple Support appointmentKeyboard assessment or replacementEngadget lists this as the last resort
AppleCare coverageMacs still coveredCheck coverage by serial number
Independent repair shopOut-of-warranty MacsAsk for a written quote first

Back up your files before any repair visit.

If it doesn’t work

  • Use an external keyboard so you can keep working.
  • Turn off every Accessibility keyboard option, then restart again.
  • Note which keys fail, since that helps the repair tech.

FAQ

Why is my MacBook keyboard not typing but the trackpad works?

Slow Keys, Mouse Keys, a layout mismatch or a hardware fault can all do this, so check the settings first.

Can I fix a single dead key myself?

Cleaning with compressed air is safe to try, but don’t remove keycaps, since the mechanism is delicate.

Does a software update fix keyboard problems?

It can fix software glitches, but it won’t repair debris or damaged parts.

Is a keyboard repair expensive?

Cost depends on the model and your coverage, so get a quote from Apple before agreeing to the repair.

Sources: Apple: If your Mac doesn’t respond to key presses; Apple: Use Apple Diagnostics; Apple: MacBook Pro keyboard troubleshooting; Engadget: MacBook keyboard fix.

Leave a Reply

Your email address will not be published. Required fields are marked *