Intermittent severe Magic Keyboard lag

My new MacBook Pro 16" really annoys me. I use it with a Magic Keyboard, and intermittently, there's an awful input lag. Every few minutes, the computer seems to stop listening to the keyboard; I stop typing, and then the letters turn up very slowly until almost all of them are in place (not all, there's always a few missing). This totally ruins my workflow, of course.

I have tried two different keyboards, same problem. No problem with these keyboards on my previous MacBook Pro.

Does anyone know what this is?


(I tried to select "Topic: Peripherals" for this post, but sadly, the Magic Keyboard is not listed under peripherals. "Only Magic Mouse and Trackpad". Hence "Topic: Bluetooth".)

MacBook Pro 16", macOS 10.15

Posted on Mar 24, 2020 7:59 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 2, 2020 2:02 AM

I have gone through my peripherals, an it seems the culprit might be my Logitech Master MX 2 mouse, wireless via a small USB dongle. When I use an old cable mouse instead, I don't experience any lag at all.

I have used the Logitch mouse via a USB-C-to-"old USB" adapter. Hard to say whether the adapter, the mouse itself or the dongle is to blame. Regardless, things work fine after "de-Logitechisation".

Has anyone else experienced anything similar?


Note: still only, or at least mostly, in Apple's native apps like Mail, Notes and similar. Veeeery strange.

51 replies
Question marked as Top-ranking reply

Apr 2, 2020 2:02 AM in response to 750 H2C

I have gone through my peripherals, an it seems the culprit might be my Logitech Master MX 2 mouse, wireless via a small USB dongle. When I use an old cable mouse instead, I don't experience any lag at all.

I have used the Logitch mouse via a USB-C-to-"old USB" adapter. Hard to say whether the adapter, the mouse itself or the dongle is to blame. Regardless, things work fine after "de-Logitechisation".

Has anyone else experienced anything similar?


Note: still only, or at least mostly, in Apple's native apps like Mail, Notes and similar. Veeeery strange.

Apr 6, 2020 2:42 AM in response to 750 H2C

And never mind what I just wrote about the keyboard being faulty. I just had the problem with my old keyboard too.

I think I have noticed that, for some reason, the "accent popup menu" appears just before the problem starts. The menu is supposed to appear after a prolonged depression of a key, but for me the menu appears – now and then – at quick strokes.

Not knowing whether the menu is an effect of the problem or if it is actually causing the problem, I have now disabled the menu since I never use it. It is possible by writing "defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false" in the Terminal and then restarting (or maybe logging out is sufficient).

I will try this and see if it helps.

Apr 6, 2020 1:01 AM in response to 750 H2C

Never mind what I wrote about the mouse. The problem appears even with my 15-year-old cable mouse.

I have now concluded that the keyboard itself (Apple Magic Keyboard 2 with numerical keypad) is the reason for this strange behaviour. When I use my old keyboard (an older Magic keyboard without the numerical keypad) there is no lag. I will return the new keyboard as faulty.

Apr 9, 2020 4:23 AM in response to barry.cox

Barry, have you tried disabling the accent menu with the Terminal command above? Took care of the whole issue for me. Therefore, I marked that as the soultion to my problem (privilege of the TS). If it doesn't do the trick for you, there are obviously multiple reasons for this obstructive behaviour.

Note that disabling a function cannot really be regarded as a solution, but for me, never using accents (almost absent in Swedish), living without the function is not a limitation. Apple, if you're monitoring this, please check the behaviour of the "ApplePressAndHold" function.

May 7, 2020 4:30 AM in response to Mitch910

I have also reverted to a wired setup: I have connected my Magic Keyboard with the charge cable and disabled the Bluetooth connection. Haven't seen the issue since. So, there's something fishy with the wireless connection.


It's interesting to see that you're getting the same lag with a Logitech dongle. That suggests that the problem is "above" Apple's own Bluetooth connection, if I'm not totally wrong.

May 11, 2020 12:24 PM in response to 750 H2C

I can confirm now that I have absolutely no lag issues at all when I connect the keyboard with its charging wire. So it is my BT connection that is shaky. Will talk to support (the computer is only a few weeks old).


I am happy to have identified the problem, but I am growing totally mad over the fact that the keyboard auto-connects (BT) every time I wake the computer from sleep. Haven't found any way at all to tell the computer to ignore the connection attempts.

Sep 8, 2020 12:49 PM in response to 750 H2C

Simple fix, actually...



I just purchased a brand new 2020 iMac with the Magic Mouse keyboard. From day one, it lagged and sputtered after data input in Word, e-mail, messages, Safari and every other location that required keyboard input.


What worked:

I did turn the keyboard on and off and was able to successfully restore the normal input without the intermittent lag and jumping after input! How simple and effective! Don't waste a lot of time on such a simple fix. Simply, turn the keyboard off and on and see the input smoothness restored!



What didn't work:

After calling Apple support,

  1. I was directed to turn the computer off, unplug the computer and restart. It did not work.
  2. I also disconnected the bluetooth and had it rediscover. This did not work.


Last resort, probably not necessary:

Apple offered to replace the keyboard which is only three days old. Apple was good at expediting a replacement which seemed a little extreme.

May 8, 2020 2:04 AM in response to 750 H2C

I have the same issue - using a 2017 13" MacBook Pro with external Magic Keyboard and an external Apple Trackpad. However, it started a few days ago after I switched from a Logitech MX Anywhere 2S mouse to a spare Magic Mouse I had lying around. The keyboard lag made the computer almost unusable, and the trackpad also lagged but not so bad. However, upon switching back from the Magic Mouse 2 to the Logitech mouse all is back to normal. No lag at all on any of these devices. Ironic the problem appears for me when using only Apple peripherals.

Sep 5, 2020 8:17 AM in response to nickfromgillingham

Have you looked in Activity Monitor to see what's driving your temperature/fans/processors so high? I'm not having the same experience on my 16" MBP with external monitor. Once I figured out this keyboard issue, it seems everything is pretty stable. I haven't had the keyboard lag return.


I did disable Power Nap, which was causing intermittent crashes/kernel panics when in deep sleep. Once I turned that off, everything was golden.


Check your Activity Monitor to see what's spinning your system up. Sort by CPU under the CPU tab, and then sort by Energy Impact on the Energy tab. Can you post a screen grab?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Intermittent severe Magic Keyboard lag

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.