Sweepfor Mac

Speed up your Mac

Mac Slow to Register Typing? Here's What's Going On

Mac dropping keystrokes or slow to register typing on Sonoma or Sequoia? Here's what causes the lag and how to fix it for good.

7 min read

You’re typing a sentence and watching the words appear half a beat later. By the time you notice you’re three words ahead, you’ve already typed past whatever autocorrect was trying to do. Then the cursor jumps. Or a letter goes missing. Or — worst of all — Cmd+S commits before the text finishes rendering and you save the wrong version.

Typing lag on a Mac is one of the most disorienting performance problems because it breaks the basic illusion that your computer is paying attention to you. The causes are surprisingly diverse, but they fall into a few buckets.

Where the delay actually comes from

Every keystroke goes through this chain:

  1. Keyboard hardware sends signal (USB, Bluetooth, or built-in)
  2. macOS HID system receives it
  3. Active app’s text engine processes it (TextKit, Electron, web view, etc.)
  4. Spell check / autocomplete / inline AI runs
  5. Display compositor paints the new character

A delay anywhere in that chain is a typing lag. Diagnosing means narrowing down which step is slow.

First test: does it happen everywhere?

Open TextEdit and start typing. Then open Notes. Then Messages. Then a Chrome tab.

  • Slow in all apps → system-level issue (CPU, RAM, keyboard hardware)
  • Slow only in Electron apps (Slack, Discord, VS Code, Notion) → almost always RAM pressure
  • Slow only in browsers → tab/extension issue
  • Slow only in one app → that app’s text handling is the culprit

This single test saves a lot of wasted troubleshooting.

Free up RAM in one clickSweep frees inactive memory and pauses the processes hogging your CPU. Get Sweep free →

The Memory tab is your best friend here

Open Activity Monitor → Memory tab. Look at the Memory Pressure graph at the bottom.

  • Green — you’re fine, the lag isn’t memory
  • Yellow — you’re close to the edge, lag is likely memory-related
  • Red — you’re swapping to disk, this is almost certainly your problem

When memory pressure is yellow or red, every keystroke can wait on disk I/O because the app you’re typing in is partially swapped out. Closing a few heavy apps (or freeing inactive memory) usually fixes it instantly.

The biggest typing-lag offenders by RAM:

  • Chrome with 30+ tabs (each can hold 200+ MB)
  • Slack in a workspace with many channels
  • Microsoft Teams (notorious)
  • Docker Desktop (silently grabs gigabytes)
  • Adobe apps in the background, even when “closed”

Fix 1: Reset Bluetooth if you’re on a wireless keyboard

If you use a Magic Keyboard, K2, or any Bluetooth keyboard, try this first. Bluetooth is famously flaky on macOS:

  1. Open System Settings → Bluetooth
  2. Turn Bluetooth off
  3. Wait 10 seconds
  4. Turn it back on
  5. If your keyboard doesn’t reconnect within 30 seconds, hold Option, click the Bluetooth menu bar icon, and choose “Reset the Bluetooth module”

This clears stale connection state. About a third of “typing lag” cases I’ve seen come down to Bluetooth flakiness on AirPods + keyboard sharing the same controller.

Tip: If lag only happens when AirPods are connected, your Bluetooth controller is congested. Use wired headphones or switch to a wired keyboard while on calls.

Fix 2: Kill Universal Control if you don’t use it

Universal Control — the feature that lets your Mac mouse and keyboard work on a nearby iPad or other Mac — runs constantly when enabled. It introduces input latency even when you’re only using your Mac.

Turn it off:

  1. System Settings → Displays → Advanced
  2. Uncheck “Allow your pointer and keyboard to move between any nearby Mac or iPad”

You can re-enable it when you actually need it.

Fix 3: Disable text replacements you’ve forgotten about

System Settings → Keyboard → Text Replacements. If this list has dozens of entries (or has been syncing from your other Apple devices for years), every keystroke is being checked against the full list. Most people only actually use 2-3 replacements they set up intentionally.

Prune it. Delete anything you don’t actively use. The lag improvement is small but free.

Fix 4: Check for runaway background processes

