Mac Keyboard Not Working? Here's How to Fix It
In this article
If your Mac keyboard stops responding, the quickest fix is to restart your Mac or reset the SMC/NVRAM. If that doesn't work, check the Bluetooth connection, battery level, or physical damage. This guide walks you through every step to get your keyboard typing again.
What You'll Need
- Your Mac (laptop or desktop)
- Possibly a USB keyboard (if the built-in one is unresponsive)
- Access to System Settings (or System Preferences on older macOS)
Step-by-Step
- Restart your Mac. Click the Apple menu and choose Restart. If the keyboard is completely unresponsive, press and hold the power button until it turns off, then press it again to turn it back on. This clears minor software glitches.
- Check the physical connection. If you're using a wired keyboard, unplug it and plug it back in. Try a different USB port. For a built-in keyboard, check for debris or damage around the keys.
- For Bluetooth keyboards: Go to System Settings > Bluetooth. Make sure Bluetooth is on. If your keyboard is listed, click the "i" next to it and choose "Forget This Device," then pair it again. If it's not listed, put the keyboard in pairing mode (refer to its manual) and click "Add Bluetooth Device."
- Check the battery. For wireless keyboards, open System Settings > Bluetooth and look at the battery level next to the keyboard's name. If it's low, replace or recharge the batteries. For built-in keyboards, ensure your Mac's battery isn't critically low.
- Reset the SMC (System Management Controller). This fixes power and hardware issues. The steps differ by Mac model:
- Intel Mac laptops with a T2 chip: Shut down, then hold Control+Option+Shift on the left side for 7 seconds, then also hold the power button for 7 more seconds. Release all, wait a few seconds, then power on.
- Intel Mac laptops without T2: Shut down, then press Shift+Control+Option on the left side and the power button simultaneously for 10 seconds. Release and power on.
- Intel iMac, Mac mini, Mac Pro: Unplug the power cord, wait 15 seconds, plug it back in, wait 5 seconds, then turn it on.
- Apple Silicon (M1/M2/M3) Macs: The SMC reset isn't needed; just restart your Mac.
- Reset NVRAM (non-volatile RAM). Only for Intel Macs. Shut down, then press and hold Option+Command+P+R immediately after pressing the power button. Hold for about 20 seconds, then release. On Apple Silicon, restarting automatically resets NVRAM.
- Check keyboard settings. Go to System Settings > Keyboard. Ensure "Key Repeat" and "Delay Until Repeat" are set to reasonable values. Also check if any sticky keys or slow keys are enabled (System Settings > Accessibility > Keyboard). Disable them if they are on.
- Try Safe Mode. Restart your Mac and immediately hold the Shift key until the login window appears. In Safe Mode, the system checks for issues. If the keyboard works in Safe Mode, a third-party app might be interfering. Restart normally after testing.
- Update macOS. Go to System Settings > General > Software Update. Install any available updates, as they often fix bugs related to input devices.
- Check for stuck keys. Press each key individually and see if any are physically stuck. If a key is stuck, gently pry it up (if it's a desktop keyboard) or use compressed air to remove debris.
Common Mistakes
- Skipping the restart. Many keyboard issues are temporary and a restart clears them. Don't skip this simple step.
- Resetting SMC on Apple Silicon Macs. The SMC reset does nothing on M1/M2/M3 Macs; it's a waste of time.
- Forgetting to check the Bluetooth toggle. If Bluetooth is off, your wireless keyboard won't connect. Always verify it's on.
- Assuming the keyboard is broken. Before buying a new keyboard, test it on another device or try a different keyboard on your Mac.
- Using the wrong SMC reset method. The method varies by Intel Mac model; using the wrong one won't work.
Tips
- Use the on-screen keyboard. If your physical keyboard is unresponsive, you can use the accessibility keyboard to type. Go to System Settings > Accessibility > Keyboard and enable "Show Keyboard and Character Viewers."
- Keep a spare USB keyboard. Having a cheap wired keyboard on hand can help you troubleshoot and use your Mac while the built-in one is being fixed.
- Clean your keyboard regularly. Use compressed air to blow out crumbs and dust. For sticky keys, use a slightly damp microfiber cloth (never spray liquid directly).
- Check for interference. If using a Bluetooth keyboard, keep it within a few feet of your Mac and away from other wireless devices.
Troubleshooting
If you've followed all the steps and the keyboard still doesn't work, try these additional checks:
- Test in a different user account. Create a new user in System Settings > Users & Groups. If the keyboard works there, the issue is specific to your user account—check for login items or third-party keyboard software.
- Check for external interference. Unplug all USB devices except the keyboard (if wired) and remove any USB hubs. Sometimes other devices cause conflicts.
- Run Apple Diagnostics. Restart your Mac and hold the D key (or Command+D on older models). This tests hardware. If it reports a keyboard issue, you'll need service.
- If the keyboard is physically damaged (e.g., liquid spill, cracked keys), you may need to replace it. For MacBooks, this is a service procedure; contact Apple Support or an authorized service provider.
Frequently Asked Questions
Why is my Mac keyboard not typing but the trackpad works?
This often indicates a software issue, not a hardware failure. Try restarting, resetting the SMC (on Intel Macs), or checking if the Bluetooth keyboard is connected but not responding. If the built-in keyboard is dead, it might be a hardware fault.
How do I reset my Mac keyboard to default settings?
Go to System Settings > Keyboard and click "Restore Defaults" (if available). Also, check Accessibility > Keyboard and disable any toggles like Sticky Keys. For Bluetooth keyboards, forgetting and re-pairing can reset the connection.
Can I use a Windows keyboard on my Mac?
Yes, but you'll need to remap the keys. Go to System Settings > Keyboard > Modifier Keys and change the Option and Command keys to match your preference. The Alt key acts as Option, and the Windows key acts as Command.
Why does my Mac keyboard work after restart but then stops?
This could be due to a third-party app that interferes with input, or a kernel extension. Check your login items (System Settings > General > Login Items) and remove any keyboard-related utilities. Also, try running in Safe Mode to see if the issue persists.
How do I type without a keyboard on a Mac?
Use the on-screen keyboard: System Settings > Accessibility > Keyboard > Show Keyboard and Character Viewers. You can also use Voice Control (Accessibility > Voice Control) to dictate text.
What does the SMC reset do for a keyboard?
The SMC controls low-level hardware functions, including keyboard and trackpad. Resetting it can fix issues where the keyboard doesn't respond after sleep or power changes. It's only relevant for Intel Macs.