PC & Windows Fixes

Mac Keyboard Not Working? Fixes for MacBook, Magic and USB Keyboards

Mac keyboard not working or typing the wrong keys? Fix MacBook built-in keyboards, Magic Keyboard pairing, USB and dock keyboards, and login screen problems.

On this page 9 sections
  1. Match the symptom to the cause
  2. Settings that make a keyboard look broken
  3. Magic Keyboard and other Bluetooth keyboards
  4. USB and dock keyboards on Apple silicon laptops
  5. MacBook built-in keyboard problems
  6. Keyboard not working at the login screen or during startup
  7. Company Macs: managed settings and standard kit
  8. When it’s the keyboard, and when to stop
  9. Common questions
Close-up of a MacBook Pro keyboard with US key layout and trackpad edge

A Mac keyboard that stops typing is usually one of three things: a wireless keyboard that has lost its pairing or charge, a setting that changes how keys behave, or, on Apple silicon laptops, a USB keyboard that macOS hasn’t been allowed to talk to yet. Genuine hardware failure comes after those.

Two quick tests tell you which way to go. First, which keyboard is it: the MacBook’s built-in keyboard, an Apple Magic Keyboard, or a third-party USB or Bluetooth keyboard? Second, does a different keyboard work on this Mac? If any keyboard fails here, look at the Mac’s settings and ports. If only one keyboard fails, and it fails on another Mac too, the keyboard is the problem.

Menu paths below are for macOS Ventura 13 through macOS 27 Golden Gate, which use System Settings. On Monterey 12 and earlier, the same options live in System Preferences.

Try these first

  1. Plug the MacBook into power; a low-battery alert you can’t see can stop the built-in keyboard.
  2. Magic Keyboard: slide the switch off and on (green showing), then connect it with its cable for a minute to re-pair.
  3. USB keyboard on an Apple silicon laptop: unlock the Mac and look for an alert asking you to allow the accessory.
  4. Check System Settings > Accessibility > Keyboard and make sure Slow Keys is off.
  5. Check System Settings > Accessibility > Pointer Control and make sure Mouse Keys is off.
  6. Try another keyboard, or this keyboard on another Mac, to split Mac from keyboard.

Rather not fix it yourself?

A GoProIT technician can connect remotely, with your permission, and fix it while you watch. $59 flat per fix · Mon–Fri 8am–8pm ET.

Match the symptom to the cause

What you seeLikely causeWhere to look
MacBook built-in keyboard and trackpad both deadBattery too low to show its alert, or the Mac has frozenPlug in power, wait a few minutes, then restart
Magic Keyboard stopped after a move or a battery run-downLost pairing or flat batteryMagic Keyboard section
New USB keyboard or dock does nothing on a MacBook with Apple siliconAccessory not yet allowed to connectUSB and dock section
Keys only register if held downSlow Keys turned onSettings section
Letters and numbers don’t type, but some keys move the pointerMouse Keys turned onSettings section
Wrong characters, @ and " swapped, symbols in odd placesWrong input source or keyboard typeSettings section
Password rejected at the login window but correct elsewhereDifferent input source at login, or Caps LockLogin screen section
One or two keys dead or sticky on a 2015 to 2019 MacBookDebris under a low-travel keyBuilt-in keyboard section
Keyboard failed right after a spillLiquid damageHardware section; shut down now

While you troubleshoot, you can type with the on-screen Keyboard Viewer and the trackpad or mouse, which helps if you need to enter a password.

Settings that make a keyboard look broken

Apple’s own troubleshooting starts here, because these options can be switched on by accident or left on by a previous user.

Slow Keys

Go to Apple menu > System Settings > Accessibility > Keyboard and turn Slow Keys off. With it on, a key has to be held longer than usual before the Mac accepts it, which feels exactly like a dying keyboard.

Mouse Keys

Go to System Settings > Accessibility > Pointer Control and turn Mouse Keys off. Apple notes that while Mouse Keys is on, you can’t use the keyboard or numeric keypad to type text. Two shortcuts can switch it on without anyone noticing: pressing Option five times, if that option is enabled under Mouse Keys, and the Accessibility Shortcuts panel opened with Option-Command-F5, where you can also turn it off.

Input source and keyboard type

If keys type the wrong characters, open System Settings > Keyboard, go to Text Input, click Edit and turn on Show Input menu in menu bar. Then check the Input menu has the layout printed on your keyboard, such as U.S. Remove layouts nobody uses, since a keyboard shortcut can switch between them.

