MacBook Keyboard Not Working? 13 Fixes That Actually

MacBook keyboard not working? Maybe nothing happens when you type, a few keys have stopped responding, the letters that appear on screen aren’t the ones you pressed, or a key types twice. It’s frustrating, because on a MacBook you can’t just swap in a new keyboard.

 

When a MacBook keyboard is not working, the cause is usually one of four things: a setting such as Slow Keys, Mouse Keys or the wrong keyboard layout, a software glitch that a restart or update clears, dust or crumbs under the keys, or a hardware fault, often after a spill. The good news is that most of these can be fixed at home in a few minutes. Below are 13 fixes in order, from quickest to most involved, and every step has been checked against Apple Support. Each fix is labeled Safe (keeps your data and settings) or with what it changes.

 
MacBook keyboard not working: MacBook Air keyboard with the System Settings Keyboard pane open on screen    

Quick Answer: Why Your MacBook Keyboard Is Not Working

 

If your MacBook keyboard is not working at all, plug in the charger first. Apple says your Mac may be showing a low battery alert you can’t see, and the built-in keyboard can stop responding until it has power. Then restart from the Apple menu using the trackpad. If only some keys don’t work, open System Settings > Accessibility > Keyboard and turn off Slow Keys, then open System Settings > Accessibility > Pointer Control and turn off Mouse Keys. If the wrong letters appear, check your layout with the Input menu in the menu bar. If keys are stuck or skip, clean the keyboard with compressed air at a 75-degree angle. If none of that works, run Apple Diagnostics and contact Apple.

 
 

Common Reasons a MacBook Keyboard Stops Working

 

When a MacBook keyboard is not working, these are the usual causes, from most to least common:

 
  • Slow Keys or Mouse Keys. These accessibility settings are easy to turn on by accident. Slow Keys makes keys ignore quick presses, and Mouse Keys turns some letter and number keys into pointer controls.
  • The wrong keyboard layout. If a different input source is selected, keys type the wrong letters or symbols.
  • A very low battery. A MacBook can stop responding to its built-in keyboard when the battery is nearly empty.
  • A software glitch. A frozen app, a stuck process or a bug in macOS can stop key presses from reaching your apps.
  • A third-party app. Keyboard remappers, text expanders, clipboard managers and some security apps sit between your keyboard and macOS.
  • Dust and crumbs. Debris under a key can stop it from pressing down or cause it to repeat. This was especially common on the thin “butterfly” keyboards in MacBook models from 2015 to 2019.
  • Liquid damage. Even a small spill can stop some or all keys from working, sometimes days later.
  • A hardware fault. A worn keyboard, a loose internal cable or a logic board problem. This is the only cause that needs a repair.
 

The Whole Keyboard or Just Some Keys?

 

How your MacBook keyboard is not working tells you where to start. Use this table to narrow it down:

 
What you notice Most likely cause Where to start
No keys work at all, trackpad works Low battery, frozen software or a setting Plug in, restart, check settings (fixes 1, 2, 4, 5)
No keys and no trackpad work Frozen Mac or a hardware problem Force restart (fix 2), then Apple Diagnostics (fix 12)
Only some letter or number keys don’t work Mouse Keys, Slow Keys or debris Fixes 3, 4, 5
Keys type the wrong letters or symbols Wrong keyboard layout Fix 6, see wrong characters
Keys only work if you hold them down Slow Keys Fix 4
A key types twice, sticks or skips Debris or a worn keyboard Fix 3, see sticking keys
Keyboard stopped after a drink spill Liquid damage Shut down now, see spill
Keyboard works in safe mode or another account A third-party app or a setting Fixes 9, 11
 

13 Fixes When Your MacBook Keyboard Is Not Working

 

If your MacBook keyboard is not working, work through these in order. You can do almost all of them with just the trackpad. If you have an external USB or Bluetooth keyboard, connect it now. It makes the steps easier and is a useful test: if the external keyboard works, your Mac is fine and the problem is the built-in keyboard or a setting that affects it.

 

1 Plug In Your MacBook (Safe)

 

Apple says that if no keys work on a MacBook’s built-in keyboard, your Mac may have a low battery alert you can’t see. Connect it to its charger and give it a few minutes, or connect an external keyboard so you can see the alert. Then try typing again.

 

While it charges, check the battery level in the menu bar. If your MacBook won’t turn on at all, or the screen stays black, see our guide to fixing a MacBook that won’t turn on.

 

