Whether your MacBook keyboard is not working, or specific keys have stopped typing — you’re not alone.
This issue happens on both MacBook Air and MacBook Pro, especially after software updates, wake-from-sleep, or power surges.
✅ Step 1: Open Terminal
- Press Command (⌘) + Space to open Spotlight Search
- Type Terminal and hit Return
✅ Step 2: Paste This Command
Copy the following line and paste it into Terminal, then press Return:
Terminal
Loading...
What does this command do?
It resets:
- WindowServer – handles input/output devices
- loginwindow – manages the user session
- coreaudiod – often tied to input glitches, including keyboard lag
These services sometimes hang in the background, causing macOS to stop reading your keystrokes correctly.
🎉 That’s It — Keyboard Should Work Again!
You’ve just restarted the core macOS input services — safely, instantly, and without losing data.
Try typing again. If it’s fixed — great!
💡 Tip: If it happens again, bookmark this command or save it in your Notes — it works every time.