Apple Magic Mouse 2, Magic Keyboard, Magic Keyboard with Numeric Keypad, and Magic Trackpad 2 work wirelessly with your Mac via Bluetooth when they're paired and turned on.
If your devices came with a new iMac, they're already paired with the computer. Just turn them on when you first turn on your Mac. To make sure that your device is turned on, check its power switch. If green is visible, the device is on.
Earlier Apple Wireless Keyboard models have a power button on the right side of the device. Press the button and you see a green LED on the top of the device, near the button. When you turn these devices on, they appear as connected in Bluetooth preferences and in the Bluetooth menu in your menu bar. Unlike Bluetooth keyboards, you don't need to pair or turn on your Smart Keyboard Folio or Smart Keyboard. If you have an iPad Pro 11-inch (1st or 2nd generation) or iPad Pro 12.9-inch (3rd or 4th generation): Connect your Smart Keyboard Folio to your iPad Pro with the Smart Connector.
If you bought your devices separately — or if they've become unpaired from your Mac — follow the steps below to pair them.
How to set up current Apple wireless devices
Follow these steps to set up your Magic Mouse 2, Magic Keyboard, Magic Keyboard with Numeric Keypad, or Magic Trackpad 2:
Connect a Lightning to USB Cable1 or a USB-C to Lightning Cable to the Lightning port on the device2 and connect the other end of the cable to your Mac.
Make sure that the device's power switch is in the ON position. (Green is visible under the switch when the device is on.)
Choose Apple () menu > System Preferences, then click Bluetooth to open the Bluetooth preferences window. When the device pairs with your Mac, it appears in the list of devices.
Check the Bluetooth preferences window to see your device's charge level. When the device is charged, unplug it for wireless use.
1. If your Bluetooth device came with an iMac, a Lightning to USB cable was also included in the box. 2. Magic Mouse 2 can't be used while connected to the cable.
How to set up earlier Apple wireless devices
If you're not sure which device you have, you can learn how to identify your Apple wireless mouse, keyboard, or trackpad.
How To Use My Keyboard
Then use a wired mouse or trackpad — or the built-in trackpad if you're using a Mac notebook — and follow these steps to set up your earlier Apple wireless devices (such as the Apple Wireless Keyboard, Magic Mouse, and Magic Trackpad):
Turn on your device.
Wait until your device's LED starts blinking, which means that it's in Discoverable Mode. (If the LED is on but not blinking, your device is already paired with another host. To unpair it, choose Apple menu > System Preferences, then click Bluetooth. Hover the pointer over the device you want to remove, then click the button that appears next to the device's name. Turn the device off, then start again at step 1.)
Choose Apple menu > System Preferences, then click Bluetooth.
Wait while your Mac searches for your device. When your device appears in Bluetooth preferences, click Pair1.
1. Apple Wireless Keyboard requires the passcode that appears on your Mac. Enter the 8-digit passcode on the keyboard, then press Return. Earlier models of Apple Wireless Mouse or Apple Magic Trackpad will connect automatically or show a dialog. If you see a dialog, click Pair or press Return.
Learn more
To use a Smart Keyboard Folio, you need an iPad Pro 11-inch (1st or 2nd generation) or iPad Pro 12.9-inch (3rd or 4th generation).
To use a Smart Keyboard, you need an iPad (7th generation), iPad Air (3rd generation), iPad Pro 9.7-inch, iPad Pro 10.5-inch, or iPad Pro 12.9-inch (1st or 2nd generation).
Looking for Magic Keyboard help? Learn how to set up and use Magic Keyboard for iPad.
Connect to your iPad
Unlike Bluetooth keyboards, you don't need to pair or turn on your Smart Keyboard Folio or Smart Keyboard.
How Do I Turn On My Apple Wireless Keyboard
If you have an iPad Pro 11-inch (1st or 2nd generation) or iPad Pro 12.9-inch (3rd or 4th generation): Connect your Smart Keyboard Folio to your iPad Pro with the Smart Connector. The Smart Connector is on the back of your iPad Pro, and has three small, magnetic contacts. Then put your iPad in the Type position.
If you have an iPad (7th generation), iPad Air (3rd generation), iPad Pro 9.7-inch, iPad Pro 10.5-inch, or iPad Pro 12.9-inch (1st or 2nd generation): Connect your Smart Keyboard to your iPad with the Smart Connector, which has three small, magnetic contacts. The Smart Connector is on the top edge of your Smart Keyboard and on the side of your iPad. Then put your iPad in the Type position.
Stand your iPad
Fold the Smart Keyboard Folio into the type position:
To use the keyboard, your iPad needs to be in the groove above the number keys and folded in the Type position.
Use keyboard shortcuts
There are multiple keyboard shortcuts that you can use to perform commands.
Most keyboard shortcuts use the Command ⌘ key, like a Mac. If you're more familiar with a PC keyboard, the Command ⌘ key does the same thing as the Control key on a PC.
Learn more about iPad keyboard shortcuts.
Switch to software keyboard
You might need to use the software keyboard that appears on your iPad display, instead of the Smart Keyboard Folio or Smart Keyboard, to do things like type accented characters or use dictation.
To show the software keyboard, tap the keyboard button in the lower-right corner of the screen. In the menu that appears, tap the show keyboard button . To hide the software keyboard, tap the dismiss button .
Learn more about using keyboards with your iPhone, iPad, or iPod touch.
How Do I Turn On My Ipad
Get help
If your iPad doesn't detect your Smart Keyboard Folio or Smart Keyboard or you see an 'Accessory not supported' alert on your iPad, make sure there's no debris or plastic covering on the Smart Connector pins on the keyboard or the Smart Connector on the iPad. Also, try these steps:
How Do I Turn On My Apple Keyboard Backlight
Make sure that your iPad and Smart Keyboard Folio or Smart Keyboard are in the Type position and that you have the latest version of iOS or iPadOS.
Remove the Smart Keyboard Folio or Smart Keyboard from your iPad.
Restart your iPad.
Reconnect the Smart Keyboard Folio or Smart Keyboard.