Restart your Mac, plug in your charger, and check Slow Keys, Mouse Keys, and your input source in System Settings. Connect an external keyboard to test, try safe mode, and clean keys with compressed air. If keys still fail or liquid was involved, run Apple Diagnostics and contact Apple or an authorized provider.
A MacBook keyboard not working can mean one dead key, repeated letters, wrong characters, or no response at all. Each pattern points toward different causes. This guide moves from the safest checks to hardware advice so you can narrow the problem down before paying for a repair.
Key takeaways
- Check settings and power first. Slow Keys, Mouse Keys, a wrong input source, or an unseen low-battery alert can mimic a broken keyboard.
- Use an external keyboard and safe mode to separate software problems from hardware problems.
- Clean with compressed air only, using Apple’s method. Do not pry off keycaps.
- After any liquid exposure, or if the case looks swollen, shut down and get professional service.
Why your MacBook keyboard is not working
A built-in keyboard can fail for several reasons. You usually cannot know which one applies until you test, so treat the items below as possible causes rather than confirmed faults.
- Power: Apple notes that a Mac may show a low-battery alert you cannot see when no keys respond.
- Accessibility or input settings: Slow Keys, Mouse Keys, or the wrong keyboard layout can change how keys behave.
- An interfering accessory: Apple’s technician guidance for at least one current model suggests unpairing a Bluetooth keyboard, which may override built-in input.
- Software: An app or item that loads at startup may interfere.
- Debris: Dust or crumbs can make keys unresponsive or feel different.
- Liquid damage: Liquid can short internal circuits and stop the keyboard from working.
- Hardware fault: The keyboard itself or related internal parts may have failed. Only a technician can confirm this.
Before you start: backup and safety
Back up important files with Time Machine or another method before you update macOS, change startup settings, or hand the Mac in for service. A keyboard problem does not usually put data at risk, but repairs sometimes involve replacing parts.
Do not open the Mac or remove keycaps. If the case bulges, the trackpad lifts, or the Mac feels unusually hot, stop using it and power it down. A swollen battery is a safety hazard, and it needs professional service.
Quick checks to try first
These steps are safe and reversible.
Restart and check power
Choose Apple menu > Restart, using your trackpad if needed. Then connect the charger and wait a few minutes. If the keyboard works afterward, a power condition or a temporary glitch was the likely cause.
If the Mac is frozen and will not shut down normally, press and hold the power button for up to 10 seconds. You will lose unsaved work, so use this only as a last resort.
Check for a paired Bluetooth keyboard
Open System Settings > Bluetooth and look for a paired keyboard. Disconnect it and test the built-in keys. If the built-in keys work, the other keyboard was likely interfering.
Keep working with an on-screen keyboard
Apple’s Mac User Guide describes a Keyboard Viewer that lets you click keys with a mouse or trackpad. Search the guide for “Use the Keyboard Viewer on Mac.” It is useful for typing a password while you troubleshoot. It does not fix anything.
Fix settings that change how keys behave
Work through these in order. After each one, test the keys.
- Choose Apple menu > System Settings.
- Click Accessibility in the sidebar, then click Keyboard. You may need to scroll.
- Make sure Slow Keys is off. With Slow Keys on, you must hold each key longer before it registers, so the keyboard can seem unresponsive. Also check Sticky Keys if it is listed.
If the keys now respond normally, a setting was the cause. If not, continue.
Turn off Mouse Keys
Go to System Settings > Accessibility > Pointer Control and turn off Mouse Keys. You can also press Option-Command-F5 to open the Accessibility Shortcuts panel and deselect it. Apple’s technician guidance notes that with Mouse Keys on, the keyboard cannot enter text.
Confirm the input source
If keys produce the wrong characters, go to System Settings > Keyboard > Text Input and click Edit. Turn on “Show Input menu in menu bar.” Open that menu and select the correct layout. If the characters now match the keys, the layout was the cause.
Hold Caps Lock a little longer
Apple says the Caps Lock and Media Eject keys have a slight delay to prevent accidental presses. Hold Caps Lock until its light comes on before assuming the key is broken.
Test whether the problem is software or hardware
These tests narrow the cause. None of them proves a fault on its own.
Test with an external keyboard

Connect a wired or Bluetooth keyboard. If the external keyboard works while the built-in one does not, macOS is accepting keyboard input in general. That points toward the built-in keyboard or its connection, though it does not prove which.
On a Mac laptop with Apple silicon, a new USB or Thunderbolt accessory may need approval. Click Allow in the prompt using your trackpad. The related setting is System Settings > Privacy & Security > Allow accessories to connect.
If the external keyboard also fails, check its battery and connection. Apple suggests trying a different port or a different Mac. If the problem follows the Mac, the Mac may need service.
Start in safe mode

Safe mode loads only the software the Mac needs, which helps show whether startup software is involved. Check Apple menu > About This Mac first. “Chip” means Apple silicon. “Processor” means an Intel-based Mac.
Apple silicon:
- Choose Apple menu > Shut Down and wait 10 seconds.
- Press and hold the power button until startup options appear.
- Select your startup disk.
- Hold Shift and click Continue in Safe Mode.
Intel-based Mac: Restart and immediately hold Shift until the login window appears.
You need a working Shift key for this, so use an external keyboard if necessary. If the built-in keyboard works in safe mode but not in normal mode, software is the more likely cause. If it fails in both, hardware becomes more likely. Restart normally to leave safe mode.
Run Apple Diagnostics
Apple Diagnostics checks for hardware faults. Disconnect external devices except a keyboard, mouse, display, and Ethernet connection, and keep the Mac plugged in.
- Apple silicon: Shut down, then press and hold the power button until startup options appear. Release it, then press Command-D.
- Intel-based Mac: Turn on the Mac and immediately hold D. If that fails, try Option-D.
Note any reference codes it shows. A reported issue supports a hardware cause, and Apple Support can help interpret it. A clean result does not rule out a keyboard fault. Apple’s technician documentation for at least one current model says keyboard diagnostics verify electrical operation, not mechanical feel and response.
Clean the keyboard safely

