61

When I charge my iPhone 4 on my laptop, it starts charging but then it keeps going on and off charging even though it's not touched. It charges fine with a plug charger or with any computers I use at college.

What things prevent a Mac from charging a connected iPhone so that charging can be resumed?

5
  • 3
    The port isn't dirty, the cable isn't broken, the Macbook Pro is charged up. Every "solution" I see online is NOT the problem in my case. It feels like a software glitch or something. Someone explain what's happening... PLEASE! Commented Mar 31, 2018 at 2:46
  • I'm having this problem (seemingly) totally randomly. Sometimes it happens when my iPhone (6S plus) is plugged into my Macbook Pro, sometimes it's when it's plugged into an outlet on a power strip (via a USB charger block thing). Sometimes it charges just fine, sometimes it does the constant on/off thing. There seems to be no rhyme or reason about WHY it's happening. It tends to do the "on/off" dance in a consistent pattern for a while, and then it will stop - just charging normally for about a minute - and then goes back to the "on/off" dance again. SOOOO annoying! Commented Mar 31, 2018 at 2:46
  • 1
    Possible duplicate of iPhone 6s with iOS 12.2 not connecting to MacBook Pro mid2015 with macOS 10.14.3
    – anki
    Commented Mar 29, 2019 at 8:14
  • 1
    Same problem. So annoying. Apple please fix your bugs!
    – GN.
    Commented Jun 16, 2019 at 20:29
  • In my case it turned out to be a problem with the port on my MacBook Pro. When I connect the iPhone via another port, it works fine. Commented Aug 21, 2019 at 13:55

10 Answers 10

93

Running this in terminal worked for me: (it will ask for your user's password)

sudo killall -STOP -c usbd

This pauses the troublesome process instead of killing it altogether like other answers suggest. The difference is that macOS won't try to reopen it automatically and cause the issue again.

Running sudo killall -CONT usbd will resume the process, should anything require it.

Tested on: iPhone 7 (iOS 11) + MacBook Pro Late 2013 (10.13.6)


Besides software issues, there's a good chance that the cable is at least partially damaged so it might work for dumb power chargers but not with a MacBook that also relies on the USB data pins.


Also this might happen when either device needs an update. I've been asked "Install update to connect to device?" before and if I don't accept, this issue happens.

8
  • 2
    This worked for me, while killing usbd (in Activity Monitor) didn't.
    – Adam
    Commented Aug 20, 2018 at 23:06
  • 7
    You got to be kidding me. This worked :) Commented Mar 27, 2019 at 17:21
  • 1
    Is it possible that root cause could be not original wire? Commented Aug 31, 2019 at 20:45
  • Thank you, this worked fine with my iphone 6s,(ios 12.4) on Macbook pro (MacOS Mojave)
    – Hriju
    Commented Sep 11, 2019 at 16:50
  • Oh my goodness, this worked! Been having this problem for YEARS - only with this laptop, and thought there must have been an issue with the USB ports - but no, that one line and I can finally CHARGE MY PHONE! Genius. Commented Dec 4, 2019 at 0:51
16

Force quitting the process usbd made this bug finally go away on my 2017 MacBook Pro.

0
8

You probably have a buildup of lint/debris in the phone's charger (lightning) port. Use a plastic or wood toothpic to gently scrape inside the port. Do not use a paper clip, or any other metal obeject! I had the same issue with a two year old iphone 6 and retreived enough lint to knit a sweater. It charges without interuption now.

1
  • 1
    man, this helped me. I have iphone cable that I used only for iphone debugging (50 times or so) and it just started going on/off when I connected it today - I even thought apple might determine cable age and disable it, but then I found your answer and it helped a lot. thank you so much. I also suggest inensively plugging USB in/out several times after cleaning Commented Mar 7, 2018 at 12:30
8

Plug in your phone. Open Activity Monitor app. Search for 'usbd'. Click Quit and then Force Quit.

2
  • 1
    omg - THIS - i have had this problem for years..... Why???
    – Bysander
    Commented Jun 27, 2019 at 17:36
  • 1
    You must have your iPhone plugged in while you’re killing the process or MacOS will just relaunch it when you plug your phone in.
    – weberc2
    Commented Jun 27, 2019 at 21:45
