iPhone connects and disconnects from Mac

Hello,


When I plug in my iPhone to my Macbook pro, it repetitively connects and disconnects. Therefore I cannot charge my phone through my computer anymore.


I own this iPhone since decembre 2018, and this issue only appeared this week. However when I plug in my iPhone to a wall outlet, it charges perfectly. I also noticed that there is a lag time before my phone starts charging when connected to my Macbook (before disconnecting right away, and then reconnecting etc).

I tried to connect my iPhone to both USB ports of my Macbook, with many different Apple lightning cables and also my Anker cable (MFI certified), but the issue substains. I plugged in my mother's iPhone 6 to my Macbook and it charged perfectly. I plugged in my iPhone to my brother's former Macbook pro (15" from 2008) and my iPhone could charge normally.


Here everything I tried to resolve this issue (which failed by the way) :

- I shut down and turned on my computer and my phone.

- I reseted location and privacy of my phone (Devices rapidly disconnect/reconnect - Macbook Air Mid 2013).

- I also restored my phone.


Could anyone tell me a solution?


I specify that I have a 256Go iPhone X under IOS 11.2.5 and a 13" retina Macbook pro (mid 2014) under High Sierra 10.13.3.


[Re-Titled by Moderator]

iPhone X, iOS 11.2.5

Posted on Feb 10, 2018 1:34 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 22, 2018 6:29 PM

But I do think I solved my problem, by something similar.


On the hunch that the computer was trying to set up a network connection via the phone while the phone was trying to do something else, I went into the network settings and found that in the list of services I had an entry for "Thunderbolt Bridge." I thought it was off, because it was listed as Inactive and the configuration I could see said "Configure IPv4: Off". But to make sure it was really completely disabled I pushed the "Advanced" button to change the configuration details (after clicking the lock icon and authenticating, of course). I changed "Configure IPv6" from "Automatically" to "Manually" and saved that.


After that, connecting my phone to the laptop finally worked. I was just now able to get some pictures off my phone onto the laptop.

Similar questions

276 replies
Question marked as Top-ranking reply

Apr 22, 2018 6:29 PM in response to Eric Myers

But I do think I solved my problem, by something similar.


On the hunch that the computer was trying to set up a network connection via the phone while the phone was trying to do something else, I went into the network settings and found that in the list of services I had an entry for "Thunderbolt Bridge." I thought it was off, because it was listed as Inactive and the configuration I could see said "Configure IPv4: Off". But to make sure it was really completely disabled I pushed the "Advanced" button to change the configuration details (after clicking the lock icon and authenticating, of course). I changed "Configure IPv6" from "Automatically" to "Manually" and saved that.


After that, connecting my phone to the laptop finally worked. I was just now able to get some pictures off my phone onto the laptop.

Jan 27, 2019 7:39 PM in response to MélodyH

I finally figured out the solution to why my iphone kept charging off and on:


I had offloaded / deleted the Music (iTunes) app on my phone. After reinstalling this it allowed me to Trust the computer.


I did what welibelkov suggested:


1. Disconnect your iphone from cable.

2. On your iphone: ->Settings -> General -> Reset -> Reset Location & Privacy (accept all things).

3. Connect your iphone back to cable. (iphone will reconnecting again, don't worry, it will be soon over).

4. iTunes will ask about trust, accept all this.


But was unable to trust the computer cause my Music (itunes app wasnt installed)

Aug 28, 2019 4:20 PM in response to MélodyH


Sep 11, 2018 8:27 AM in response to MélodyH

Connect your iphone to your Mac.

Go to Activity Monitor --> Search for usbd --> Force quit it.



The above worked for me. To add a bit: You click on the upper right of your screen where there is a magnifying glass and search "activity monitor." Keep "CPU" highlighted. Type "usbd" into the search box. Now plug in your phone. It'll connect, reconnect, connect, reconnect and so you have to be quick and double click on "usbd" even though photos and itunes keeps popping up. then once you've successfully double clicked "usbd," click on "quit" which takes you to a screen that says "force quit" and click "force quit."


I also took the recommendation of going to my iphone and settings-->general-->reset-->click on reset location and privacy.


I did both and it worked.

Nov 1, 2019 5:24 AM in response to MélodyH

I had the same problem. My computer was a late 2014 iMac 27" 5K. Problem started with my iPhone 6 and persisted after I upgraded to iPhone Xs. Things I had tried:

  • Restarting many times both iPhone and iMac.
  • Changing the USB inlet.
  • Using a different USB cable. The problem would stop for a very short time and then return.
  • Connecting to my MacBook Pro with the same USB cable. It worked fine. Problem was with iMac.
  • Force quitting "usbd" from Activity Monitor.
  • Settings>Network> iphone USB> then uncheck the box that says "Disable unless needed"


None of the above worked. Until I contacted Apple Support today. They prompted me to enter this Terminal code:


sudo killall -STOP -c usbd


Problem stopped immediately. I restarted the iMac and things still work fine. Haven't seen how it turns out long-term, though. Give it a try.

Mar 30, 2021 11:05 AM in response to MélodyH

I have a similar issue and believe it's a power issue.


When I plug my iPhone XR to my 2015 MBP 15 via a USB cable, it keeps disconnecting and connecting. Doesn't happen on any of my MacBook Airs with the same cable, only my MBP 15.


My imperfect solution is to:

  1. Make sure the mac accepts the phone: on iPhone Settings -> General -> Reset -> Reset Location & Privacy (accept all things).
  2. Plug the iPhone through an external USB hub that uses external power supply (mine is the TB display)
  3. On phone, trust the mac connection


Now I can transfer / sync my phone with my mac.

Apr 28, 2021 7:24 AM in response to MélodyH

This was one of my struggles and I searched several times for an answer. One comment was finally correct! It’s because the battery is too low! If my phone was under 50% then it would essentially freak out and keep connecting and disconnecting instantly. I think it’s because it was struggling to charge and connect to the iMac. So after it’s charged to a good amount, mine does not do it anymore. I hope this helps other frustrated people solve it. 🤞🏻❤️

Apr 29, 2021 11:05 PM in response to MélodyH

I FIGURED IT OUT - so I have a 2015 MacBook Pro and an iPhone 11 Pro Max. Both USB ports gave me the rapid disconnect/connect, and was so frustrating. Tried EVERYTHING - reformat everything, reset everything, BUY A NEW IPHONE, yet nothing worked. THen work gave me a new iPhone SE and it didn't have an issue.


So I thought, maybe it's to do with the power draw/output on the USB port vs a powerful iPhone!


So I got a Ethernet USB adapter that has a USB port on it, and plugged my iPhone it that way.


IT WORKED - no more rapid disconnecting! So it's not an elegant solution because Apple are Apple and we love dongles. But at least I can finally backup and sync my iPhone!


Next problem to sort out: Album Art and songs repeating the last 30s!

Oct 10, 2021 6:51 PM in response to MélodyH

This worked for me (going to network in system preferences on computer, click on iphone usb, uncheck box that says disable when needed) when nothing else did. iphone xs max with ios 15 connected to 2015 macbook pro 15 inch running big sur 11.5.1


For the last year nothing else corrected the rapid on/off when phone was connected via usb to computer. This fixed it.

Mar 16, 2022 11:48 PM in response to MélodyH

This is a notorious issue. I have faced it multiple times on my iPhone.


Troubleshooting steps range from killing a Mac process to resetting your iPhone. Faulty cables and lightning port could be the culprit.


I found success after following the below steps- 


  1. Check cables and ports. 
  2. Reset iPhone Location & Privacy Settings.
  3. Change Finder Preferences.
  4. Restart the USBD process by heading over to Activity Monitor (This fixed iPhone disconnected with Mac issue for me.)
  5. Reset SMC/NVRAM on Mac. 
  6. Create a new admin account on Mac. 


Let me know if you were able to fix this issue. 


In depth information:- iPhone keeps disconnecting from Mac? 7 Fixes

May 3, 2022 6:28 AM in response to ankit1694

I had my iPhone doing the same thing, connects and disconnects from Mac, I tried all options mentioned in the forum without lack. Recently I have moved my office to another room and had shut down Mac and disconnect all cables from it, left it off overnight without any cables connected to the Mac, even power cable disconnected from the wall outlet. The next day reconnected all cables and now my phone charges with no problems. I had to Trust my device first.



Mar 19, 2018 4:41 PM in response to MélodyH

I'm having this problem too, on an iPhone 7 connecting to a MacBook Pro, both with all software updates installed.


One thing I notice is that the phone very quickly flashes a pop-up ("modal") asking if I should trust this computer or not. But it's gone before I have a chance to press "Yes". (Actually, I once got it in time, and a screen for me to enter my PIN appeared, but only for a microsecond.) The connect/disconnect also stops briefly when the laptop pops up that "A new network interface has been detected: the 'iPhone USB' network interface has not been set up. To set up this interface use Network Preferences". But no matter what I do next, the cycle starts again.


The phone connects correctly to an older iMac running 10.7.5, so I suspect the issue is with the software on the laptop, but perhaps is a cycle of each wanting to verify that I should trust the other and getting in each other's way?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iPhone connects and disconnects from Mac

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.