2 Restart Your Mac (Safe)

 

A restart clears stuck processes and apps that may be grabbing your key presses. It doesn’t erase anything.

 
  1. Click the Apple menu at the top left of the screen with the trackpad.
  2. Choose Restart, then click Restart again.
  3. When your Mac starts up, try the keyboard on the login screen before you open any apps.
 

If your Mac is frozen and the trackpad doesn’t respond either, press and hold the power button (Touch ID button) for about 10 seconds until the screen goes black, then press it again to turn your Mac on. You may lose unsaved work in open apps.

 

If the keyboard works on the login screen but stops once you log in, an app or login item is the likely cause. Jump to fixes 9 and 11.

 

3 Clean the Keyboard With Compressed Air (Safe)

 

Dust, crumbs and hair under a key can stop it from registering or make it stick and repeat. Apple’s steps, from How to clean the keyboard of your MacBook or MacBook Pro, are:

 
  1. Hold your MacBook at a 75-degree angle, so it’s tilted back but not quite vertical.
  2. Spray compressed air across the keyboard, or just the problem keys, moving from left to right.
  3. Turn your Mac onto its right side and spray the keyboard again, left to right.
  4. Turn it onto its left side and do the same.
 

Use the straw that comes with the can to control the air, keep the end about half an inch from the keyboard, and keep the can upright so no liquid comes out. Apple wrote these steps for the MacBook (2015 and later) and MacBook Pro (2016 and later), but they’re safe for any MacBook.

 

Don’t pry keycaps off, poke anything under the keys, or use a vacuum. On these thin keyboards, the keycaps and switches break easily.

 
Cleaning a MacBook keyboard with compressed air held at a 75-degree angle

4 Turn Off Slow Keys and Sticky Keys (Safe)

 

Slow Keys adds a delay before a key press counts, so quick taps seem to do nothing and you have to hold each key down. Apple lists it as one of the first things to check when keys don’t respond. Apple’s steps, from If your Mac doesn’t respond to key presses, are:

 
  1. Click the Apple menu and choose System Settings.
  2. Click Accessibility in the sidebar, then click Keyboard (you may need to scroll down).
  3. Turn off Slow Keys.
 

While you’re there, check Sticky Keys too. When it’s on, modifier keys like Shift, Command and Option stay “pressed” after you let go, which can make keyboard shortcuts and capital letters behave strangely. Turn it off unless you use it on purpose.

 

5 Turn Off Mouse Keys (Safe)

 

Mouse Keys lets you move the pointer with the keyboard. When it’s on, some letter keys and the number keys move the pointer instead of typing, so it can look like those keys have stopped working. Apple’s steps are:

 
  1. Open System Settings and click Accessibility in the sidebar.
  2. Click Pointer Control (you may need to scroll down).
  3. Turn off Mouse Keys.
 

You can also press Option + Command + F5 to open the Accessibility Shortcuts panel and turn off Mouse Keys there. If Mouse Keys keeps coming back, check whether pressing Option five times is set to turn it on, and turn that option off in the Mouse Keys settings.

 

6 Check Your Keyboard Layout (Safe)

 

If your MacBook keyboard is typing the wrong letters or symbols, a different keyboard layout (input source) is probably selected. Apple’s steps are:

 
  1. Open System Settings and click Keyboard in the sidebar.
  2. Under Text Input, click Edit.
  3. Turn on Show Input menu in menu bar, then click Done.
  4. Click the Input menu (a flag or letter icon) in the menu bar and choose the layout that matches your keyboard, such as U.S. or ABC.
 

If you don’t use the other layouts, remove them in the same Edit window by selecting each one and clicking the minus (−) button. See MacBook Keyboard Typing the Wrong Characters for other causes.

 

7 Test Each Key With Keyboard Viewer (Safe)

 

Keyboard Viewer shows a picture of your keyboard on screen and highlights each key as you press it. It’s the quickest way to see which keys your Mac actually receives.

 
  1. Turn on Show Input menu in menu bar as in fix 6.
  2. Click the Input menu in the menu bar and choose Show Keyboard Viewer.
  3. Press each problem key and watch whether it lights up on screen.
 

If a key lights up in Keyboard Viewer but doesn’t type in your app, the keyboard is fine and the problem is a setting or that app. If a key never lights up, even after cleaning, the key or keyboard probably needs a repair.

 
macOS Keyboard Viewer on screen, highlighting keys as they are pressed on a MacBook

