My iPhone 5 won't charge. What do I do?

My iPhone 5 recently stopped charging. I know it's the charger itself because I just bought a new one. It will charge when my phone is off, but not when it's on. What should I do? Should I look into getting a new phone?

It's probably the charger whether you got a new one or not… My friends charger wasn't working for her iPhone 5 & then she got a new one & that worked for a while & then just stopped. Then she got another one & now it works & her phone chargers… She had the same problem as you… Just get a new charger…

Its probably the charger.buy another one from apple, and if it doesn't work, you will most likely be able to get a full refund on the iphone and both chargers.