For Bluetooth pairing no additional software is required, it is fully handled by Windows.
There is no need to install the Magic Utilities to pair your device.

Select your keyboard model:

USB support

In case you have Bluetooth issues, you can also connect your Magic Keyboard with the provided USB to Lighting cable directly with the computer.

Prepare for pairing

For fastest pairing, turn off Bluetooth on all other nearby devices.
This includes mobile phones, laptops and desktop computers as well as Bluetooth speakers.

  • Make sure you have 2 or 3 fresh AA batteries inserted on the right side of your keyboard.

Bring your keyboard into pairing mode

  • Turn the keyboard on: Press and hold the power button and wait until the little green light above the power switch is blinking. Sometimes you need to release the power button and press and hold it again.
  • Make sure your Magic Keyboard is charged. A new keyboard is already charged by Apple otherwise charging for 10 minutes is enough.
  • Unplug your Magic Keyboard from any cable.

Bring your keyboard into pairing mode

  • At the back of the keyboard, turn your Magic Keyboard off and back on again.

Pair your keyboard

  • Double-click the Bluetooth icon in the Windows taskbar. If you can't see the Bluetooth icon,
    click on the + symbol below for detailed instructions.
    • Click on the little up arrow on the right side of the taskbar.
    • If there is still no Bluetooth icon, it might be removed from the taskbar icons.
    • Search Windows for Bluetooth settings or Add device or refer to your Windows Help System on how to add a device.
    • On Windows 10 select Settings > Devices or
    • On Windows 11 select Settings > Bluetooth & devices
  • Select Add device or Add Bluetooth or other device.
  • Select Bluetooth.
  • Select your keyboard from the devices listed; it can take a little while until the keyboard appears.
  • Follow the instructions.

If a numeric code is requested either:

  • Enter a given numeric code on the Apple Wireless Keyboard and press return.
  • Enter 1234 on an existing main keyboard (can be the on-screen keyboard) and click Allow (or press Enter), now enter 1234 on the Apple Wireless Keyboard and press return.

Verify pairing

In Windows 10, sometimes your device is paired, but is not working.

In Settings > Devices make sure your device is listed in the Mouse, keyboard & pen section.
If it's listed in the Other devices section, it won't work.

Here is what did help:

  • Delete your device from Other devices and wait a bit.
  • Disable the Bluetooth radio
  • Enable the Bluetooth radio again.
  • Pair your device again.
  • Double-check if it's now appearing in the Mouse, keyboard & pen section.

Once the keyboard is paired it should work as a generic keyboard. However on the small keyboards some keys are missing, especially the Ins, Del, Home, End, Page Up and Page Down keys.

If keyboard basically works it's time to install the Magic Utilities.

Note: If pairing doesn't work in the first place, installing the Magic Utilities does not help either.
In case you have constant Bluetooth issues, follow this comprehensive guide.