8 Update macOS (Safe)

 

Apple fixes keyboard and input bugs in macOS updates.

 
  1. Open System Settings > General > Software Update.
  2. Install any update that’s available, and keep your MacBook plugged in while it installs.
 

If your keyboard stopped working right after an update, check for a follow-up update a few days later. Apple often releases a small fix soon after a big one.

 

9 Start Up in Safe Mode (Safe)

 

Safe mode starts your Mac with only the essential software, and skips login items and third-party extensions. If your MacBook keyboard works in safe mode, an app you installed is the likely cause.

 
  • Apple silicon (M1 and later): shut down. Press and hold the power button until you see Loading startup options. Select your startup disk, then press and hold Shift and click Continue in Safe Mode.
  • Intel: turn on or restart your Mac, and immediately press and hold Shift until you see the login window.
 

Because safe mode needs the Shift key, use an external keyboard if Shift is one of the keys that doesn’t work. You’ll see Safe Boot in the menu bar. Test the keyboard, then restart normally.

 

If the keyboard works in safe mode, look in System Settings > General > Login Items & Extensions and turn off anything you don’t recognize. Common culprits are keyboard remapping apps, text expanders, clipboard managers and older security software. Update or remove them one at a time until the keyboard works.

 

Also check System Settings > Privacy & Security > Input Monitoring and Accessibility. Apps listed there can read or control your keyboard. Turn off any you don’t recognize or no longer use.

 

10 Reset the SMC and NVRAM (Intel MacBooks Only, Safe)

 

On Intel MacBooks, the System Management Controller (SMC) handles the keyboard backlight and some power and input functions, and NVRAM stores settings your Mac reads at startup. Resetting them doesn’t touch your files. The steps match those in our guide to a MacBook that won’t turn on.

 

Reset the SMC on an Intel MacBook with the T2 chip (2018 to 2020):

 
  1. Shut down the Mac.
  2. Press and hold Control on the left side, Option on the left side and Shift on the right side for 7 seconds.
  3. Keep holding those three keys, and also press and hold the power button. Hold all four for another 7 seconds, then release.
  4. Wait a few seconds, then press the power button to turn on your Mac.
 

Reset the SMC on an older Intel MacBook with a built-in battery (about 2009 to 2017): shut down, then press and hold Shift, Control and Option on the left side of the keyboard, plus the power button, for 10 seconds. Release, then turn your Mac on.

 

Reset NVRAM on an Intel Mac: shut down, then press the power button and immediately press and hold Option + Command + P + R for about 20 seconds.

 

These resets use the built-in keyboard, so they only work if the keys involved still respond. Apple silicon MacBooks don’t have an SMC or NVRAM to reset by hand. A normal shutdown, waiting 30 seconds and turning your Mac back on does the same job.

 

11 Test in Another User Account (Safe)

 

A setting or app in your own user account can stop the keyboard from working without affecting the rest of the Mac. A second account is a clean test.

 
  1. Open System Settings > Users & Groups and click Add User.
  2. Create a Standard account with any name and password.
  3. Log out from the Apple menu, log in to the new account and try the keyboard.
 

If the keyboard works in the new account, the problem is in your account’s settings or apps, so go back through fixes 4 to 9. If it fails there too, it’s more likely a hardware problem. Delete the test account when you’re done.

 

12 Run Apple Diagnostics (Safe)

 

Apple Diagnostics checks your Mac’s hardware and gives you a reference code you can share with Apple Support.

 
  • Apple silicon: press and hold the power button until startup options appear, release it, then press Command + D.
  • Intel: turn on your Mac and immediately press and hold the D key until you see a progress bar or a list of languages.
 

Disconnect accessories other than the charger first, and use an external keyboard if Command or D doesn’t work. Write down any reference codes and look them up in Apple’s Apple Diagnostics reference codes guide.

 

13 Get the Keyboard Repaired (Repair)

 

If some keys still never register in Keyboard Viewer after cleaning and every setting above, or your Mac’s built-in keyboard fails in safe mode and a new user account, the keyboard needs service. Apple says that if a key still doesn’t respond after cleaning, you should contact an Apple Store or Apple Authorized Service Provider. On most MacBooks the keyboard is part of the top case, so this is a repair for Apple or an authorized provider rather than a DIY job. See When to Contact Apple before you book.

 

MacBook Keyboard Not Working? Match Your Symptom to a Fix

 

