Symptoms
- One or more keys don't register when pressed
- Keys repeat characters or type inconsistently
- A key feels stuck, sticky, or doesn't spring back
- Problem is limited to specific keys rather than the whole keyboard
Likely causes
- CommonDebris (dust, crumbs) trapped under one or more keysThis is especially common with keys near the edge of the keyboard or after eating near the laptop.
- CommonA temporary software or input glitchRestarting often resolves keys that suddenly stop responding.
- PossibleLiquid residue from a spill affecting specific keysEven a small spill can affect just the keys nearest where it landed.
- PossibleA known mechanical keyboard issue on certain MacBook model yearsSome generations of MacBook keyboards were more prone to key failures from debris.
- Less commonA failing keyboard connector or logic board issueThis is more likely if many keys across the whole keyboard stop working at once.
What to do
- Restart the Mac to rule out a temporary software glitch affecting key input.
- Check System Settings > Keyboard to confirm no unusual key remapping or accessibility settings are affecting input.
- Turn the MacBook off, hold it at a 75-degree angle, and gently shake or use compressed air (short bursts, held at an angle) around the affected keys to dislodge debris.
- Avoid using cotton swabs or liquid cleaners directly on or under the keys, which can push debris further in or cause damage.
- Test the affected keys again after cleaning.
- If a spill caused the issue, power off immediately, don't charge it, and let it fully dry for at least 24–48 hours before testing (or take it in for cleaning if it was a sugary or sticky liquid).
- Try an external USB or Bluetooth keyboard temporarily to confirm the issue is with the built-in keyboard specifically.
- If cleaning doesn't resolve it and only certain keys are affected, or if it followed a spill, professional cleaning or keyboard replacement is likely needed.
Tools and parts
- Compressed air
When to call a pro
If specific keys stay unresponsive after cleaning, or a liquid spill was involved, an Apple-authorized shop can safely clean or replace the keyboard assembly.
Safety
Power off the MacBook and disconnect any charger before cleaning; if liquid was spilled, do not power it on or charge it until it has fully dried or been professionally cleaned, since attempting to use it wet can cause a short.