How can I fix the connectivity issues between my iMac and Magic Keyboard?

I have an iMac (M1) and have been able to log in normally with the Magic Keyboard. For some time now, I have only been able to log in with the mouse and the on-screen keyboard. Some keys such as Caps Lock or characters work (see image), but the single letter keys do not. My Magic keyboard configuration is in Swiss German. The same thing happens when I log in with a lightning cable/USB. My Magic Keyboard works fine after logging in, so I assume that the problem is not with the keyboard hardware. I have already tried various settings in System Preferences / Accessibility / Keyboard Settings / Keyboard Control, unfortunately without success. Turning the Magic Keyboard on and off does not help either. Can anyone help me? Appreciate your contribution.


[Re-Titled by Moderator]

iMac 24″, macOS 14.5

Posted on Jul 31, 2024 7:19 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 31, 2024 10:43 AM

Give this a try: boot into Safe Mode according to How to use safe mode on your Mac and test to see if the problem persists. Reboot normally and test again.


NOTE 1: Safe Mode boot can take up to 3 - 5 minutes as it's doing the following; 

• Verifies your startup disk and attempts to repair directory issues, if needed

• Loads only required kernel extensions (prevents 3rd party kernel/extensions from loading)

• Prevents Startup Items and Login Items from opening automatically

• Disables user-installed fonts 

• Deletes font caches, kernel cache, and other system cache files


NOTE 2: if you have a wireless keyboard with rechargeable batteries connect it with its charging cable before booting into Safe Mode. This makes it act as a wired keyboard as will insure a successful boot into Safe Mode.




Similar questions

10 replies
Question marked as Top-ranking reply

Jul 31, 2024 10:43 AM in response to Singolin

Give this a try: boot into Safe Mode according to How to use safe mode on your Mac and test to see if the problem persists. Reboot normally and test again.


NOTE 1: Safe Mode boot can take up to 3 - 5 minutes as it's doing the following; 

• Verifies your startup disk and attempts to repair directory issues, if needed

• Loads only required kernel extensions (prevents 3rd party kernel/extensions from loading)

• Prevents Startup Items and Login Items from opening automatically

• Disables user-installed fonts 

• Deletes font caches, kernel cache, and other system cache files


NOTE 2: if you have a wireless keyboard with rechargeable batteries connect it with its charging cable before booting into Safe Mode. This makes it act as a wired keyboard as will insure a successful boot into Safe Mode.




Aug 1, 2024 10:59 AM in response to Singolin

If the problem persists in Safe Mode it's associated more with the system and a reinstall might be in order. You can try to install the OS without erasing by booting into the Recovery volume (boot with the Command + R keys held down  - Intel Macs) or  (How to Boot an M1 Mac into Recovery Mode) and reinstalling the system. All it replaces are the system files.




However, good practice dictates for us to be sure to have a current and full backup of the user data before any such operation.

Aug 19, 2024 8:08 AM in response to Tom Gewecke

Dear Tom

Great. The System Settings > Accessibility > Pointer Control > Alternative Control Methods > Enable Mouse Keys were already off but ⓘ "Press Option key five times to toggle Mouse Keys" was on and I disabled it.

Now I can enter my Password with my wireless keyboard but only after the on-screen keyboard appears. It is not a big issue but maybe you have an idea how to avoid this.

Thanks for your suggestion and kind help.

Enjoy your day

Daniel

Aug 1, 2024 5:01 AM in response to Old Toad

Dear Community Helpers, I did what you mentioned, i.e. Safe Mode (see red highlighted Safe Boot in the top right of the screenshot), connected the Magic Keyboard with the cable (see picture), but unfortunately that doesn't help. After I selected Shift and "Continue in Safe Mode", I was asked to enter my password. The on-screen keyboard appeared again. When I tapped the Magic Keyboard, I saw that the keys on the left side were responding, but the keys on the right side were not. Then, using the mouse and the on-screen keyboard, I entered my password to boot into Safe Mode. The Magic Keyboard key board works well as usual.

On the page How to use safe mode on your Mac it is written: "if the issue continues in safe mode, the easiest and most likely solution is to reinstall the macOS". Do you agree with that or do you have a better idea? Thanks for your advices.

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.

How can I fix the connectivity issues between my iMac and Magic Keyboard?

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