Debris is a possible cause when a single key or a few keys are unresponsive or feel different. Apple’s cleaning method covers MacBook models from 2015 and MacBook Pro models from 2016 onward. For other models, check Apple’s guidance for your specific Mac.
- Shut down the Mac and unplug the charger.
- Hold the Mac at about a 75-degree angle, not quite vertical.
- Use compressed air with the included straw. Keep the straw about half an inch (1.5 cm) from the keys, and never turn the can upside down.
- Spray the keyboard, or just the affected keys, from left to right.
- Rotate the Mac onto its right side and spray left to right again. Repeat with the Mac on its left side.
- Start the Mac and test every key.
If the keys still fail, stop there. Apple advises visiting an Apple Store or Apple Authorized Service Provider. Do not remove keycaps. iFixit advises against removing keys on butterfly-style keyboards (2015 and later MacBooks, 2016 and later MacBook Pros), and Engadget warns that doing so can permanently damage the mechanism.
When to get professional repair

Seek professional service if any of the following applies:
- Liquid reached the Mac, even if it seemed to dry.
- Several keys fail after cleaning, or the whole keyboard is unresponsive in safe mode and diagnostics.
- Apple Diagnostics reports a fault.
- The case is swollen or the trackpad is lifting.
Apple states that repairs by untrained individuals or with nongenuine parts may affect safety and functionality. Apple’s free keyboard service program for butterfly-keyboard models has reportedly ended, so ask Apple or an authorized provider about current options.
Repair or replacement depends on severity, your Mac’s age, and your warranty or coverage status. Costs vary by model and region, so get a written quote first. For an older Mac with other problems, replacement may make more sense. For a newer Mac with a single failed component, repair is usually worth discussing.
Troubleshooting table
| Symptom | Possible cause | Recommended next step |
| No keys respond, nothing on screen | Low battery alert you cannot see | Connect the charger or an external keyboard |
| Keys respond slowly or need long presses | Slow Keys turned on | Turn off Slow Keys in Accessibility > Keyboard |
| Letters trigger cursor movement, not text | Mouse Keys turned on | Turn off Mouse Keys in Pointer Control |
| Wrong characters appear | Incorrect input source | Choose the correct layout from the Input menu |
| One key sticks or feels different | Debris | Clean with compressed air using Apple’s steps |
| Works in safe mode, fails in normal mode | Software loaded at startup | Update macOS, then contact Apple Support |
| Fails in safe mode and Apple Diagnostics | Possible hardware fault | Contact Apple or an authorized provider |
| Keyboard failed after a spill | Possible liquid damage | Shut down and arrange professional service |
Frequently asked questions
Why is only one key not working on my MacBook?
A single dead or sticky key often involves debris under that key, though a mechanical fault is also possible. First check that the key is not affected by Slow Keys. Then clean using Apple’s compressed-air method. If it still fails, have an Apple Authorized Service Provider inspect it rather than prying the keycap off.
Why does my MacBook type the wrong characters?
The most common cause to check is the input source. Open System Settings > Keyboard > Text Input, click Edit, and turn on “Show Input menu in menu bar.” Select the correct layout from that menu. If the wrong characters persist across layouts and in safe mode, contact Apple Support.
Can I fix a MacBook keyboard not working after a spill?
Do not rely on DIY fixes after liquid contact. Apple’s technician guidance says liquid can short internal circuits and stop the keyboard from working. Shut down, disconnect the charger, and keep the Mac off. Take it to Apple or an Authorized Service Provider, even if it seems to work at first.
Is it safe to remove keycaps to clean underneath?
It is not recommended for most users. iFixit advises against removing keys on butterfly-style MacBook keyboards, and Engadget warns that the key mechanism is small and delicate. Apple’s published cleaning method uses compressed air without removing keys. If air does not help, professional service is safer.
Can an external keyboard keep me working?
Yes, a wired or Bluetooth keyboard can let you keep working and run tests such as safe mode and Apple Diagnostics. It does not repair the built-in keyboard. On Apple silicon laptops, you may need to approve a new accessory using the trackpad before it connects.
Should I repair the keyboard or replace the Mac?
It depends on the Mac’s age, the severity of the fault, and your coverage. Get a written quote from Apple or an authorized provider and compare it with the device’s value and condition. If the Mac has other problems or limited software support, replacement may be more practical.
Conclusion
Start with the simplest checks: restart, power, Slow Keys, Mouse Keys, and the input source. Then use an external keyboard, safe mode, and Apple Diagnostics to separate software causes from hardware ones. Clean affected keys only with Apple’s compressed-air method. Escalate to Apple or an authorized provider after liquid exposure, a swollen case, a diagnostic fault, or failures that persist in safe mode.
Disclaimer
This guide offers general troubleshooting information and cannot confirm the cause of a fault on your specific Mac. Menu names and available options vary by macOS version and model, so check Apple’s documentation for your Mac. Back up your data before changing settings or arranging service, and use a qualified technician for any hardware repair.
1 thought on “MacBook keyboard not working: causes and safe fixes”