You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

💡 Did you know?

⏺ If you can't accept iCloud Terms and Conditions... Learn more >

⏺ If you don't see your iCloud notes in the Notes app... Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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 Nov 1, 2019 5:24 AM

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.

Similar questions

276 replies

Nov 7, 2021 7:10 PM in response to MélodyH

I also had this problem for a long time but trying solutions posted so far such as stopping usbd only worked sometimes. I now have the suspicious the root cause might be that this rapid connect/disconnect only happens when the iPhone is <100% charged so that the iPhone is using the USB connection with PC/laptop to charge itself while trying to use is as real communication link at the same time. Bringing the iPhone 100% charged seems to work OK although the link still flips a few times before settling down. Best would be if anyone knows how to stop the USB connection being used for charging temporarily from PC/laptop or iPhone side.

Jan 3, 2022 9:56 AM in response to MélodyH

I have a friend with a 2013 MBA and this happened some time ago when I was showing her how to back up her phone to the laptop. At that time the solution was to go to Network settings and remove the phone as a network device. Tried to back up her phone again recently, it kept doing the connect/disconnect but it didn’t show as a network device and no other solution worked, including resetting trust on the phone. Her laptop has another account just for backing up her moms phone, and so I had the thought to log into that account. Sure enough the phone asked if I should trust the computer, I said yes, logged back into my friend’s account and the phone then worked fine. So if no other solution has worked, try creating a new account on the machine and see if the device works like that (if not you may have to reset the trust on the phone first). Hope this helps.

Jan 31, 2022 11:44 AM in response to MélodyH

What worked for me; unplugging the cable from the Mac, plugged the cable into the phone first (iPhone 12), then plugged it back into the USB port on the computer, for whatever reason, that corrected it for me. Prior to this quick fix, it did not matter how many times I plugged my phone in, it would just show charging then not charging over and over.

Mar 28, 2022 9:40 PM in response to rpmartins

This terminal command also worked for me! Much thanks! I've struggled with this for a long long time! And currently I have a failed battery on my Mid 2015 MBPro Retina so only running off of the external power supply and I can still charge my phone now! Thanks again (in this case to: rpmartins) for providing answers to keep us all going!

____________________________

Originally posted by rpmartins:

Try terminal :

sudo killall -STOP -c usbd

____________________________

Peace!

slashGW

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.



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.