3

Ankit Chhajed's solution allowed me to find a workaround. This isn't really a solution since Apple still has a software bug, but you can do the following:

  1. Stop iTunes (very important)

  2. Find and kill the "usbd" process in process list (must not be running)

  3. Attach iPhone

3
  • How do you kill usbd? Its a root process
    – GN.
    Commented Jun 16, 2019 at 20:31
  • @GN. sudo killall -STOP -c usbd by answer at the top!
    – anki
    Commented Jun 17, 2019 at 16:09
  • Stop Music App - this was important indeed. Now it doesn't charge but I can use Android Studio.
    – Slawa
    Commented Dec 8, 2019 at 21:53
2

I have the same problem with an iPhone XS and two different Macs, and no luck with any of the solutions that worked for other people.

I finally figured out a workaround today:

It works as long as I connect it to a USB hub that's connected to my Mac. (Yes, I'm serious. It doesn't even have to be an active hub, I'm simply using a $10 passive one, and iTunes and Xcode work like a charm.)

What also works is booting my Mac into Windows (via boot camp), then connecting it. Worth it if you simply want to back it up to iTunes and take it to the Genius bar.

1
  • Thanks, problem Solved. Used a USB hub on the macbook and connected the phone through this. Everything worked fine. First killed the usbd though. Killing the process did not work. then tried with USB hub. So try to kill the usbd first(see the earlier answer) and then try with USB hub. Hope it will work. Best of luck. (Worked for iphone 4s:ios9.3.5 on Macbook pro mid2015, Mac OS Mojave )
    – Hriju
    Commented Sep 11, 2019 at 16:49
0

Your computer is not giving it enough power

7
  • How do i give it more power?
    – Aamir Ali
    Commented Jun 22, 2015 at 1:33
  • You can't through your computer. Either use a newer computer or use the wall charger
    – Mitchell D
    Commented Jun 22, 2015 at 7:33
  • This is a new laptop that i purchased only a few weeks ago and the only reason i need it connecting to my laptop is because i need to update my itunes
    – Aamir Ali
    Commented Jun 22, 2015 at 12:19
  • You should still be able to update the content on your phone through iTunes even if the phone isn't charging. Have you tried with a different USB cable?
    – Mitchell D
    Commented Jun 22, 2015 at 12:20
  • It starts to connect to my laptop but then goes off and on constantly, nope as i just bought this usb cable a few weeks ago aswell.
    – Aamir Ali
    Commented Jun 22, 2015 at 12:28
0

I have found a solution to this problem (I was also struggling with this for a while). It's basically because the macbook is trying to create a data connection with the iphone through the usb port. Here are some things that seems to work in my case:

  1. Using a USB extender and then connecting the iphone to it.
  2. Or Force quitting itunes and then plugging in the iphone.
  3. Or Ejecting the iphone from the itunes.

I have come to understand that it is not a problem due to the cable, nor due to a broken USB port (so stop changing that). Just stop the data connection process between the iphone and mac using the above 3 ways or any other way you find. Let me know if it works.

Thanks.

-1

I purchased a Lifeproof Fre Power case for iPhone 6s (Feb 2016). You must use a micro USB cable to charge the case, not a Lightning cable. I had the same problem as Aamir Ali. Drove me nuts.

But you are right. Use a powerful charger and the "ON/OFF" charging problem goes away. Same cable at home didn't work with cigar lighter charger in truck/auto, even though it is a 5.4 Amp Belkin model. Or so they state.

When powered through top-quality and high amp chargers the problem goes away. The cable type or model does not seem to matter. Only the power source.

Lifeproof has been "nice", but has no good technical answer for this problem. "You must use our cable and charger." Hmm.

0
-2

This happened to me with iPhone 5c. The way I charged was under a stack of books (6 or so). We went to the Apple Store to see if we could get it fixed but they said that getting it fixed would cost more than the actual phone. So I ended up just getting a whole new phone. But if you don't want to do that then like I said you could charge it under a stack of book with one on the bottom

1
  • Suppressing the vibrations doesnt answer the OP's question of why and how to stop it.
    – anki
    Commented Jun 17, 2019 at 18:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .