How to Add HomeKit Devices to Apple Home on iPhone & iPad
In this article
To add a HomeKit device to the Apple Home app, open the Home app, tap the + button, choose Add Accessory, scan the setup code on the device or its packaging, and assign it to a room. The device must support HomeKit, be powered on, and be within Bluetooth or Wi-Fi range of your iPhone or iPad. You also need an iCloud account signed in on the device and two-factor authentication enabled. The steps below cover the complete setup on iPhone and iPad, including common mistakes and fixes.
What You'll Need
- An iPhone or iPad running a current version of iOS or iPadOS.
- The Apple Home app (preinstalled on iOS and iPadOS; if removed, reinstall it from the App Store).
- A HomeKit-compatible accessory with its setup code (printed on the device, inside the battery compartment, or on a card in the box).
- A 2.4 GHz Wi-Fi network with a strong signal where the device will be placed. Many HomeKit accessories do not support 5 GHz networks.
- An iCloud account signed in on your iPhone or iPad, with two-factor authentication turned on.
- Bluetooth enabled on your iPhone or iPad for the initial pairing step.
- For remote access and automations, a home hub: a HomePod, HomePod mini, or Apple TV. An iPad can no longer be used as a home hub in current software versions.
Step-by-Step
- Update your iPhone or iPad. Go to Settings > General > Software Update and install any available update. The Home app and HomeKit work best on current software.
- Check your iCloud and two-factor authentication. HomeKit requires it.
- Power on the accessory. Plug it in or insert batteries. Wait for any indicator light to show it is ready to pair (often a blinking light; check the device manual for the exact pattern).
- Bring your iPhone or iPad close to the device. Stay within a few feet during pairing. Enable Bluetooth in Control Center or Settings if it is off.
- Open the Home app and tap the + button in the top right corner, then choose Add Accessory.
- Scan the setup code. Point the camera at the code on the device or packaging. If the camera will not focus, tap More Options... and select the accessory from the list, or enter the code manually when prompted.
- Follow the on-screen prompts. The app will ask you to assign the accessory to a room and give it a name. Choose a room you will recognize later (for example, Living Room or Bedroom).
- Wait for pairing to finish. The app may ask to add the accessory to your Wi-Fi network. Keep the phone close and do not lock the screen until setup completes.
- Test the accessory. Tap the new tile in the Home app and try turning it on or off, or adjusting it. If it responds, the setup is complete.
- Set up a home hub for remote access (optional but recommended). Place a HomePod, HomePod mini, or Apple TV in your home and sign in with the same Apple ID. The Home app will show the hub as connected under Home Settings. This enables control away from home and automations.
Common Mistakes
- Using a 5 GHz Wi-Fi network. Many HomeKit devices only join 2.4 GHz networks. If pairing fails, temporarily disable the 5 GHz band on your router or connect the device to a 2.4 GHz network during setup.
- Ignoring the setup code location. The code is often on the device itself, not just the box. Check the battery compartment or the back of the accessory.
- Pairing without two-factor authentication. HomeKit will not complete setup if two-factor authentication is off on your Apple ID.
- Walking away during pairing. Stay near the device and keep the Home app open until the process finishes.
- Assuming an iPad still works as a home hub. Current software no longer supports iPad as a home hub. Use a HomePod or Apple TV instead.
- Forgetting to name the device clearly. A vague name like "Lamp" makes voice control and automations confusing later. Use a specific name such as "Living Room Lamp."
Tips
- Add devices one at a time. Pairing several at once makes it harder to tell which one failed.
- Keep the setup code in a safe place. You may need it if you reset or re-add the device.
- Use rooms and zones consistently. Assigning devices to the right room improves Siri commands and automation accuracy.
- If a device supports Thread, a HomePod mini or Apple TV with Thread can improve reliability. Check the accessory documentation for Thread support.
- Update accessory firmware when prompted. Many manufacturers release updates through their own app, not the Home app.
Troubleshooting
If the Home app cannot find the accessory, first confirm the device is powered on and in pairing mode. Restart your iPhone or iPad, then try again. Make sure Bluetooth is on and you are within a few feet of the device. If the camera will not scan the code, tap More Options and choose the accessory manually, or enter the code by hand.
If pairing starts but fails partway, check that your Wi-Fi network is 2.4 GHz and that the password is correct. Move the accessory closer to the router during setup, then relocate it afterward. If the device was previously added to another home, reset it according to the manufacturer's instructions before adding it again.
If the accessory appears in the Home app but does not respond, check that it is connected to Wi-Fi and that your iPhone or iPad is on the same network. Try controlling it from the manufacturer's own app to see whether the issue is with the device or with HomeKit. Restarting the accessory and your router often resolves connection problems.
If you cannot add a home hub, confirm the HomePod or Apple TV is signed in with the same Apple ID and is on the same Wi-Fi network. Check for software updates on the hub device.
Frequently Asked Questions
Do I need a home hub to use HomeKit?
No, you can control devices locally without a hub. A home hub is required for remote access, automations, and receiving notifications when you are away.
Can I add a HomeKit device without scanning the code?
Yes. In the Add Accessory screen, tap More Options and select the accessory from the list, or enter the setup code manually when prompted.
Why does the Home app say the accessory is already added?
The device is linked to another home or Apple ID. Reset the accessory to factory settings using the manufacturer's instructions, then add it again.
Does an iPad work as a home hub?
No. Current software versions do not support iPad as a home hub. Use a HomePod, HomePod mini, or Apple TV instead.
Can I control HomeKit devices from my iPad?
Yes. Sign in to the same Apple ID on the iPad and open the Home app. The devices and scenes will sync automatically.
What should I do if the setup code is lost?
Check the device itself, the battery compartment, or the manufacturer's app for a digital code. If you cannot find it, contact the manufacturer for a replacement code or reset instructions.