Pairing an Apple Magic keyboard with Window 11 and 10 is pretty easy, but not documented by Apple for obvious reasons.
1. First off, let’s turn on the Magic Keyboard
2. Then in Windows load up Bluetooth system settings by pressing Windows logo on your existing keyboard and type “Bluetooth and other devices settings”. (If you haven’t an existing keyboard connected at all you will need to use the mouse to navigate to the same area in System settings.)
![Bluetooth and other Device Settings - Windows 11](/sites/default/files/inline-images/Windows%2011%20-%20Bluetooth%20and%20other%20Device%20Settings_0.png)
3. Click on Add Device
![Windows 11 - Bluetooth Add Device](/sites/default/files/inline-images/Windows%2011%20-%20Bluetooth%20Add%20Device.png)
4. At the "Add a Device" click on Bluetooth
![Windows 11 - Add a Bluetooth Device](/sites/default/files/inline-images/Windows%2011%20-%20Add%20a%20Bluetooth%20Device.png)
5. The Magic Keyboard will be listed, select it from the list.
![Windows 11 - Bluetooth Devices found](/sites/default/files/inline-images/Windows%2011%20-%20Bluetooth%20Devices%20found.png)
6. The Windows 11 Bluetooth will give a random number on the screen that needs to be entered on the magic keyboard then press the Return (or Enter key).
![Windows 11 - Bluetooth Keyboard Pairing](/sites/default/files/inline-images/Windows%2011%20-%20Bluetooth%20Keyboard%20Pairing.png)
7. If everything has work correctly the magic keyboard will be paired.
![Windows 11 - Bluetooth Magic Keyboard has been paired](/sites/default/files/inline-images/Windows%2011%20-%20Bluetooth%20Magic%20Keyboard%20has%20been%20paired.png)