Tech Reference

How to properly clean your iPhone's charging port

Updated
Read in app

There are a few reasons that your iPhone might not be charging properly — you might need to restart your phone, check the Lightning cable for kinks and breaks, and ensure your power source is working. 

If you check all those things and it still doesn't work, it's possible there's enough debris in your port to keep the connector from making a solid connection.

Yes, your iPhone's port can get so dirty it stops working. Anytime you put it in a pocket or bag, small bits of dirt, dust, and lint can find their way in. 

And when you insert the cable, that compresses and packs the dirt deep in the port. Eventually, it might become so fouled with debris that it stops working.

How to clean your iPhone's charging port

You should get a flashlight, or work under a bright LED desk lamp — the brighter the better, since you need to see deep into the charging port.

Picture of an iPhone, flashlight, compressed air can, and a toothpick.
You can clean your iPhone's charging port — carefully — with some compressed air and a toothpick.  Dave Johnson/Insider

And while you may want to start with compressed air, if you're planning to insert anything into the port to pull out wedged-in dirt, there's only one acceptable tool for the job: A toothpick. 

1. Power off your iPhone completely. You can open the Settings app and then tap General, followed by Shut Down.

2. Holding the compressed air can upright (so it only blasts air, and doesn't expel wet propellent) shoot a few short, controlled bursts into the port.

3. Turn your phone on and try to charge it again. If it's still not working, it's time to try the toothpick.

Close up picture of an iPhone’s bottom with the Lightning port visible. There is a toothpick resting on top of the phone.
Don't use anything made of metal to clean the port of your phone – a toothpick is the right size, shape, and hardness for the job.  Dave Johnson/Insider

4. Again, with your phone turned off, gently insert the toothpick into the port and lightly scrape it against the inside wall of the port. Don't apply pressure to the inside wall that's closest to the front of the phone, because there are delicate pins there. Overall, it's important to be gentle, because in addition to those pins, the sides are home to two small spring-mounted anchors that latch onto the charging port when you insert it (that's why it "snaps" into place when you push the cable in). If you break anything, its charging days will be over permanently.

Picture of a toothpick being inserted into the Lightning port of an iPhone.
Be sure not to damage the electronics or mechanical springs inside the port when you swipe it with the toothpick.  Dave Johnson/Insider

5. After using the toothpick for a while, give the port another burst of compressed air to help remove anything you've loosened.

6. If you push some dirt out, turn the phone back on and try to charge it.

If it works, congratulations — you're back in business. If it still doesn't work, you can continue to try — carefully — or take it to an Apple service center for professional help.

How to get water out of your iPhone's charging port

If you get a notification that there is water in your iPhone's charging port, unplug all accessories and tap it on your hand with the port facing down. 

To completely dry the port, leave the phone in a dry area with decent airflow. 

Read next

Dave Johnson is a technology journalist who writes about consumer tech and how the industry is transforming the speculative world of science fiction into modern-day real life. Dave grew up in New Jersey before entering the Air Force to operate satellites, teach space operations, and do space launch planning. He then spent eight years as a content lead on the Windows team at Microsoft. As a photographer, Dave has photographed wolves in their natural environment; he's also a scuba instructor and co-host of several podcasts. Dave is the author of more than two dozen books and has contributed to many sites and publications including CNET, Forbes, PC World, How To Geek, and Insider.