When your MacBook keyboard is not working, use this table to jump to the fix most likely to help:

 
What you notice Likely cause What to do
No keys work, battery is low Hidden low battery alert Plug in (fix 1)
Nothing responds, keyboard or trackpad Frozen Mac Force restart (fix 2)
Keys work only when held down Slow Keys Turn off Slow Keys (fix 4)
Shift or Command seems stuck on Sticky Keys Turn off Sticky Keys (fix 4)
Some letters or numbers move the pointer Mouse Keys Turn off Mouse Keys (fix 5)
Wrong letters or symbols appear Wrong keyboard layout Change input source (fix 6)
Key lights up in Keyboard Viewer but not in one app That app Update or reinstall the app
Works in safe mode only Third-party app or extension Remove login items and extensions (fix 9)
Key sticks, repeats or skips Debris or worn keyboard Clean it (fix 3), then repair (fix 13)
Key never lights up in Keyboard Viewer Hardware fault Apple Diagnostics and repair (fixes 12, 13)
 

MacBook Keyboard Typing the Wrong Characters

 

If your MacBook keyboard is not working the way it should and types the wrong letters, symbols or accents, it’s almost always a setting:

 
  • The wrong input source. For example, the British layout puts @ and “ in different places from U.S., and French or German layouts swap letters like A and Q, or Y and Z. Fix it with the Input menu (fix 6).
  • A shortcut switched layouts. If you have more than one layout, pressing Control + Space or the Globe (fn) key can switch between them. Remove layouts you don’t use.
  • Text replacements. Open System Settings > Keyboard > Text Replacements and delete any entry that changes words you type.
  • Letters move the pointer. If some letter or number keys move the pointer instead of typing, Mouse Keys is on (fix 5).
  • Function keys act strangely. If the top row changes brightness or volume when you want F1 to F12, or the other way around, open System Settings > Keyboard > Keyboard Shortcuts > Function Keys and change Use F1, F2, etc. keys as standard function keys.
 

MacBook Keys Sticking, Repeating or Skipping

 

If a key types twice, types nothing, or feels stuck or crunchy, debris is usually the first cause to rule out:

 
  1. Clean the keyboard with compressed air (fix 3). Repeat it once or twice if the first try helps a little.
  2. Check the repeat settings: open System Settings > Keyboard and adjust Key repeat rate and Delay until repeat. A very short delay can make keys seem to repeat on their own.
  3. Test the key in Keyboard Viewer (fix 7) to see whether it registers once, twice or not at all.
 

Butterfly keyboards: MacBook, MacBook Air and MacBook Pro models from 2015 to 2019 used a thin “butterfly” keyboard that was prone to sticky, repeating and unresponsive keys. Apple’s free Keyboard Service Program for these models has ended, so repairs are now paid unless your Mac is covered by AppleCare. Apple silicon MacBooks and the 2019 16-inch and 2020 MacBook Pro and MacBook Air use the newer Magic Keyboard design, which is much more reliable.

 

MacBook Keyboard Not Working After a Spill

 

Liquid is one of the most common reasons a MacBook keyboard stops working, and how fast you act matters.

 
  1. Unplug the charger and shut down right away. Hold the power button if you need to.
  2. Unplug every accessory.
  3. Turn your MacBook upside down, open in a tent shape, so liquid drains away from the inside.
  4. Wipe off what you can with a soft, lint-free cloth.
  5. Don’t turn it back on to test it, don’t use a hair dryer, and don’t put it in rice.
 

Sugary drinks like soda, juice and coffee with sugar leave a sticky residue that can make keys fail even after the Mac dries. Contact Apple or an authorized provider as soon as you can. Liquid damage isn’t covered by Apple’s one-year limited warranty, but AppleCare+ covers accidental damage for a service fee.

 

How to Type While Your Keyboard Is Broken

 

If your MacBook keyboard is not working and you need to keep going until it’s fixed, you have two good options:

 
  • Use an external keyboard. Any USB or Bluetooth keyboard works, including Apple’s Magic Keyboard. To pair a Bluetooth keyboard, turn it on and open System Settings > Bluetooth, then click Connect next to it. Use a USB-C adapter for a wired USB-A keyboard.
  • Use the Accessibility Keyboard. This on-screen keyboard lets you type by clicking with the trackpad. Open System Settings > Accessibility > Keyboard and turn on Accessibility Keyboard. You can also turn it on with the trackpad if you can’t type a password at the login screen: click the Accessibility icon at the bottom of the login window.
 

