You press I and something on screen gets clicked instead of a letter appearing. Or a handful of keys on the right side of your keyboard suddenly do nothing in your document. If you’re here hoping it isn’t a dead keyboard, fingers crossed, because it usually isn’t.
A very common cause is Mouse Keys, a macOS accessibility feature that turns part of your keyboard into a mouse. The fastest fix is to open System Settings > Accessibility > Pointer Control and turn Mouse Keys off. You can also press Option + Cmd + F5 to open the Accessibility Shortcuts panel and deselect Mouse Keys there (Apple’s guide to unresponsive keys).
If that doesn’t sort it out, the rest of this guide works through the other likely causes, from settings to hardware.
Match Your Symptom First
Different keyboard problems point to different causes. Find the line that matches what you’re seeing, then jump to that fix:
- Keys move the pointer or click instead of typing: Mouse Keys is on.
- Keys only register if you hold them down: Slow Keys is on.
- Wrong characters or symbols appear: the wrong keyboard layout or input source is selected.
- Command, Option, Control, or Shift act strangely: check Sticky Keys, modifier-key settings, and remapping apps.
- One or two specific keys fail everywhere: suspect debris, liquid, or worn hardware.
- Nothing types at all: check power, Bluetooth, the cable, and whether your Mac sees the keyboard.
What Mouse Keys Does (and Why It Hijacks Your Typing)
Mouse Keys lets someone who can’t use a mouse or trackpad move the pointer with the keyboard. It’s a genuinely useful feature if you need it. If you don’t, it’s maddening, because macOS gives you no obvious warning that it’s on.
On a keyboard without a numeric keypad (every MacBook and the standard Magic Keyboard), the keys 7, 8, 9, U, O, J, K, and L move the pointer. I and a few nearby keys act as mouse buttons, so pressing them clicks or holds instead of typing (Apple’s Mouse Keys guide). On a keyboard with a numeric keypad, the keypad takes over instead, so the symptom shows up as dead number keys.
Turn Off Mouse Keys
If keys are moving the pointer or clicking instead of typing, this is the step most likely to fix it. If you’ve been stuck wondering why your keyboard half-works, this is the bit you came for.
Through System Settings
- Open System Settings from the Apple menu.
- Select Accessibility in the sidebar.
- Click Pointer Control (scroll down if you don’t see it).
- Turn Mouse Keys off.
Then open TextEdit, Notes, or a browser text field and type the keys that weren’t working.
(The confusing part: Mouse Keys lives under Pointer Control, not under Keyboard. It’s a keyboard feature filed as a pointer feature, which is why so many people search Keyboard settings and come up empty.)
Through the Accessibility Shortcuts Panel
If your keyboard’s too unreliable to get around System Settings comfortably, use the shortcut panel instead:
- Press
Option + Cmd + F5. - In the Accessibility Shortcuts panel, deselect Mouse Keys.
- Close the panel.
On a Mac or Magic Keyboard with Touch ID, quickly pressing the Touch ID button three times opens the same Accessibility Shortcuts panel. That’s handy when your F-keys are part of the problem.
Stop It From Turning On Again
Mouse Keys can get switched on by accident through that same shortcut panel. Press Option + Cmd + F5 again and look at what’s listed. If you’ll never use Mouse Keys, deselect it in the list of features under System Settings > Accessibility > Shortcut so the panel no longer offers it.
macOS also has a Mouse Keys option called Press the Option key five times to toggle Mouse Keys (Apple’s Pointer Control settings guide). If Mouse Keys keeps coming back while you type, go to Pointer Control, open the options for Mouse Keys, and turn that setting off.
Mouse Keys Is Off, but Keys Still Don’t Work
This is where it gets frustrating. You’ve flipped the obvious switch, and you’re still stuck with a keyboard that won’t cooperate. Work through these in order.
Check Slow Keys
Slow Keys makes macOS ignore a keypress unless you hold the key for a set time. It’s meant for people who hit keys accidentally, but if it’s on without you knowing, your keyboard feels dead.
- Open System Settings > Accessibility > Keyboard.
- Find Slow Keys.
- Turn it off, or lower the acceptance delay if you actually need the feature.
Check Sticky Keys and Modifier Keys
Sticky Keys lets you press modifier keys one at a time instead of holding them together. When it’s on unexpectedly, Command, Option, Control, and Shift seem to stay “pressed” after you let go. You’ll find it on the same screen: System Settings > Accessibility > Keyboard.
Then look at System Settings > Keyboard > Keyboard Shortcuts and check the Modifier Keys section for swapped assignments. If you run a remapping tool like Karabiner-Elements, BetterTouchTool, or your keyboard maker’s utility, quit it and test again. If the problem disappears, adjust that app’s settings before relaunching it.
Check Your Keyboard Layout
If keys type, but the wrong characters show up, macOS is probably using a different input source than you think. Apple includes this in its checklist (Apple’s guide to unresponsive keys).
- Open System Settings > Keyboard.
- Under Text Input, click Edit next to Input Sources (wording can differ slightly by macOS version).
- Confirm the layout you want is selected.
- Remove any layouts you don’t use, so
Ctrl + Spaceor the Globe key can’t switch you into them by accident.
Keep an eye on the Input menu in the menu bar while you type. If the flag or letters change, that’s your culprit.
Check the Connection
For a Magic Keyboard or other Bluetooth keyboard:
- Make sure it’s switched on and charged.
- Confirm Bluetooth is on in System Settings > Bluetooth.
- Disconnect and reconnect the keyboard. If that fails, remove it from the device list and pair it again.
- Turn off any other paired keyboards that might be sending stray input.
For a wired keyboard:
- Unplug it and plug it back in firmly.
- Try a different port. If you’re going through a USB hub or a USB-C adapter, plug straight into the Mac instead.
- Test the keyboard on another Mac, or test a spare USB keyboard on your Mac.
Use the Onscreen Keyboard While You Troubleshoot
If your physical keyboard is too unreliable to work with, turn on the Accessibility Keyboard and type with your mouse or trackpad. Go to System Settings > Accessibility > Keyboard and switch on Accessibility Keyboard. Apple recommends this as a stopgap while you diagnose the problem.
Clean and Inspect the Keyboard
If the same one or two keys fail no matter what app you’re in, it’s probably physical. Crumbs, dust, and sticky residue are the usual suspects.
- Shut down the Mac (or disconnect the external keyboard) before cleaning.
- Look for debris or signs of liquid around the affected keys.
- Follow Apple’s cleaning guidance for your specific Mac or keyboard.
- Don’t pry keycaps off a MacBook keyboard unless the official service steps for your model say it’s safe. They break easily.
If liquid got into the keyboard, shut down the Mac (or turn off and disconnect the external keyboard), stop using it, and get it looked at. Repeatedly testing a wet keyboard can make the damage worse. Apple treats liquid exposure, debris, and keys that feel physically different as hardware problems (Apple’s Mac laptop keyboard guidance).
The Last Resort: Separate Software From Hardware
You’ve almost given up, and that’s fair. Before you do, run these tests to find out whether macOS or the keyboard itself is at fault:
- Try the keys in a different app.
- Start up in Safe Mode, which starts macOS without some third-party software such as login items. On a Mac with Apple silicon, shut down, press and hold the power button until Loading startup options appears, select your startup disk, then press and hold Shift and click Continue in Safe Mode. On an Intel-based Mac, turn it on and immediately press and hold Shift until the login window appears (Apple’s safe mode guide). If the keys work in Safe Mode, third-party software or a setting is the likely cause.
- Log in to a different user account, which rules out settings tied to your profile.
- For an external keyboard, test it on another Mac.
- For a MacBook, connect an external keyboard. If that one works fine, the built-in keyboard is the problem.
If the same physical keys fail in every test, no setting is going to fix it.
When to Contact Apple Support
Book a repair through Apple Support or an Apple Authorized Service Provider if:
- Keys stay unresponsive after cleaning and every software test.
- You see or suspect liquid damage.
- Keys feel mushy, stuck, or different from their neighbors.
- Your built-in MacBook keyboard fails while an external keyboard works.
Apple can run diagnostics and assess the keyboard for service (Apple’s Mac laptop keyboard guidance). Bring a note of which keys fail and what you’ve already tried. It speeds things up.
Your Keyboard Works Again
Often the fix is that single Mouse Keys toggle under Pointer Control, and your keyboard finally types like a keyboard again. If it took a trip through Slow Keys, input sources, and Bluetooth settings to get there, the persistence paid off. You also now know exactly where macOS hides these settings, and that’s worth the effort the next time a key starts acting up.