How to Fix a Leaking AC Drain Line: Clear the Clog and Stop Water Damage
Step-by-step guide to unclogging an AC condensate drain line using a wet vac, bleach flush, and P-trap cleaning — plus how to install a float switch before the next leak.
Water pooling around your indoor air handler, a wet ceiling below an attic AC unit, or a dripping secondary drain outside your house all point to the same problem: a clogged condensate drain line.
Water pooling around your indoor air handler, a wet ceiling below an attic AC unit, or a dripping secondary drain outside your house all point to the same problem: a clogged condensate drain line. Left unaddressed, a backed-up drain pan overflows onto drywall, subfloor, and insulation, turning a simple $0 maintenance task into a costly water-damage repair.
The good news: clearing and maintaining an AC condensate drain is one of the easiest HVAC tasks a homeowner can do. This guide covers diagnosing the problem, clearing the clog with a wet vac and bleach, cleaning the P-trap, checking the secondary drain, and installing a float switch so you never deal with this again.
What You Need
- Shop-Vac 5-Gallon Wet/Dry Vacuum — The fastest and most effective way to pull a clog out of the drain line from the outdoor termination point.
- Rectorseal Condensate Pan Treatment Tablets — Slow-dissolve tablets that prevent algae and biofilm growth in the drain pan. Drop two in after each cleaning.
- AC Drain Line Cleaning Funnel with Cap — Makes pouring bleach or vinegar solution into the access port mess-free.
- Diversitech Float Switch Safety Switch — Mounts in the secondary drain pan and shuts off the system if water rises. A must-have for any air handler in a finished space.
- Clear PVC Flexible Tubing 3/4 inch — Useful for replacing cracked sections of condensate drain near the air handler.
- Orbit Condensate Drain Pan Tablets — An alternative slow-release treatment for the drain pan if you prefer a pill format over liquid flushes.
How the Condensate Drain System Works
Understanding the system makes diagnosis and repair much easier. When warm, humid air passes over the cold evaporator coil inside your air handler, moisture condenses on the coil fins and drips into a drain pan beneath the unit. From there, gravity (or a small condensate pump in installations below the drain outlet) moves that water through a PVC drain line to the outside or into a utility drain.
Most systems include a P-trap — a U-shaped dip in the drain line — that holds water to prevent conditioned air from being siphoned backward through the pipe. A secondary drain pan sits beneath the air handler as a backup, and a separate secondary drain line exits the house at a visible location, typically above a window, so you can see if the primary system is backing up.
The weak point is biological: algae, mold, and a biofilm sludge of dust and spores grow readily in the warm, wet, dark drain pan. Over months, this slime coats the inside of the PVC pipe and eventually forms a plug.
Step 1: Confirm the Diagnosis
Before reaching for the wet vac, confirm the drain line is actually clogged and not something else.
Check the drain pan. Open the air handler access panel (turn off the system at the thermostat first). Look into the drain pan. If you see standing water, the drain is backed up. If the pan is dry but you have water elsewhere, look for a cracked pan, a loose fitting, or a frozen coil.
Check for overflow at the secondary drain. Walk outside and find where the secondary drain line exits the house. If water is dripping from it, the primary drain is definitely clogged — the secondary is doing its job, but you have a small window before the secondary pan fills too.
Find the primary drain line termination. This is usually a 3/4-inch PVC pipe that exits the house near the condenser unit or into a utility sink, floor drain, or washing machine drain. Identifying it now saves time when you attach the wet vac.
Step 2: Vacuum the Clog from the Outlet
Working from the termination end — pulling the clog out rather than pushing it deeper — is almost always faster and more effective.
Turn off the AC system at the thermostat, not just by lowering the setpoint. For attic or closet units, switch off the disconnect box as well.
Seal the wet vac hose to the drain line. Slide the wet vac hose over the end of the drain pipe. Use a rag stuffed around the gap to create a good seal if the hose diameter is larger than the pipe. The better the seal, the stronger the suction.
Run the vac for 2 to 3 minutes. Let the full suction pull on the line continuously. You’ll often hear a gurgling sound as the clog breaks loose, followed by a rush of dirty water into the vac tank.
Check what came out. Dump the vac tank and look at what you pulled out. Gray-green slime with a musty smell is algae biofilm — the usual suspect. Brown gritty sediment indicates minerals from hard water or debris from the coil. Either is normal; the vac has done its job.
Step 3: Flush with Bleach Solution
Vacuuming removes the clog but doesn’t kill the algae colonies clinging to the pipe walls. A bleach flush handles that.
Locate the drain line access port. Most systems have a T-shaped cleanout fitting or a capped access port near the air handler, usually within 6 inches of where the pipe leaves the unit. Remove the cap.
Mix the flush solution. Combine 1 cup of household bleach with 1 gallon of water. This 1:16 dilution is strong enough to kill algae without damaging PVC or the drain pan’s seams.
Pour slowly. Use the cleaning funnel or a small pitcher and pour the solution into the access port steadily. Watch for it to flow freely — if it backs up immediately, the line is still partially clogged and you need another vacuum pass.
Wait 30 minutes. Let the bleach solution sit in the line and pan to kill residual growth.
Flush with plain water. Follow up with a gallon of plain water to rinse the bleach out of the line and prevent corrosion on any metal fittings.
Drop in treatment tablets. Place two condensate pan treatment tablets in the drain pan. These dissolve slowly over 30 to 90 days and continuously suppress algae growth between service intervals.
Step 4: Clean or Install the P-Trap
The P-trap is essential for proper drain function but is also a spot where sludge accumulates and stagnant water breeds bacteria. Inspect it any time you service the drain.
Find the P-trap. It’s the U-shaped section of PVC below the air handler, usually within the first 12 inches of drain pipe. It should always contain a small amount of water — that water seal is what blocks airflow.
Remove and clean it. Most condensate P-traps are glued but some use slip couplings. If yours has slip couplings, unscrew both ends, remove the trap, and rinse it out in a utility sink. For glued traps, pour the bleach flush through the access port slowly and let it pool in the trap for the full 30 minutes.
Check that the trap is the right depth. The P-trap water column must be at least 1 inch deep to overcome the negative air pressure inside the air handler. Many builders install traps that are too shallow. The standard rule: the trap should be at least 2 inches deep for residential systems. If yours is shallow or missing, cut it out and glue in a proper deep trap with the bleach flush as a guide.
No P-trap? If your drain line runs straight from the pan into the wall without a trap, add one. Without it, the air handler’s negative pressure will siphon water out of the pan and pull humid unconditioned air (and odors) backward through the drain pipe.
Step 5: Inspect the Secondary Drain Pan and Line
The secondary drain pan catches any overflow from the primary pan. It deserves the same attention.
Check for standing water. Water in the secondary pan means the primary backed up recently. Dry it out with towels or a sponge.
Inspect the secondary drain line. It should be clear and unobstructed all the way to its outdoor termination. Shine a flashlight down the pipe from the access port side. Look for sagging sections where water could pool.
Confirm slope. Condensate drain lines must slope at least 1/8 inch per foot toward the outlet. A line that sags or runs level will hold standing water and clog faster. If you see a belly in the line, support it with additional pipe straps to restore the slope.
Step 6: Install a Float Switch
A float switch is cheap insurance against future damage. It consists of a buoyant float on a wire probe; when water in the drain pan rises above the probe height, the float closes a circuit that interrupts the signal from the thermostat to the compressor, shutting down the system before the pan overflows.
Choose the right type. Secondary-pan float switches (also called “wet switches”) mount directly in the secondary drain pan on a small bracket and connect in series with the 24V control wiring. Primary-pan switches mount in the main drain pan and typically connect to the condensate pump or the drain line itself. For most residential installs, the secondary-pan type is the easiest.
Turn off power to the air handler at the disconnect box.
Run the switch wires to the control board. Open the air handler access panel and locate the thermostat wiring terminal strip. The float switch connects in series with the yellow (Y) compressor wire — one wire goes to the Y terminal, the other to the float switch, and the float switch’s other wire goes where the Y wire originally terminated. This creates a circuit: if the float rises, the circuit opens, and the compressor stops.
Mount the float in the secondary pan. Position it so it triggers about 1/2 inch above the pan bottom — before water rises high enough to overflow.
Test it. Pour water into the secondary pan until it reaches the float probe. The thermostat should stop calling for cooling and the compressor should shut off within 30 seconds. Drain the pan and the system should restart normally.
Preventive Maintenance Schedule
The best drain line fix is preventing the next clog. Follow this schedule:
- Monthly (humid climates or year-round AC): Pour 1/4 cup of bleach followed by 1 cup of water into the drain line access port.
- Quarterly (moderate climates): Same bleach flush; replace condensate pan tablets.
- Annually: Full wet-vac pull from the outlet, P-trap inspection, slope check, float switch test.
Change your HVAC filter on the same schedule. A clean filter dramatically reduces the dust and debris that wash into the drain pan.
Troubleshooting: When the Clog Won’t Clear
If vacuuming and flushing don’t restore free flow, the clog may be further down the line or may have hardened.
Try a drain snake. A 25-foot hand snake fed from the access port can break up a stubborn plug that the vac can’t pull free. This is more common in older homes where the drain ties into a plumbing stack and debris has accumulated at a transition fitting.
Check for a disconnected joint. Sometimes the drain line isn’t clogged — it’s disconnected at a glued joint that failed. Run your hand along the drain line looking for wet spots on the outside of the pipe.
Call an HVAC tech for blocked condensate pumps. If your system uses a pump to lift condensate to a higher drain point, the pump impeller may be fouled. Pump replacement is a 30-minute job but requires matching the pump’s lift capacity to your system.
Related Reading
- How to Replace a Smart Thermostat — Upgrade your HVAC controls while you’re already working on the system.
- How to Fix a Running Toilet — Another common water-waste problem with a simple DIY solution.
- Home Maintenance Checklist by Season — Full seasonal task list that includes HVAC drain line service.
- Confirm the Diagnosis
Before reaching for the wet vac, confirm the drain line is actually clogged and not something else.
- Vacuum the Clog from the Outlet
Working from the termination end — pulling the clog out rather than pushing it deeper — is almost always faster and more effective.
- Flush with Bleach Solution
Vacuuming removes the clog but doesn't kill the algae colonies clinging to the pipe walls. A bleach flush handles that.
- Clean or Install the P-Trap
The P-trap is essential for proper drain function but is also a spot where sludge accumulates and stagnant water breeds bacteria. Inspect it any time you service the drain.
- Inspect the Secondary Drain Pan and Line
The secondary drain pan catches any overflow from the primary pan. It deserves the same attention.
- Install a Float Switch
A float switch is cheap insurance against future damage. It consists of a buoyant float on a wire probe; when water in the drain pan rises above the probe height, the float closes a circuit that interrupts the signal from the thermostat to the compre...
Free: 10-Point Home Maintenance Checklist
Prevent costly repairs with this seasonal checklist. Save hundreds every year by catching problems early.
Your checklist is ready!
Open Checklist →Something went wrong. View the checklist here.