When to Contact Apple

 

If your MacBook keyboard is still not working after all of these steps, it probably needs a repair. Contact Apple Support or visit an Apple Store or Apple Authorized Service Provider if:

 
  • Some keys never light up in Keyboard Viewer, even after cleaning.
  • The built-in keyboard doesn’t work in safe mode or a new user account, but an external keyboard does.
  • Apple Diagnostics gives a reference code.
  • A key is physically broken, missing or loose.
  • The keyboard stopped working after a spill or a drop.
  • The keyboard and trackpad both stop working at random.
 

Safety first: if your MacBook gets very hot, the trackpad or keyboard area bulges upward, keys feel raised or pushed out, or you smell burning, unplug it and stop using it right away. A swollen battery under the keyboard can cause these signs and needs professional service.

 

Apple’s one-year limited warranty covers manufacturing faults, and AppleCare+ extends that and adds accidental damage cover. Back up your Mac with Time Machine or iCloud before you hand it in, since a keyboard repair can mean replacing the whole top case.

 

How to Keep Your MacBook Keyboard Working

 

Once your MacBook keyboard is working again, these habits help keep it that way:

 
  • Keep food and drinks away from your MacBook.
  • Clean the keyboard with compressed air every few months, using Apple’s 75-degree method.
  • Take off any keyboard cover before you close the lid. Apple explains why in Using a camera cover, palm rest, or keyboard cover on a Mac notebook.
  • Close the lid when you’re not using your Mac, to keep dust out.
  • Keep macOS up to date.
  • Only install keyboard and text apps you trust, and keep them updated.
  • Keep a cheap external keyboard around as a backup.
  • Use Time Machine or iCloud so a repair never means lost files.
 

Is your MacBook not turning on at all? Read our guide to fixing a MacBook that won’t turn on. If your iPhone won’t last the day, see how to fix an iPhone battery draining fast. And if your AirPods keep dropping out on your Mac or iPhone, try our guide to AirPods that keep disconnecting.

 

FAQ

 
 
Why did my MacBook keyboard suddenly stop working?

The most common reasons are Slow Keys or Mouse Keys being turned on by accident, the wrong keyboard layout, a very low battery or a software glitch. Plug in your MacBook, restart it, and check System Settings > Accessibility > Keyboard and Pointer Control. If keys still don’t respond, clean the keyboard with compressed air and test it in safe mode.

 
Why are only some keys not working on my MacBook?

If certain letters or the number keys don’t type, Mouse Keys may be on, which turns them into pointer controls. Turn it off in System Settings > Accessibility > Pointer Control. If one or two keys are stuck or don’t register, debris under the key is the usual cause, so clean them with compressed air at a 75-degree angle.

 
How do I reset my MacBook keyboard?

There’s no single keyboard reset. Restart your Mac, turn off Slow Keys, Sticky Keys and Mouse Keys, and set the right layout in System Settings > Keyboard > Text Input. On an Intel MacBook, resetting the SMC can also help. Apple silicon MacBooks have no SMC to reset, so a full shutdown does the same job.

 
Can I use my MacBook if the keyboard doesn’t work?

Yes. Connect a USB or Bluetooth keyboard, or turn on the on-screen Accessibility Keyboard in System Settings > Accessibility > Keyboard and type with the trackpad. You can also turn on the Accessibility Keyboard from the Accessibility icon on the login screen.

 
How much does it cost to fix a MacBook keyboard?

It depends on your model and coverage. Repairs for manufacturing faults are free under Apple’s one-year limited warranty or AppleCare+. Out of warranty, the keyboard is usually replaced with the whole top case, which can cost several hundred dollars, so get an estimate from Apple or an authorized provider first.

 
Is the butterfly keyboard repair program still running?

No. Apple’s Keyboard Service Program for MacBook, MacBook Air and MacBook Pro models with the butterfly keyboard, made from 2015 to 2019, has ended. Repairs on those models are now paid unless your Mac has AppleCare coverage.

 

Techusahub is an independent website and is not affiliated with, endorsed by or sponsored by Apple Inc. Mac, MacBook, MacBook Air, MacBook Pro, macOS, Magic Keyboard, Touch ID, AirPods, iPhone and AppleCare+ are trademarks of Apple Inc. Steps were checked against Apple Support articles in December 2026.