iPhone Keeps Connecting and Disconnecting from Mac: Fix
In this article
If your iPhone keeps connecting and disconnecting from your Mac, the usual cause is a faulty cable, a locked iPhone, or a USB port power issue. Start by using an Apple-certified cable, unlock your iPhone and tap "Trust," then try a different USB port. Below are the full steps to stop the cycle.
What You'll Need
- Your iPhone and Mac
- The original Apple USB cable or a cable certified by Apple (MFi)
- A Mac with a working USB port (or a powered USB hub)
- Your iPhone passcode (you'll need to unlock it)
Step-by-Step
- Check the cable and port. Use the cable that came with your iPhone or a certified third-party one. Try a different USB port on your Mac (preferably directly on the Mac, not a hub). If the cable is frayed, bent, or loose, replace it.
- Unlock your iPhone and keep it awake. When you connect the iPhone, it must be unlocked and on the Home Screen. If it's locked, the Mac may not see it, or it may disconnect repeatedly. Tap "Trust" when the prompt appears on the iPhone.
- Disable USB accessories when locked (optional). On your iPhone, go to Settings > Face ID & Passcode (or Touch ID & Passcode) and turn off the toggle for USB Accessories. This allows the iPhone to stay connected even when locked, but it reduces security. Only do this if you trust the Mac.
- Restart both devices. Restart your iPhone (press and hold the side button and either volume button, then slide to power off) and restart your Mac (Apple menu > Restart). Then reconnect.
- Reset the connection on your Mac. On your Mac, open Finder (or iTunes on older macOS) and click on your iPhone in the sidebar. If it doesn't appear, go to Finder > Settings > Sidebar and make sure "CDs, DVDs, and iOS Devices" is checked. Then unplug and replug the iPhone.
- Update software. On your iPhone, go to Settings > General > Software Update and install any pending updates. On your Mac, go to System Settings > General > Software Update (or System Preferences on older macOS) and update macOS. Outdated software can cause connection drops.
- Reset the iPhone's location & privacy settings (if nothing else works). This does not delete your data, but it resets permissions. Go to Settings > General > Transfer or Reset iPhone > Reset > Reset Location & Privacy. Then reconnect and tap "Trust" again.
Common Mistakes
- Using a charge-only cable. Some cables (especially cheap ones) only carry power, not data. Always use an Apple-certified cable with data support.
- Leaving the iPhone locked. If the screen is off, the Mac may see it briefly then lose it. Keep it unlocked during the connection.
- Using a USB hub or front-panel port. These can provide unstable power or data. Plug directly into the Mac's built-in port.
- Forgetting to tap "Trust". If you miss the prompt, the Mac won't have permission and may disconnect. Unplug, replug, and watch for the prompt.
- Having too many USB devices connected. This can overload the Mac's power. Unplug other devices and try again.
Tips
- If you're using a MacBook, try the USB-C port on the other side; sometimes one port can be faulty.
- Keep your iPhone's screen awake by adjusting the auto-lock: Settings > Display & Brightness > Auto-Lock and set it to "Never" temporarily.
- If you use a third-party cable, check for the MFi (Made for iPhone) logo on the packaging.
- For wireless syncing, you can enable Wi-Fi sync in Finder (or iTunes) to avoid cable issues entirely, but you'll still need a cable once to set it up.
Troubleshooting
If the steps above don't work, try these in order:
- Try a different Mac or computer. If the iPhone works there, the problem is likely your Mac's USB port or software.
- Check for debris in the iPhone's Lightning/USB-C port. Use a soft, dry toothbrush to gently clean it. Do not use metal tools.
- Reset the Mac's NVRAM (Intel Macs only). Shut down the Mac, then turn it on and immediately press and hold Option+Command+P+R for about 20 seconds. This resets some hardware settings. On Apple Silicon Macs, this isn't needed.
- Reinstall the USB drivers (macOS only). This is not a typical user step, but you can try deleting the file
/System/Library/Extensions/AppleUSBFTDI.kext(if it exists) and restarting. However, this is advanced and usually unnecessary. - Restore iPhone in Recovery Mode (last resort). This erases all data on the iPhone. Back up first. Connect to a computer, force restart the iPhone (press and hold side and volume down until the recovery screen appears), then choose "Update" in Finder/iTunes to reinstall iOS without erasing. Only if that fails, choose "Restore" which erases everything.
If none of these help, the iPhone's port may be damaged, and you should contact Apple Support or visit an Apple Store.
Frequently Asked Questions
Why does my iPhone connect and disconnect repeatedly?
Most often it's a bad cable, a locked iPhone, or a USB port that can't provide stable power. The steps above address all three.
Can I use Wi-Fi sync to avoid the cable entirely?
Yes. In Finder (or iTunes), connect your iPhone via cable once, check "Show this iPhone when on Wi-Fi," then disconnect. After that, the iPhone can sync over the same Wi-Fi network without a cable.
Does the iPhone need to be unlocked to connect?
Yes, for the first connection and every time you want to access data. If you have "USB Accessories" disabled (which is the default), the iPhone must be unlocked to allow data transfer.
Will a factory reset fix this?
It might, but it's a last resort because it erases all data. Try all other steps first. If you reset, back up first via iCloud or a computer.
Why does my Mac show the iPhone but then it disappears?
That usually means the data connection is dropping. Check the cable, try another port, and make sure the iPhone screen stays on during the connection.
Can a third-party cable work?
Yes, if it is MFi-certified. Non-certified cables often lack the data pins or have poor shielding, causing intermittent connections.