How to use the MacBook Keyboard Test
- Choose your keyboard layout
- Press every key — tested keys turn green
- Keys that stay grey after pressing need fixing or replacing
Testing a MacBook keyboard
This page draws the MacBook Air / MacBook Pro layout: fn, control, option and command on the bottom row, half-height arrow keys, and the function row with Touch ID. Using a UK or European MacBook? Tick UK / EU (ISO).
Green means the key works and blue means it is held down. The fn key and Touch ID are drawn dashed because macOS never passes them to a website.
F-keys only change brightness or volume?
That is normal on a Mac. Hold fn while pressing them, or change it permanently in System Settings → Keyboard → Keyboard Shortcuts → Function Keys and turn on “Use F1, F2, etc. keys as standard function keys”.
A key is sticky, repeats or does nothing
- Hold the MacBook at a 75° angle and spray compressed air across the keyboard from left to right, then repeat from the other two sides. This is Apple's own advice for debris under keys.
- Run Apple Diagnostics: on Apple silicon, shut down, press and hold the power button until startup options appear, then press command + D. On Intel Macs, hold D while starting up.
- Keys that type twice or not at all on 2016–2019 MacBooks are a known problem with that “butterfly” keyboard design — an Apple Store or authorised service provider can check it.