Third-party keyboards can also be detected as the wrong physical type. macOS recognizes ANSI, ISO and JIS keyboards, and Keyboard Setup Assistant opens automatically when it can’t identify one. If a PC keyboard puts the key next to Left Shift in the wrong place, run the assistant again from Keyboard settings and pick the type that matches.

A Windows keyboard works, but its keys map differently: the Windows key acts as Command and Alt acts as Option. Shortcuts that seem broken are often just pressed with the wrong key.

Magic Keyboard and other Bluetooth keyboards

  1. Power. Slide the switch on the back edge off and on again; you should see green when it’s on. Older Apple wireless keyboards with AA batteries use a power button on the side instead, and a dead light usually means fresh batteries.
  2. Re-pair with the cable. Connect the Magic Keyboard to the Mac with a USB-C or Lightning cable, depending on the model, wait about a minute, then unplug it. Apple’s steps say the cable both charges the keyboard and pairs it with that Mac. This fixes most “it worked yesterday” cases, including a keyboard that was last paired with a different Mac or an iPad.
  3. Check Bluetooth is on in System Settings > Bluetooth, using the trackpad or a mouse. The keyboard should appear in the device list with its battery level.
  4. Interference. If it pairs but drops out, move it closer and away from USB 3 hubs, wireless speakers and the router. Apple lists wireless interference as a common cause of accessories that won’t stay connected.

For a third-party Bluetooth keyboard, remove it from the Bluetooth device list, put it in pairing mode using the maker’s instructions, and pair again. Multi-device keyboards with channel buttons are often simply switched to another computer.

USB and dock keyboards on Apple silicon laptops

On MacBook Air and MacBook Pro models with Apple silicon, macOS asks before a new or unknown USB or Thunderbolt accessory can exchange data. If someone clicked Don’t Allow, or the alert appeared while the Mac was locked, the keyboard gets power but types nothing. Apple also documents that after the Mac has been locked for three or more days, you may need to unlock it before a previously allowed accessory works again, which catches people who come back from a long weekend to a dead dock keyboard.

  1. Unplug the keyboard or dock, unlock the Mac with the built-in keyboard or Touch ID, and plug it back in.
  2. Click Allow when the alert appears.
  3. To review the setting, open System Settings > Privacy & Security, scroll to Accessories and check Allow accessories to connect. The default is Ask for new accessories. On macOS Ventura the menu sits directly on the Privacy & Security page with slightly different option names.

If you run the laptop closed on a dock, Apple’s advice is to allow the external display, mouse and keyboard first with the lid open. After that, other accessories can be approved without opening the lid.

For any wired keyboard, also try a port directly on the Mac rather than a hub or monitor, and a different cable or adapter. If no USB device works in a port, that points to the port or adapter, not the keyboard.

Rather have a technician sort it out?

If the keyboard works on another Mac but not this one, a technician can connect remotely with your approval and check the pairing, accessory approval and keyboard settings while you watch. A GoProIT technician can connect remotely, with your permission, and fix it while you watch. $59 per fix, Mon–Fri 8am–8pm ET.

Get a $59 fix

MacBook built-in keyboard problems

Everything dead at once. Apple notes the Mac may be showing a low-battery alert you can’t see. Connect the charger or an external keyboard to see it. If the battery isn’t charging at all, see our MacBook not charging guide.

One or a few keys. On MacBook models from 2015 and MacBook Pro models from 2016 with the very thin keyboard, Apple’s cleaning method is compressed air: hold the Mac at about 75 degrees, spray left to right with the straw about half an inch away, then repeat with the Mac turned on its right side and its left side. Apple’s Keyboard Service Program for these models has ended, so repairs are now normally paid unless another coverage applies.

Test in safe mode. If keys misbehave only after you sign in, safe mode tells you whether software that loads at startup is involved. The startup keys differ on Apple silicon and Intel Macs; both are in the safe mode steps of our Apple logo guide. You’ll see Safe Boot in the menu bar. If the keyboard behaves in safe mode, a keyboard utility, remapping tool or recently installed app is the likely culprit; remove or update it, then restart normally. If it fails the same way in safe mode, lean toward hardware.

On a Windows laptop instead? Our laptop keyboard guide covers HP, Dell, Lenovo and Surface.

Keyboard not working at the login screen or during startup

A keyboard that works once you’re signed in but not before is a timing or layout problem, not a fault.

  • Wireless keyboards at startup. For startup key combinations, Apple recommends plugging a wireless keyboard in with its cable or using the built-in or a wired keyboard, and waiting a few seconds so the Mac recognizes it. The same advice helps at an early password screen after a restart.
  • Password rejected. Check Caps Lock first; Apple notes it has a deliberate delay, so hold it until the light comes on. Then check the input source shown at the login window. If the account password was set with one layout and the login window uses another, the password is typed differently.
  • USB keyboards on Apple silicon laptops may need the Mac unlocked before they connect, as described above. Use the built-in keyboard to sign in.

