How to Use an Apple Wireless Keyboard with an iPhone

This post contains affiliate links. As an Amazon Associate, solveyourtech.com earns from qualifying purchases, at no extra cost to you.

To use an Apple wireless keyboard with an iPhone, turn the keyboard on, open Settings > Bluetooth on the iPhone, turn on Bluetooth, and select the keyboard when it appears under Other Devices. If the keyboard is already paired with a Mac or iPad, unpair it there first.

These steps cover iOS 27 and earlier versions back to iOS 15, which Apple’s iPhone User Guide lists for its pair Magic Keyboard with iPhone page. They apply to every Magic Keyboard model (including Magic Keyboard with Numeric Keypad and the models with Touch ID), the older battery-powered Apple Wireless Keyboard, and most other Bluetooth keyboards.

Charge or Power the Keyboard

  • Charge or power the keyboard. A Magic Keyboard has a built-in battery that charges over its cable. The older Apple Wireless Keyboard uses AA batteries.
  • Find the power switch. On a Magic Keyboard it’s on the back edge. Slide it so green shows. The older model has a power button on the right side.
  • Free it from other devices. A keyboard can only be connected to one device at a time. If it’s paired with a Mac or iPad nearby, it will connect there instead, so unpair it first (see the section below).
  • Don’t expect Touch ID. Apple’s Magic Keyboard with Touch ID specs describe Touch ID as a way to log in to and unlock a Mac with Apple silicon. The same keyboard is listed as compatible with iPhone, but only for typing.

How to Pair an Apple Keyboard With Your iPhone

Steps to pair an Apple Magic Keyboard with an iPhone
Select the keyboard under Other Devices in Bluetooth settings.
  1. Make sure the keyboard is turned on and charged.
  2. On your iPhone, open Settings, tap Bluetooth, then turn on Bluetooth. Nearby accessories that aren’t paired yet show up under Other Devices.
  3. Select the keyboard when it appears in the Other Devices list. If the iPhone shows a code, type it on the keyboard and press Return.
iPhone Bluetooth settings with Magic Keyboard listed under Other Devices
Tap the keyboard under Other Devices to pair it.
  1. Open any app where you type, such as Notes, and start typing.

The keyboard moves to My Devices with the status Connected, and what you type on it appears on the iPhone. The onscreen keyboard stays hidden while the hardware keyboard is connected, so you get the full screen for your text.

If the Keyboard Is Paired With a Mac or iPad

A Magic Keyboard that’s already paired with another device has to be unpaired before it can connect to your iPhone. Do this on the device it’s paired with:

  • iPhone or iPad: Unpair the Bluetooth accessory in Settings > Bluetooth. It’s the same process you’d use to forget any Bluetooth device on iPhone.
  • macOS 13 or later: Choose Apple menu > System Settings, click Bluetooth in the sidebar, Control-click the keyboard, then choose Forget.
  • macOS 12.5 or earlier: Choose Apple menu > System Preferences, click Bluetooth, Control-click the keyboard name, then click Remove.

After that, go back to your iPhone and pair it using the steps above. If you want to use the keyboard on your Mac again later, plug it into the Mac with its cable for a minute. That pairs it with the Mac again and charges it.

How to Pair an Older Apple Wireless Keyboard

The older Apple Wireless Keyboard (the aluminum model that runs on AA batteries) needs to be put in pairing mode first. Press and hold the power button on its right side until the small green light starts blinking, then select the keyboard under Other Devices in Settings > Bluetooth. If the iPhone shows a code, type it on the wireless keyboard and press Return. If the light doesn’t come on, replace the batteries.

How to Pair a Non-Apple Bluetooth Keyboard

Keyboards from Logitech and other brands use the same Settings > Bluetooth screen, but you usually have to put them in pairing mode first. That often means holding a Bluetooth or connect button until a light flashes. Some multi-device keyboards also have numbered channel keys, so pick an unused channel before pairing. Tap the keyboard under Other Devices, and enter the PIN on the keyboard if one appears. If a keyboard never shows up, check with its maker that it supports iOS.

How to Reconnect the Keyboard

Magic Keyboard shortcuts and reconnect tips for iPhone
Control-Space switches keyboards; the Eject key toggles the onscreen keyboard.

Magic Keyboard disconnects when you turn its switch to Off or when you move it or the iPhone out of Bluetooth range, which is about 33 feet (10 meters). To reconnect, turn the keyboard switch to On, or bring the keyboard and iPhone back into range, then tap any key. You don’t need to pair it again.

A keyboard can help on the TV, too. Here’s how to connect a Bluetooth keyboard to Apple TV.

How to Disconnect or Unpair the Keyboard

  • For now: Turn the keyboard’s switch to Off. The onscreen keyboard comes back right away. Turning off the switch also saves the keyboard’s battery.
  • For good: Go to Settings > Bluetooth, tap the i (More Info) button next to the keyboard, tap Forget This Device, then confirm. This removes the accessory from all devices signed in to your Apple Account, so you’ll have to pair it again to use it on any of them.
iPhone Bluetooth device screen for Magic Keyboard with Forget This Device
Tap Forget This Device to unpair the keyboard.

