MacBook Keyboard Not Working?
Press the keys that give you trouble. Keys that work turn green. The ones that stay dark are the problem.
- 34 Apple keyboards, drawn from Apple’s own pictures
- No download, no sign-up
- Key presses never leave your browser
- 11 languages
This page does two things. It shows which keys your Mac actually receives, and it walks you through the fixes Apple recommends for each result. Start with the keyboard above: press every key that gives you trouble, then a few that work, so you can compare.
What the test result means
| What you see above | What it usually means | Go to |
|---|---|---|
| No key turns green | The Mac gets no key presses at all. | Not working at all |
| Most keys turn green, a few stay dark | Those keys, or something under them, are the problem. | Some keys not working |
| A key turns green, but in apps it types twice or keeps repeating | A key repeat setting, or a key that sticks. | Key types twice or repeats |
| Keys turn green here, but one app ignores them | The keyboard is fine. The input source or that app is the problem. | Works in the test, not in an app |
The top row (F1 to F12) and fn are an exception. macOS handles them itself and does not pass them to web pages, so they can stay dark on a working keyboard. Press them and watch your screen instead: brightness and volume should change.
MacBook keyboard not working at all
- Plug in the charger. Apple says a Mac laptop may be showing a low-battery alert that you cannot see. Connecting power, or an external keyboard, brings the alert up.
- Connect another keyboard. A USB or Bluetooth keyboard tells you where the problem is. If it works, the Mac is fine and the built-in keyboard needs service.
- Turn off Slow Keys. Choose Apple menu › System Settings › Accessibility › Keyboard. With Slow Keys on, a key only counts if you hold it longer than usual, so quick presses do nothing.
- Turn off Mouse Keys. Choose Apple menu › System Settings › Accessibility › Pointer Control. Or press option-command-F5 and deselect Mouse Keys. With Mouse Keys on, some keys move the pointer instead of typing.
Then press the keys above again. While you wait for a repair, you can type with the Keyboard Viewer: an on-screen keyboard you click with the trackpad.
Some MacBook keys not working
- Press each dark key ten times. Count how often it turns green. A key that lights three times out of ten is failing, not dead, and cleaning often helps.
- Hold Caps Lock a little longer. Apple builds in a short delay so an accidental tap does not switch it on. Hold it until its light comes on.
- Clean under the key with compressed air. Apple’s steps for MacBook (2015 and later) and MacBook Pro (2016 and later): hold the Mac at a 75-degree angle, so it is not quite vertical. Spray the keyboard, or just the bad keys, from left to right, with the straw about half an inch (13 mm) from the keys. Turn the Mac on its right side and spray again, then on its left side. Do not turn the can upside down.
- Test again. If a key still stays dark, Apple recommends an Apple Store or an Apple Authorized Service Provider.
MacBook key types twice or keeps repeating
If a letter repeats when you hold the key for a moment, check the repeat settings. Choose Apple menu › System Settings › Keyboard, then make “Delay until repeat” longer or “Key repeat rate” slower.
If a key types twice from a single press, or feels different from the others, clean it with compressed air as described above. A key that still doubles after cleaning needs service.
Keys work in the test but not in an app
If a key turns green on this page, your Mac receives it, so the keyboard itself works. Check that the right keyboard layout is selected: choose Apple menu › System Settings › Keyboard, go to Text Input, click Edit, and turn on “Show Input menu in menu bar”. Then open the Input menu and pick your keyboard. If only one app ignores the key, that app may use the key for one of its own shortcuts.
Frequently asked questions
Does this work with a Magic Keyboard?
Yes, over Bluetooth or a cable. If no key on an external keyboard works, Apple suggests making sure it is turned on and charged, that Bluetooth is on, and reconnecting it. Then try another port or another Mac. If it works there, your Mac may need service.
Does one dark key mean my keyboard is broken?
Not always. Dust under a key is common. Press it ten times, clean it, and test again before you book a repair.
Does this page record what I type?
No. It reads which key was pressed and changes its colour. Key presses stay in your browser. See the privacy policy.
The fixes on this page follow Apple’s support articles If your Mac doesn’t respond to key presses and How to clean the keyboard of your MacBook or MacBook Pro.