Activity Monitor → CPU tab. Look for anything sustained over 50% that you don’t recognize:

  • Spotlight (mds, mds_stores) — indexing, will calm down on its own usually
  • Photos / photolibraryd — analyzing photos for People, can run for hours
  • mediaanalysisd — visual lookup feature processing
  • com.apple.AmbientDisplayAgent — true tone calibration, normally low
  • CloudDocs — iCloud Drive sync
  • bird — also iCloud Drive

If photolibraryd or mediaanalysisd is at 200%+ for hours and your typing is laggy, that’s your problem. You can let them finish (they will eventually) or force-quit them temporarily.

Fix 5: Disable inline predictions in Sonoma+

Sonoma 14 added inline text predictions in many apps. The prediction engine runs in the background and can introduce a perceptible lag, especially on Intel Macs.

Turn it off:

  1. System Settings → Keyboard
  2. Find “Show inline predictive text”
  3. Toggle off

If you don’t miss it after a week, leave it off.

There’s a faster waySweep diagnoses what’s eating your performance and clears it in seconds. Try Sweep free →

Fix 6: Check for malfunctioning peripherals

A flaky USB device — especially a hub or a wired keyboard with a fraying cable — can flood the USB controller with errors that delay every other input. Symptoms:

  • Lag started when you plugged something in
  • Lag goes away when you unplug a specific device
  • The Console app shows repeated USB errors

Try unplugging USB peripherals one by one. If lag clears, you’ve found it.

Fix 7: Empty caches that are slowing the text engine

~/Library/Caches/com.apple.preferences/ and ~/Library/Caches/com.apple.dock/ can grow large enough to slow basic system operations including input handling. The system caches in /Library/Caches/ can do the same.

You can poke around in these manually, but it’s tedious and you have to know what’s safe to delete. The safer approach is a smart scanner that knows the difference between “delete this, the OS will rebuild it” and “do not touch this.”

Fix 8: The Electron-app special case

If lag is only in Electron apps — Slack, VS Code, Notion, Discord, the Linear desktop app — the issue is almost always one of these:

  • The app is the only one updating in the background while you’ve alt-tabbed away
  • The app has a memory leak (Slack is especially prone in the background after a few days)
  • Hardware acceleration is broken or disabled

Quit and relaunch the affected app first. If lag returns within an hour, look in the app’s settings for a “Hardware Acceleration” toggle and try flipping it. Restart the app after.

What about the keyboard hardware itself?

Built-in MacBook keyboards rarely fail in a way that creates lag — they fail in a way that creates dropped keys or stuck keys. If you’re getting actual delay (not missed strokes), it’s almost never the hardware.

Magic Keyboard with a low battery, however, can cause lag. Check the battery level in the Bluetooth menu. Anything under 10% is suspect.

The cleanup angle: free RAM, free CPU, fast typing

The single biggest factor in modern Mac typing lag is memory pressure. macOS does a remarkable job of managing memory invisibly — until it can’t, and then everything stutters. The cleanest way to keep memory pressure green is to:

  1. Quit apps you’re not actively using (yes, even though “macOS handles it”)
  2. Close Chrome tabs you’ve forgotten about
  3. Free inactive memory periodically — macOS holds onto it for cache, but releases slowly
  4. Trim background processes from apps that auto-launch

Sweep’s speed boost does step 3 in one click — it frees inactive memory and pauses (without killing) processes that are silently eating CPU. It also runs a full disk scan to clear cache buildup that contributes to the wider slowdown. Notarized by Apple, free to download.

Don’t restart — cleanSweep clears the buildup that’s actually slowing your Mac. No reboot needed. Free for macOS →

When none of this works

If you’ve tried everything and typing is still laggy, the last things worth checking:

  • Free disk space — under 10% free can cause system-wide stutter
  • macOS update — sometimes a point release introduces a regression that’s fixed in the next one
  • A failing SSD — rare, but a Mac with bad NAND will lag on basic ops; check Disk Utility’s First Aid

If none of those, restart in Safe Mode (hold Power on Apple Silicon, hold Shift on Intel) and type for a while. If lag disappears in Safe Mode, a login item or kernel extension is the cause.

← Back to all guides