Keyboard Not Working on Mac: Fixes for MacBook and External Keyboards
Published July 7, 2026 · Keyboard Troubleshooting
Your keyboard stopped working on Mac — either nothing types, certain keys are unresponsive, or the keyboard isn't detected at all. Mac keyboard failures split into two categories: built-in MacBook keyboards and external keyboards (USB or Bluetooth). The fix path is different for each, and for external keyboards, whether the connection is wired or wireless matters too.
This guide covers both paths — starting with the fastest fixes that resolve 90% of cases, then going deeper into macOS settings, accessibility traps, and hardware diagnostics.
First: Identify Whether Keys Register at All
Open the Online Keyboard Tester in Safari or Chrome and press individual keys. If they light up in the tester but don't type in apps, the problem is in macOS settings — Slow Keys, Mouse Keys, or a software conflict. If keys don't light up in the tester either, the problem is hardware, drivers, or a connection issue. This distinction narrows your fix path immediately.
Fix 1: External Keyboard Not Working on Mac (USB)
USB keyboard failures on Mac are almost always a connection or power issue, not a macOS problem. Work through these steps before touching any software settings.
Try a Different Port or Cable
Unplug the keyboard and plug it directly into a different USB-A or USB-C port on the Mac — not a hub. If it works in a different port, the original port has a hardware fault or is in a low-power state. If you're using a USB-C hub or dock, plug the keyboard directly into the Mac to rule out hub issues. Many USB hubs don't supply enough current for keyboards with integrated hubs or RGB lighting.
Reset the USB Controller (SMC / USB Power)
macOS can sometimes disable power to USB ports after a system event. The fastest fix is a full power cycle:
- Go to Apple menu → Shut Down (not Restart — full shut down).
- Unplug all cables from the Mac, including the power adapter.
- Wait 15–30 seconds.
- Reconnect the power adapter, then the keyboard, then start the Mac.
On Intel Macs, you can also reset the SMC (System Management Controller), which manages USB port power. The method varies by model — check Apple's support site for your specific Mac. Apple Silicon Macs (M1–M4) don't have an SMC, but the full power cycle above has the same effect.
Check System Settings → Keyboard
Open System Settings → Keyboard. If a USB keyboard is connected but not recognized, it won't appear here and won't be configurable. If it's listed but keys don't type, the connection is fine and the problem is a software setting — skip ahead to the Accessibility section below.
Fix 2: Bluetooth Keyboard Not Working on Mac
Bluetooth keyboard failures typically fall into three categories: the device is paired but not connected, a stale pairing needs to be refreshed, or Bluetooth interference is causing dropped keystrokes.
Toggle Bluetooth Off and On
The fastest fix for a Bluetooth keyboard that stopped responding: click the Bluetooth icon in the menu bar, turn Bluetooth Off, wait 5 seconds, turn it back On. The keyboard should reconnect automatically within a few seconds. If the icon shows it's connected but keys don't type, remove and re-pair the device.
Remove and Re-Pair the Keyboard
- Open System Settings → Bluetooth.
- Find your keyboard in the list. Click the info button (i) next to it.
- Click Forget This Device and confirm.
- Put the keyboard into pairing mode (usually by holding a pairing button or Fn+Bluetooth key — check your keyboard manual).
- Select the keyboard when it appears in the Bluetooth device list and click Connect.
After re-pairing, test all keys in the keyboard tester before closing settings.
Bluetooth Interference
Bluetooth operates on 2.4GHz, the same band as most Wi-Fi networks and USB 3.0 devices. If your keyboard is typing slowly or dropping keystrokes intermittently rather than failing completely, try:
- Moving the keyboard closer to the Mac — within 1 meter eliminates most interference
- Unplugging USB 3.0 devices (hard drives, hubs) near the Mac temporarily
- Switching your Wi-Fi to 5GHz or 6GHz if your router supports it
- Checking battery level — a low battery causes erratic Bluetooth behavior before full failure
Magic Keyboard Users: Check the Power Switch
Apple Magic Keyboard has a physical power switch on the right side. It's easy to accidentally slide it to Off. Make sure the green indicator is visible at the edge of the switch. Also check the Lightning port — Magic Keyboards won't work wirelessly while the Lightning cable is plugged in on older models; unplug the cable first.
Fix 3: macOS Accessibility Settings Blocking Input
Three macOS Accessibility features can make it appear that your keyboard isn't working when it's actually functioning fine — the features are just intercepting or delaying input. These can be activated accidentally and are often missed during troubleshooting.
Slow Keys
Slow Keys requires you to hold a key for a set duration before macOS registers it. If you press keys normally and nothing types, but you can get letters to appear by holding each key for a second, Slow Keys is the cause.
To disable: System Settings → Accessibility → Keyboard, then toggle off Slow Keys.
How it gets turned on accidentally: holding the Option key for 5+ seconds triggers the Slow Keys activation prompt in older macOS versions.
Mouse Keys
Mouse Keys redirects the numeric keypad (and sometimes the 7/8/9/U/I/J/K/L keys) to control the mouse cursor. If your number keys or certain letter keys stopped typing and instead move the cursor, Mouse Keys is active.
To disable: System Settings → Accessibility → Pointer Control → Alternate Control Methods, then toggle off Mouse Keys.
How it gets turned on accidentally: pressing Option five times in rapid succession activates Mouse Keys.
Sticky Keys
Sticky Keys allows pressing Shift, Cmd, Option, and Ctrl sequentially rather than simultaneously. When active, pressing Shift once "sticks" it and your next keystroke becomes a shifted character, which can make typing feel completely broken.
To disable: System Settings → Accessibility → Keyboard, then toggle off Sticky Keys. If Sticky Keys is active, you'll also see a floating key icon near the menu bar.
Slow Keys
Hold key for 1+ second for it to register. Fix: System Settings → Accessibility → Keyboard → Slow Keys → Off
Mouse Keys
Number/letter keys move cursor. Fix: System Settings → Accessibility → Pointer Control → Mouse Keys → Off
Sticky Keys
Modifiers stay active after release. Fix: System Settings → Accessibility → Keyboard → Sticky Keys → Off
Fix 4: MacBook Built-In Keyboard Not Working
A MacBook's built-in keyboard failure is more serious than an external keyboard issue because there's no simple cable swap. The fix depends heavily on whether the failure is total (nothing types at all) or partial (certain keys don't respond).
Restart macOS First
A kernel panic, a crashed audio process, or a misbehaving app can freeze keyboard input without actually breaking anything. A full restart (not just a sleep cycle) resolves this. If the keyboard works after a restart but fails again later, note what you were doing when it broke — that narrows down the software cause.
Test in a New User Account
If the keyboard works on the login screen but stops working after you log into your account, a corrupted preference file in your user profile is the cause. To confirm:
- Go to System Settings → Users & Groups and create a new user account.
- Log out of your current account and log into the new one.
- Test the keyboard — open TextEdit and try typing.
If the keyboard works in the new account, the issue is isolated to your user profile. The most likely culprit is a corrupted keyboard preferences file. In your original account, delete ~/Library/Preferences/com.apple.HIToolbox.plist (you'll need to show hidden files with Cmd+Shift+Period), then restart. macOS will recreate the file with defaults.
Boot into macOS Recovery
To isolate the problem from your regular macOS environment:
- Apple Silicon Macs (M1–M4): Shut down, then hold the power button until "Loading startup options" appears. Select Options → Continue to enter Recovery.
- Intel Macs: Restart while holding Cmd+R until the Apple logo appears.
Open Terminal from the Utilities menu in Recovery and test if keys type. If the keyboard works in Recovery but not in your normal macOS boot, a third-party keyboard driver, an app with input monitoring permissions, or a kernel extension is intercepting keystrokes.
Run Apple Diagnostics
For suspected hardware failure, Apple Diagnostics tests keyboard circuits along with other components:
- Apple Silicon: Shut down, hold power button, release when startup options appear, then hold Cmd+D.
- Intel: Restart while holding the D key.
Keyboard hardware errors appear with codes like PPT007 (keyboard not responding). If Apple Diagnostics reports a keyboard error, the repair requires Apple Service — the keyboard on modern MacBooks is bonded to the top case assembly.
Butterfly Keyboard (2016–2019 MacBooks)
MacBook Pro and MacBook models from 2016 to 2019 used the butterfly mechanism, which was prone to debris-caused failure. Apple extended the keyboard repair program for these models. If you have one of these MacBooks and keys are sticking or unresponsive, contact Apple or an Apple Authorized Service Provider — many repairs remain free under the extended program even out of warranty.
Fix 5: Check Input Monitoring Permissions
In macOS Catalina and later, apps that read keystrokes require explicit permission under Privacy & Security. A keyboard remapping app, a password manager, a text expander, or a macro utility that had its Input Monitoring permission revoked can cause keyboard input to appear broken in specific apps — or system-wide if it's a low-level driver.
- Open System Settings → Privacy & Security → Input Monitoring.
- Review the list of apps with Input Monitoring access. Revoke access from any apps you don't recognize or no longer use.
- If you recently revoked access from an app (like Karabiner-Elements, BetterTouchTool, or Alfred), re-enable it — these apps require Input Monitoring to function and can break keyboard behavior when the permission is missing.
Also check Privacy & Security → Accessibility — apps listed there can control your Mac, including keyboard simulation. An app with Accessibility access and buggy code can interfere with normal keyboard input.
External Keyboard Acting Up? Start with a Deep Clean
Before blaming macOS or drivers, debris under keycaps causes more keyboard failures than software issues. A proper cleaning kit with a keycap puller, brushes, and compressed air removes the grime that causes keys to stick, double-type, or stop responding entirely — and it takes 15 minutes.
View Keyboard Cleaning Kits on Amazon →Full Diagnostic Checklist
External Keyboard (USB or Bluetooth)
- Test keys in the keyboard tester — confirm they register there first.
- USB: Try a different port and cable. Plug directly into the Mac (not a hub).
- Bluetooth: Toggle Bluetooth off and on. Forget device and re-pair if reconnect fails.
- Check battery level on wireless keyboards.
- Open System Settings → Accessibility → Keyboard: disable Slow Keys and Sticky Keys.
- Open System Settings → Accessibility → Pointer Control: disable Mouse Keys.
- Check System Settings → Privacy & Security → Input Monitoring for conflicting apps.
- Shut down fully, unplug power, wait 30 seconds, restart.
MacBook Built-In Keyboard
- Restart macOS (full restart, not sleep resume).
- Test in a new user account to isolate user profile corruption.
- Boot into macOS Recovery and test — isolates software vs hardware.
- Run Apple Diagnostics (hold D on startup) — reports hardware keyboard errors with codes.
- If Diagnostics reports errors: contact Apple Support or Apple Authorized Service Provider.
Frequently Asked Questions
Why is my Mac keyboard suddenly not working?
The most common causes are: Slow Keys was accidentally activated (hold Option+Shift briefly to trigger it), a macOS update changed a setting, a USB hub stopped powering the keyboard, a Bluetooth pairing went stale, or a third-party keyboard app had its Input Monitoring permission revoked. Check System Settings → Accessibility → Keyboard first — Slow Keys explains more sudden failures than any other cause.
How do I fix an external keyboard not working on Mac?
Try a different USB port or cable first (USB), or toggle Bluetooth off and on (wireless). Check that Slow Keys and Mouse Keys aren't active in System Settings → Accessibility. If the keyboard isn't recognized at all, do a full power cycle: shut down completely, unplug power, wait 30 seconds, then restart. This resets USB port power on most Macs.
How do I fix a MacBook built-in keyboard that stopped working?
Restart macOS first — a crashed process can freeze keyboard input temporarily. Then test in a new user account; if it works there, delete the corrupted preference file com.apple.HIToolbox.plist from your Library. Boot into Recovery to test outside your normal environment. Run Apple Diagnostics (hold D on startup) to check for hardware faults.
What is Mouse Keys on Mac and how does it affect my keyboard?
Mouse Keys is a macOS Accessibility feature that routes keypad keys to mouse cursor movement. When active, pressing 2/4/6/8 on the keypad moves the cursor instead of typing numbers, and the period key clicks instead of inserting a decimal. It's activated accidentally by pressing Option five times quickly. Disable it under System Settings → Accessibility → Pointer Control → Alternate Control Methods.
Related Guides
- Keyboard Not Working on Windows: 10 Fixes — The Windows companion guide with driver and registry fixes
- Keyboard Not Detected: Wired and Wireless Fixes — When the OS can't see the keyboard at all
- Wireless Keyboard Lag Fix — Bluetooth and 2.4GHz interference solutions
- Keyboard Double Typing Fix — When keys register twice on a single press
- Keyboard Maintenance Guide — Deep cleaning to prevent hardware failures