You dropped your phone in water, or maybe just splashed it, and now it's acting like it's allergic to the charger. The screen says "Moisture detected in USB port" and refuses to charge. Annoying, right? Let's get it fixed.
Step 1: Don't Panic and Don't Plug It In Again
Stop. Unplug the charger. If you keep trying to charge it, you're risking corrosion on the charging pins. I've seen phones come in with green crud on the USB contacts because the owner kept plugging it in. That turns a simple drying job into a soldering job.
Step 2: Shake It Out and Dry the Port
Hold your phone with the charging port facing down and give it a few firm shakes. You're trying to get any loose water out. Then grab a can of compressed air (the kind you use for keyboards) and give the port a couple of short bursts. Don't go crazy—too much pressure can push water deeper.
Next, use a microfiber cloth or a paper towel. Fold it into a point and gently dab the inside of the port. Don't shove it in there. You're just soaking up droplets.
Step 3: The Rice Myth and What Actually Works
Skip the rice. Rice doesn't absorb water from inside a port. It just makes your phone dusty. Instead, use a desiccant pack—those little silica gel packets that come in shoe boxes. If you don't have one, a food dehydrator on low heat (around 100°F) works, but that's overkill for most people.
Here's the real fix: leave the phone in a dry, warm place with good airflow. A windowsill out of direct sunlight works. A fan blowing on it helps. Give it at least 4-6 hours. I know that's a long time, but rushing it is how you end up with a dead phone.
Step 4: Check for Software Glitches
Sometimes the moisture sensor gets stuck. If the port is bone dry and you still get the warning, try a soft reset. Press and hold the power button for 30 seconds. On some Samsungs, you'll need to hold power + volume down. If that doesn't clear it, boot into safe mode (usually power + volume down during boot) and see if the warning goes away. If it does, a third-party app is messing with your charging.
If you're rooted or comfortable with ADB, you can clear the USB port status:
adb shell dumpsys battery reset
That's a temporary workaround, not a fix. The moisture sensor will trip again if there's still water.
Step 5: Try a Different Cable and Charger
This sounds dumb, but I've had clients swear their phone was water damaged when it was just a frayed cable. Try a different USB-C cable and a different power brick. If it charges with one and not the other, you've saved yourself a repair bill.
Why the Moisture Warning Happens
Your phone has tiny sensors in the USB port that detect conductivity. Water conducts electricity, so when it bridges two pins, the phone thinks "uh oh, water" and cuts power to the port. This is a safety feature. Without it, you could short out the charging circuit and fry the motherboard.
The sensor is sensitive. Even high humidity can trigger it. I had a client last month whose phone said moisture detected after a steamy shower. No water damage, just condensation. A few hours in front of a fan fixed it.
Less Common Variations
1. Saltwater or Pool Water
If your phone fell in saltwater or a pool, the salt leaves behind minerals that keep conducting even after the water evaporates. You need to flush the port with distilled water (not tap) and then dry it thoroughly. This is risky because you're adding more liquid, but it's the only way to remove salt. After flushing, use compressed air and let it dry for 24 hours.
2. Sticky Residue or Debris
Sometimes it's not water—it's lint, dust, or sticky junk from a case. Use a wooden toothpick to gently scrape the inside of the port. Be careful not to bend the pins. If you see green or white crust, that's corrosion. You can try cleaning it with isopropyl alcohol (90% or higher) on a cotton swab, but don't soak it.
3. The Sensor Itself Is Faulty
If you've dried it for days and it still won't charge, the moisture sensor might be toast. On some phones, it's part of the charging board. A repair shop can replace that board for $50-$100. Don't try to replace it yourself unless you've done microsoldering.
Prevention
If you're prone to dropping your phone in water, get a waterproof case. But even waterproof phones lose their seal over time. Don't charge your phone in the bathroom while you shower. The steam is enough to trigger the sensor. Also, don't leave your phone in a humid car or near a pool.
If you live in a humid climate, consider a phone with a higher IP rating. IP68 is good, but it's not a guarantee. And if you do get water in the port, act fast. The longer water sits, the more corrosion you get. Dry it, don't charge it, and be patient.
One more thing: never use a hair dryer on hot setting. That heat can damage the screen or battery. Use cool air only.
That's it. Dry it, wait, and try again. If it still won't charge, take it to a shop. Most of the time, it's a simple fix that doesn't cost much.