Forget it when you’re moving the keyboard to a Mac, giving it away, or fixing a connection that won’t work.

Keyboard Shortcuts to Know on iPhone

Apple’s guide to switching between keyboards with Magic Keyboard covers two handy shortcuts:

  • Switch keyboards: Press and hold the Control key, then press the Space bar to cycle between your region’s language keyboard, the emoji keyboard, and any other language keyboards you added.
  • Show or hide the onscreen keyboard: Press the Eject key on Magic Keyboard. Press it again to hide the onscreen keyboard.

The familiar Command shortcuts work in most apps that handle text, such as Notes, Mail and Messages:

Shortcut What it does
Command-C Copy
Command-X Cut
Command-V Paste
Command-Z Undo
Command-A Select all
Command-Space Open Search

Some apps add their own shortcuts, and some don’t support them all, so try one in the app you use most. If you type in more than one language, you can add a Spanish keyboard (or any language) on iPhone and switch to it with Control-Space. Caps Lock works on the hardware keyboard too. For the onscreen keyboard, read about turning on Caps Lock on an iPad or iPhone.

Change How the Hardware Keyboard Types

With the keyboard connected, go to Settings > General > Keyboard > Hardware Keyboard. The options there are:

iPhone Hardware Keyboard settings with Modifier Keys and auto-correction options
Hardware Keyboard settings only appear while a keyboard is connected.
  • Choose a different keyboard layout, if what you type doesn’t match the keys.
  • Turn auto-capitalization or auto-correction on or off for the hardware keyboard.
  • Turn the period shortcut on or off (pressing Space twice adds a period).
  • Change what the Command key and other modifier keys do, under Modifier Keys.

If you don’t see Hardware Keyboard, the keyboard isn’t connected. Turn it on and press a key, then check again. The onscreen keyboard has its own iPhone keyboard settings, separate from these.

Control Your iPhone With the Keyboard

The iPhone’s Full Keyboard Access feature lets you move around the whole screen, open apps and tap buttons from the keyboard, which helps if touching the screen is hard. Apple covers it in its guide to controlling iPhone with an external keyboard. To turn it on, open Settings, type Full Keyboard Access in the search field at the top, open the result, and turn on the switch. Press Tab to move between items, Space to select one, and Tab-H to see the full list of commands.

Check the Keyboard’s Battery

A Magic Keyboard that runs low will drop its connection. To see its charge on the iPhone, add the Batteries widget: touch and hold an empty spot on the Home Screen, tap Edit, tap Add Widget, choose Batteries, then tap Add Widget. The keyboard shows up in the widget while it’s connected. To charge it, plug it into a power source or computer with its cable.

If the Keyboard Won’t Pair or Keeps Dropping

Apple’s Bluetooth accessory troubleshooting article lists the main checks. Try these in order:

  1. Move the keyboard close to the iPhone.
  2. Turn the keyboard off, then back on. On the older model, hold the power button until the light goes out, then press it again.
  3. Charge the Magic Keyboard, or put fresh batteries in the older model.
  4. Unpair it from any Mac, iPad or other iPhone. A keyboard that pairs with other devices but not yours is usually still claimed by one of them.
  5. If it’s listed under My Devices but won’t connect, tap the i button, tap Forget This Device, then pair it again.
  6. Restart the iPhone and try once more.

A few other problems have their own fixes:

  • Bluetooth is grayed out or won’t turn on: contact Apple Support. The steps for turning Bluetooth on or off on iPhone or iPad explain the difference between the Settings switch and the Control Center button.
  • The wrong characters appear: Check the layout under Settings > General > Keyboard > Hardware Keyboard.
  • The keyboard connects and then cuts out: Other wireless devices nearby can cause interference, so move away from them and keep the keyboard within a few feet.
  • The onscreen keyboard won’t appear: That’s normal while a hardware keyboard is connected. Press the Eject key or turn the keyboard off.

Which Keyboards Work With iPhone?

Apple’s pairing steps are written for Magic Keyboard, but iPhone connects to many Bluetooth keyboards the same way through Settings > Bluetooth. If you’re shopping for one that matches your Mac, the Apple Magic Keyboard is Apple’s current model.

Wireless Keyboard Questions

Can I use the same keyboard with my Mac and iPhone?

Yes, but not at the same moment without re-pairing. You must unpair the keyboard from another device before connecting it to your iPhone. To switch back, forget it on the iPhone and plug it into the Mac with its cable.

Why doesn’t my keyboard show up in Bluetooth settings?

Check that it’s turned on and charged, that Bluetooth is on, and that it isn’t still paired with another device. Then look again under Other Devices.

Can I connect a Magic Keyboard to my iPhone with a cable?

The iPhone pairing steps describe only Bluetooth, through Settings > Bluetooth. The cable is documented for charging the keyboard and for pairing it with a Mac.

How do I disconnect the keyboard?

Turn the keyboard switch to Off. It disconnects, then reconnects when you turn it back on and tap a key.

Do the function keys work on iPhone?

The letter, number, arrow, Shift, Command, Control and Option keys work, along with Eject. Brightness, media and other function keys may not do anything on iPhone, so test the ones you rely on.

Related Guides