Start with the cable and power adapter
The problem is usually not your phone — it is the cable, the adapter, or the wall outlet. Before you assume your phone's battery or charging port is damaged, test each part separately.
First, try a different cable and adapter. If you have another phone in your house, borrow its charger and see if yours charges with it. If your phone charges with a different cable and adapter, you have found the culprit. Replace the broken cable or adapter; they are cheaper than a phone repair.
If you do not have another charger to test, try plugging your current adapter into a different wall outlet. Some outlets stop working because of a tripped circuit breaker or a failed outlet itself. If your phone charges in a different room, the outlet is the problem — call an electrician or have the outlet replaced.
Key Takeaways
- Test your phone with a different cable and adapter before assuming the phone itself is broken.
- Lint, dust, or corrosion inside the charging port can block the connection — clean it gently with a dry cotton swab or soft brush.
- If your phone charges only when held at a specific angle, the charging port is likely damaged and needs professional repair.
- Restart your phone in Safe Mode to rule out a software problem that is blocking charging.
- If nothing works, contact the phone manufacturer or a repair shop — the battery or charging circuit may have failed.
Clean the charging port
Lint, dust, and corrosion build up inside your phone's charging port over time. This buildup blocks the metal contacts from touching the charger pins, so power cannot flow even when the cable is plugged in.
Turn off your phone completely. Use a dry cotton swab or a soft-bristled toothbrush to gently brush inside the charging port. Do not use water, compressed air, or metal objects — water can damage the phone, compressed air can push debris deeper, and metal can scratch the contacts and cause short circuits.
If you see green or white corrosion on the metal contacts inside the port, the phone has been exposed to moisture. Let the phone dry in a warm, dry place for 24 to 48 hours before trying to charge it again. Do not use a hair dryer or oven — heat can damage the battery and other components.
Check if the phone charges at an angle
If your phone only charges when you hold the cable at a specific angle or bend it a certain way, the charging port is damaged. The port's internal contacts are worn or misaligned, so they only make contact when the cable is positioned just right.
This problem gets worse over time. The port will eventually fail completely, and the phone will not charge at all. You will need to have the charging port replaced by a repair shop or the phone manufacturer. This repair usually costs between $50 and $150, depending on the phone model and the repair shop.
In the meantime, you can extend the phone's usable life by using a wireless charger if your phone supports it. Wireless charging does not use the charging port, so it will work even if the port is damaged.
Restart your phone in Safe Mode
Sometimes a software problem or a misbehaving app blocks the charging system. Restarting your phone in Safe Mode disables all third-party apps and runs only the system software, which tells you whether an app is the cause.
To restart in Safe Mode on Android, press and hold the power button until the power menu appears. Press and hold "Power off" until a "Safe Mode" option appears, then tap it. On iPhone, there is no built-in Safe Mode, but you can force restart the phone: press and quickly release the volume-up button, press and quickly release the volume-down button, then press and hold the side button until the Apple logo appears.
Once the phone restarts, try charging it. If it charges in Safe Mode, an app is interfering with the charging system. Restart normally and uninstall recently installed apps one at a time until charging works again.
Check the battery health on Android
Android does not have a built-in battery health tool like iPhone does, but you can access hidden diagnostic information. Dial *#*#4636#*#* on your phone's keypad — this opens the Testing menu without installing anything.
Tap "Battery information" and look at the "Health" field. If it says "Good" or "Excellent", the battery is fine. If it says "Poor" or "Unknown", the battery may be failing and needs replacement.
Not all phones support this code. If nothing happens when you dial it, your phone does not have this feature. In that case, contact the phone manufacturer or a repair shop to have the battery tested.
Check the battery health on iPhone
iPhone shows battery health in the Settings app. Open Settings, go to Battery, then Battery Health & Charging. Look at the "Maximum Capacity" percentage — this tells you how much charge your battery can hold compared to when it was new.
If the percentage is above 80%, your battery is healthy. If it is below 80%, the battery has degraded and may not hold a charge as long as it used to, but it should still charge normally. If the percentage is very low (below 50%) and your phone will not charge at all, the battery may have failed completely.
Also check the "Charging Optimization" setting. If it is turned on, iPhone may delay charging to 80% to extend battery life. This is normal and not a problem — your phone will charge to 100% when you need it.
When to contact the manufacturer or a repair shop
If you have tested a different cable and adapter, cleaned the charging port, restarted in Safe Mode, and checked the battery health, and your phone still will not charge, the problem is inside the phone itself. The charging circuit, the battery, or the charging port needs professional repair or replacement.
Contact the phone manufacturer first — they may offer a warranty repair or replacement if your phone is still under warranty. If your phone is out of warranty, a third-party repair shop is usually cheaper than the manufacturer. Search for "[your phone model] repair near me" to find local shops, and call at least two to compare prices before committing.
Before you take the phone in, back up your data if you can. Some repairs require the phone to be opened, and there is a small risk of data loss. If your phone will not turn on at all, the repair shop can usually recover your data, but it costs extra.
Frequently Asked Questions
Can I use any USB cable to charge my phone?
Not all cables work with all phones. iPhones use Lightning or USB-C cables depending on the model. Android phones use USB-C, Micro-USB, or proprietary connectors. A cable designed for a different phone may not fit or may charge very slowly. Check your phone's manual or the manufacturer's website to find the correct cable type.
Is it safe to charge my phone overnight?
Modern phones are designed to stop charging once the battery reaches 100%, so leaving it plugged in overnight will not overcharge the battery. However, keeping the battery at 100% for long periods can slightly reduce its lifespan over years of use. If you charge overnight regularly, iPhone's Optimized Battery Charging feature can help — it learns your charging habits and delays charging to 80% until you need the phone.
Why does my phone get hot while charging?
Some heat during charging is normal, especially with fast chargers. If the phone is warm but not too hot to touch, it is fine. If it is too hot to hold, stop charging immediately and let it cool down. Extreme heat can damage the battery and other components. If the phone gets hot every time you charge it, the charger, cable, or battery may be faulty.
Will a wireless charger work if my charging port is broken?
Yes, if your phone supports wireless charging. Wireless chargers do not use the charging port — they use electromagnetic induction to transfer power through the back of the phone. Not all phones support wireless charging, so check your phone's manual or the manufacturer's website first.
How long does it take to repair a charging port?
A charging port replacement usually takes one to three hours at a repair shop, depending on how busy they are. Some shops can do it the same day if you drop it off in the morning. Mail-in repairs from the manufacturer typically take one to two weeks plus shipping time.