GearCheckr

MacBook Keyboard Test

Open this page on your MacBook and press any key. Each key lights up on the Mac keyboard below and turns green once tested.

Not starting? Reload the page, or open it in another browser.

How to test a MacBook keyboard

Press each key once, row by row. The counter goes up to 76 keys: every key of a MacBook Air or MacBook Pro keyboard, from esc to the arrows. A key that stays dark is not reaching the Mac. A key that lights twice for one press, or lights by itself, is repeating.

Avoid Command with Q or W while you test: Mac shortcuts still work, and they would close the page.

Keys the test cannot read

Known MacBook keyboard faults

The butterfly keyboards of the 2015 to 2019 MacBook, MacBook Air and MacBook Pro are known for keys that stick, repeat or stay dead after a crumb gets under them. Apple's keyboard service program for them covered each model for four years after its first sale, so most of those Macs are now outside it.

Apple's cleaning method: hold the Mac open at a 75-degree angle, spray compressed air across the keys from left to right, then turn it on its right side and spray again, then on its left side. Test again after each pass. More in how to clean a keyboard.

Several keys dead in one area, or keys that type the wrong letter: check System Settings, Accessibility, Keyboard (Slow Keys) and Pointer Control (Mouse Keys), then the input source in Keyboard settings. If nothing helps, see laptop keyboard not working.

FAQ

How do I test my MacBook keyboard without an app?

Open this page and press every key. The on-screen Mac keyboard lights each one; any key that stays dark needs cleaning or repair.

Why does fn not light up?

macOS does not pass the fn or globe key to web pages. With the default settings, hold fn and press F1: if F1 lights up, fn works. If F1 to F12 are set as standard function keys, F1 lights alone and fn with F1 changes the brightness instead.

Does this work with a Magic Keyboard?

Yes. The letters, modifiers and arrows match; with a full-size Magic Keyboard, click Full-size to see its numpad too.

Related tools

More guides

Add this tool to your site

Free for any website. Paste this code into an HTML block where the tool should appear.

Preview