You plug your phone in and, instead of the usual charging chime, you get a warning: “Liquid Detected in Lightning Connector”, “Charging Not Available” or, on a Samsung Galaxy, a water drop icon with “Moisture has been detected”. The phone refuses to charge over the cable, and if the battery is already low, that can feel like an emergency.
The good news is that this alert is a safety feature, not a sign that your phone is broken. It is there to stop the metal pins in the port from corroding while they are wet. In most cases, the fix is simply patience and the right way to dry the port. This guide explains what the warning means, how to clear it safely on iPhone and Android, and what to do if it keeps coming back when the phone is clearly dry.

Table of Contents
What the liquid detected warning means
Modern phones can sense when there is moisture between the pins of the charging port, or on the plug of the cable you just connected. When they do, they block wired charging and most wired accessories until the connection is dry. Charging a wet port is risky because the small electric current speeds up corrosion. Over time, that can leave the pins green or black, make the connection loose or unreliable, and in bad cases stop the port from working at all.
On iPhone XS, XS Max, XR and later models, Apple shows one of these alerts:
- Charging Not Available when you connect a Lightning charger and liquid is detected.
- Liquid Detected in Lightning Connector or Liquid Detected in USB-C Connector when an accessory or charger is connected.
On Samsung Galaxy phones and many other Android phones with an IP67 or IP68 water rating, you will see a water drop icon or a message such as “Moisture has been detected. Unplug the charger and wait until both the charger and USB port are dry.”
The warning does not always mean the phone was dropped in water. Rain, a splash at the sink, a sweaty pocket at the gym, steam from a hot shower or simply high humidity can leave enough moisture in the port to trigger it. A damp cable plug can set it off too, even when the phone itself is dry.

What to do right away
As soon as you see the alert, take these steps:
- Unplug the cable from the phone, and unplug the other end from the charger or accessory.
- Wipe the outside of the phone with a soft, dry, lint-free cloth. Pay attention to the bottom edge around the port and the speaker grill.
- Remove the case if it has one. Water often sits trapped between the case and the phone, right next to the port.
- Tap the phone gently against your palm with the charging port facing down. Samsung suggests a few light shakes, five to ten, with the port pointing at the floor. Do not use force.
- Leave it somewhere dry with some airflow. A table near an open window or in front of a fan on a cool setting works well.
Keep using the phone normally if you need to. The alert only blocks wired charging and wired accessories, not calls, apps or Wi-Fi.
How long does it take for the charging port to dry?
Apple suggests waiting at least 30 minutes, then trying to charge again. If the alert comes back, there is still liquid in the connector or under the pins of the cable. In that case, leave the phone in a dry place with airflow and try again from time to time. It can take up to 24 hours for a port to dry fully.
In practice, a light splash or humidity usually clears within an hour or two. A phone that was fully dunked in a pool, a sink or the sea can take most of a day, because water hides deep inside the port and behind the speaker mesh next to it.
Tip: try a different, completely dry cable before deciding the phone is still wet. If one cable always triggers the warning and another does not, the problem may be the cable plug.
Can you charge your phone while you wait?
Yes, if your phone supports wireless charging. Both Apple and Samsung say a wireless charger can still be used while the port dries. Make sure the back of the phone is dry before you place it on the pad, and check it is lined up properly so it charges.
iPhones also offer an Emergency Override when you reconnect a cable after the alert. It is there for genuine emergencies, such as needing to make a call with a nearly flat battery. Use it only if you really must, because it means charging through a wet port, which is exactly what the warning is designed to prevent.

What not to do
Most of the damage after a liquid alert is caused by well-meant quick fixes. Avoid these:
- Don’t use heat. A hair dryer, heater, oven or radiator can warp parts, damage the battery and weaken the seals that keep water out next time.
- Don’t use compressed air. Apple specifically advises against it, because it can push water deeper into the phone.
- Don’t poke anything into the port. Cotton swabs and paper towel leave fibres behind, and metal pins or SIM tools can bend or short the contacts.
- Don’t put the phone in rice. Rice does not dry a port faster than open air, and rice dust and starch can end up inside the connector. Apple warns against it too.
- Don’t keep plugging the cable in to test it. Give it time between attempts.
Clear water from the speaker next to the port
On most phones, the main loudspeaker sits on the bottom edge, right beside the charging port. If water got into the port, there is a good chance some is trapped in the speaker mesh too. You will notice it as quiet, muffled or crackly sound.
While the port is drying, you can clear the speaker with the free Fix My Speaker tool. Open it in your browser, turn the media volume up, hold the phone with the speaker facing down and run the Water Eject mode. The low-frequency tone makes the speaker cone move and pushes droplets out through the grill. It works on the speaker only and does not dry the charging port, so keep following the drying steps above. Our guides to getting water out of an iPhone speaker and removing water from a Samsung or Android speaker walk through this step by step.
If the alert won’t go away when the phone is dry
Sometimes the warning sticks around even after a full day of drying. Work through these checks in order:
Restart the phone
A restart clears temporary glitches in the charging system. Samsung recommends restarting once the phone is completely dry, then checking whether the water drop icon disappears.
Clear the USB Settings cache on Samsung
If a Galaxy phone is dry but still shows the water drop, Samsung suggests clearing the USB cache. Go to Settings > Apps, tap the filter and sort icon, turn on Show system apps, then open USB Settings > Storage > Clear cache. Restart and try charging again. Menu names can vary a little by model and software version.
Check the port and cable for dirt or damage
Lint, sand and pocket fluff can hold moisture inside the port for a long time, and old residue from sugary or salty liquids can confuse the sensor. Shine a torch into the port and look for packed debris, a green or white crust, or bent pins. Gentle cleaning with a dry, soft brush is fine. For packed dirt, follow our guide on cleaning dust from a phone speaker grill safely, which uses the same no-pins approach. Also inspect the cable plug, and try another known-good cable and charger.
When to get it checked
If the alert appears with every cable and accessory you try, and the phone has had at least a day to dry, the port itself may be damaged or corroded. Apple recommends contacting the maker of a cable or accessory that always triggers the alert, and getting the iPhone serviced if it happens with every Apple cable. The same logic applies to Android phones. A repair shop can clean a corroded port or replace the charging board, which is usually far cheaper than a new phone. See when to take your phone to a repair shop for what to ask.
How to avoid the warning next time
- Keep the phone in a pocket or bag in the rain, and away from the sink and bath.
- After swimming, a shower or the beach, dry the bottom edge and let the port air out before you plug in.
- If the phone meets salt water or a pool, follow your phone maker’s advice for rinsing off residue, then dry it fully.
- Remember that water resistance is not permanent. Seals wear with age, drops and heat, so an older phone may let water in more easily than it did when new.
Frequently asked questions
Is it safe to use my phone when it says liquid detected?
Yes. The alert only blocks wired charging and wired accessories. You can keep using the phone for calls, apps and wireless charging while the port dries. Just avoid plugging in a cable until the warning clears.
Why does my phone say liquid detected when it is not wet?
Humidity, steam, sweat or a damp cable plug can all trigger it. Dirt or residue in the port can hold moisture too. Try another dry cable, restart the phone, and on Samsung clear the USB Settings cache. If it happens with every cable, have the port checked.
Does putting a phone in rice help the liquid detected warning?
No. Open air with some airflow dries the port just as well, and rice can leave dust and starch inside the connector. Apple specifically advises against using rice.
Should I use the emergency override to charge?
Only in a real emergency. The override lets an iPhone charge through a wet port, which risks corroding the pins. If you can, use a wireless charger or wait until the alert clears instead.
