Apple says not to use compressed air, cleaning products or liquids, or any foreign object such as a cotton swab or paper towel in your iPhone’s charging port. The safe method is short: unplug everything, turn iPhone off, look into the port with a light, tap loose lint out with the port facing down, wipe the cable’s connector with a soft, dry, lint-free cloth, and then plug back in without forcing it. It works the same on iOS 27 for every iPhone, Lightning or USB-C; lint that won’t come out that way is a job for Apple service, not a pin. For the charging options and speeds on the newer USB-C models, see charging an iPhone 15.
If a cleaned-out port still won’t wake the phone, turning on an iPhone 13 covers the other reasons an iPhone 13 won’t start.
Which charging port your iPhone has
Your iPhone has one of two ports on its bottom edge: Lightning, Apple’s older narrow connector, or USB-C, the oval connector also used on many laptops. Apple’s page on the USB-C connector on iPhone says iPhone 15 and later models use USB-C.
| iPhone models | Charging port | What it looks like inside |
|---|---|---|
| iPhone 15 and later (including iPhone 16e and iPhone 17e) | USB-C | An oval opening with a thin tongue of contacts in the middle |
| iPhone 14 and earlier, and all iPhone SE models | Lightning | A narrow slot with contacts on the inside walls |
Not sure which model you have? Checking which iPhone you have takes a few seconds in Settings. The cleaning method is the same for both ports.
What you need
- A light, such as a desk lamp or another phone’s flashlight. Nothing goes inside the port.
- A soft, dry, lint-free cloth. “Lint-free” means it doesn’t shed fibers, like a glasses cloth. It’s for the cable’s connector, not the port.
- Your charging cable and adapter, so you can test the connection afterward.
What Apple says to keep out of the port
Apple’s handling and cleaning pages, including How to clean your iPhone, set these limits:
- No compressed air. Apple says not to use it when cleaning iPhone.
- No cleaning products or liquids, which includes isopropyl alcohol, contact cleaner and water. Apple also rules out aerosol sprays, bleach, hydrogen peroxide and abrasives on iPhone.
- No foreign objects in the connector, such as a cotton swab or a paper towel. Apple doesn’t recommend a toothpick, pin, SIM tool, brush or tape either.
- No heat and no rice if the port is wet.
- Never force a connector. If the plug doesn’t go in with reasonable ease, Apple says to check for an obstruction and make sure the connector matches the port and is turned the right way. Damage from forcing a connector isn’t covered under warranty.
Don’t blow into the port either: Apple asks you to keep moisture out of openings.
Clean the port and cable without tools
Before you start: if you’ve just seen a Liquid Detected alert, or the phone got wet, skip to the liquid section below instead.
- Unplug everything. Disconnect the cable from iPhone and from the power adapter, and remove any other accessory that’s plugged in.
- Turn iPhone off. On an iPhone with Face ID or iPhone Duo, press and hold the side button and either volume button until the sliders appear, then drag the top slider. On iPhone SE, press and hold the side button, then drag the slider. On any model you can also go to Settings > General > Shut Down. Wait until the screen goes fully black.
- Look into the port with your light. In a clean USB-C port you can see the contact tongue and the back wall clearly. In a clean Lightning port the bottom of the slot looks even. Lint usually shows up as a gray or dark, felt-like layer pressed against the back.
- Tap out loose debris. Hold iPhone with the port facing down and tap it gently against the palm of your hand a few times. Apple describes this tap for clearing liquid from the connector; it can also shake out loose crumbs and fluff. Look again with the light.
- Wipe the cable’s connector. If a cable won’t charge or sync, Apple says to clean its connector with a soft, dry, lint-free cloth and no liquids or cleaning products. Some discoloration on the metal after regular use is normal and isn’t dirt.
- Turn iPhone on and plug in. Press and hold the side button until the Apple logo appears. Then push the cable in firmly but without force. You should feel it seat all the way, with no gap between the plug and the phone.
How to tell it worked
A clean connection seats flush and stays put when you pick the phone up. The battery icon in the status bar shows a lightning bolt. Leave it plugged in for a few minutes and check that the bolt doesn’t flicker on and off.
When the lint won’t come out
Apple’s charging troubleshooting page tells you to remove any debris from the charging port, but it never names a tool for doing it. Since Apple also rules out compressed air and foreign objects, lint that’s packed in hard is a job for Apple or an Apple Authorized Service Provider, not for a toothpick or pin.
Book service if debris is still visible after tapping and the cable won’t seat, if it only charges when held at an angle, if you see damage inside the port, or if you think liquid got inside the phone. Keep in mind that Apple says liquid damage isn’t covered under the iPhone warranty or AppleCare.
If you see a liquid-detection alert
iPhone XS, iPhone XR and later can warn you when there’s liquid in the port. The alert may read Liquid Detected in USB-C Connector, Liquid detected in Lightning Connector, Liquid Detected, or, on Lightning models that were charging, Charging not available. Apple’s liquid-detection alert page gives these steps:
- Unplug the cable from iPhone and from the power adapter.
- Tap iPhone gently against your hand with the connector facing down to remove excess liquid.
- Leave iPhone in a dry area with some airflow. Apple’s handling page in the iPhone User Guide adds that a fan blowing cool air directly into the connector may help.
- After at least 30 minutes, try charging again. If the alert comes back, there’s still liquid in the port; leave it in a dry, airy spot and try again later. Apple says it can take up to 24 hours to dry fully.
Apple’s handling page in the iPhone User Guide gives a separate, longer rule for any time iPhone gets wet: wait at least 5 hours before charging it or connecting an accessory. If you know the phone was splashed or dropped in water, waiting the full 5 hours is the cautious choice.
In an emergency, the alert lets you override liquid detection and charge anyway, but Apple warns that charging while the port is wet can corrode the pins on the connector or cable and cause permanent damage. If you truly need power in the meantime, Apple says a Qi-certified wireless charger is fine once the back of the phone is dry.
If the alert shows up every time with one particular cable or accessory, that accessory may be damaged. If it appears with any Apple cable, the phone may need service.
Is it the port, the cable or the charger?
A dirty port isn’t the only reason an iPhone stops charging. These signs point toward lint in the port: the plug doesn’t click in as deep as it used to, it feels loose or springs back out, or charging works only at an angle. If the plug seats properly and charging still fails, work through Apple’s order from its guide for an iPhone that won’t charge:
- Try a different power source, such as a wall outlet instead of a computer.
- Restart iPhone. If you need the button steps, restarting any iPhone model lists them.
- Check the cable and adapter for fraying, breakage, bent prongs or other damage, and try another cable if you have one.
- Make sure the adapter is firmly in a working wall outlet.
- Remove any debris from the charging port (the method above).
- Let it charge for 30 minutes.
- If it still won’t charge, force restart: press and quickly release volume up, press and quickly release volume down, then press and hold the side button until the Apple logo appears.
- Charge for another 30 minutes. If nothing changes, contact Apple Support for service.
Two messages are worth knowing. An alert saying the accessory isn’t supported or certified can come from a dirty or damaged port as well as from the cable itself. And if charging simply stops at 80%, that’s not the port: Apple says Optimized Battery Charging, a warm phone, or the charge limit setting on iPhone 15 and later can cause it.
Charging port cleaning: questions
How often should I clean the charging port?
Apple doesn’t give a schedule, so there’s no need for routine cleaning. Check the port when the cable stops seating fully, charging cuts in and out, or you can see lint.
My iPhone is water-resistant. Can I rinse the port?
No. Splash and water resistance isn’t a reason to put water in the port on purpose. Apple says to keep moisture out of openings, not to charge a wet iPhone, and liquid damage isn’t covered under warranty.
Is the cable or the port more likely to be dirty?
Either can be. Try the cable in another device, or a different cable in your iPhone. If a known-good cable seats and charges, your original cable or its connector was the problem; if no cable seats fully, look at the port.
Can I keep charging while I wait for service?
If your iPhone supports wireless charging, a Qi-certified charger works through the back of the phone and doesn’t use the port. If the phone was wet, Apple says to wait until the back is dry first.
Can I use the same method on the speaker grilles?
No, the speakers have their own advice. Cleaning iPhone speakers safely walks through it.
If the port looks clean and the phone still won’t charge after Apple’s 30-minute checks, book a repair rather than trying a stronger cleaning method.
Matt has been working with WordPress and creating content using this powerful content management system for years. While he has written about many other tech topics, WordPress is one of his favorites.
You can read his full bio here.