If the Mac never gets as far as the login window, that is a startup problem rather than a keyboard one, and the same Apple logo guide walks through it.

Company Macs: managed settings and standard kit

If the Mac is enrolled in your company’s device management through Apple Business Manager, some settings aren’t yours to change. On supervised Apple silicon laptops, an administrator can control the accessory approval setting, so a keyboard that won’t connect may be blocked by policy rather than broken. Check System Settings > General > Device Management to see whether a profile is installed, and ask whoever manages it before changing anything.

For a small office, a few habits prevent most tickets: keep one spare Magic Keyboard cable at each desk for re-pairing, label keyboards to their Mac so they don’t pair to a neighbor’s machine, and allow dock accessories once while the lid is open when you set up a new laptop. If you’d rather have someone handle it across several Macs, our help desk service does this remotely.

When it’s the keyboard, and when to stop

Treat it as hardware when:

  • the same keyboard fails on a second Mac after re-pairing or a different cable;
  • a built-in key stays dead after cleaning and fails in safe mode too;
  • keys type repeated letters or nothing at all, regardless of settings;
  • the keyboard stopped after a spill.

After a spill, shut the Mac down, unplug the charger and don’t turn it back on to test. Liquid plus power is what does the lasting damage. Back up from another device only if your data is already in iCloud or a cloud drive; otherwise leave the data recovery to the repair shop. Apple recommends service from Apple or an Apple Authorized Service Provider, since repairs with non-genuine parts can affect safety.

If the keyboard works on other Macs and the cause is pairing, settings or software on this one, a technician can sort it out through a remote support session you approve and can end at any time; this is a typical $59 remote fix. If the trackpad is misbehaving too, see our MacBook trackpad guide.

Common questions

Why is my MacBook keyboard not typing but the trackpad works?

Start with Accessibility settings. Mouse Keys stops the keyboard from entering text, and Slow Keys makes quick presses ignored. Both are in System Settings under Accessibility. If those are off, test in safe mode: if typing works there, a keyboard utility or recently installed app is interfering. If it still fails in safe mode, the built-in keyboard likely needs service.

How do I reconnect my Magic Keyboard to my Mac?

Turn it off and on with the switch on its back edge, then connect it to the Mac with its USB-C or Lightning cable for about a minute and unplug it. The cable pairs the keyboard with that Mac and charges it. Check System Settings, Bluetooth to confirm it appears. If it was paired to another Mac or iPad, the cable step moves the pairing back.

Can I use a Windows keyboard on a Mac?

Yes. Most USB and Bluetooth PC keyboards work, but the Windows key behaves as Command and Alt behaves as Option, so shortcuts land on different keys. If symbols appear in the wrong places, Keyboard Setup Assistant may have picked the wrong keyboard type, ANSI, ISO or JIS. You can rerun it from Keyboard settings and choose the right one.

Why does my keyboard stop working when my Mac is locked?

On Apple silicon MacBooks, new USB and Thunderbolt accessories need approval, and the Mac must be unlocked to give it. Apple also says that if the Mac has been locked for three or more days, previously allowed accessories may need the Mac unlocked again. Sign in with the built-in keyboard or Touch ID, and the external keyboard should start working.

Does resetting the SMC or NVRAM fix a Mac keyboard?

Rarely. Apple silicon Macs have no separate SMC reset; a restart covers it. On Intel Macs, Apple lists SMC resets for power, battery, fan and similar issues, and keyboard backlighting is among the things the SMC controls, but typing problems are far more often settings, pairing or the keyboard itself. Try the settings and safe mode checks first.

Is it worth repairing a MacBook keyboard?

It depends on the model, its age and any coverage you have. Apple’s keyboard service program for the 2015 to 2019 thin keyboards has ended, so get a written quote from Apple or an Apple Authorized Service Provider first. For an older Mac, a cheap external keyboard is a sensible stopgap while you compare the quote with the cost of a replacement.

Book online in 2 minutes

Talk to a GoProIT technician

Pick a time that suits you. A technician calls you at the start time; for support sessions they send a secure link, and nothing happens on your computer until you approve it. Monday to Friday 8am to 8pm Eastern.

Secure checkout by Stripe. Free cancellation up to 2 hours before your session.

Still stuck? We can fix it remotely for $59 • IT help Mon–Fri 8am–8pm ET
📞 Call (844) 734-1288 WhatsApp Book a $59 fix
WhatsApp us(202) 960-2022 · messages