What causes foam in a pool?
Foam forms when a surfactant lowers the water's surface tension, so air pulled in by the returns, a waterfall, or spa jets stacks into bubbles instead of popping. Plain, balanced water does not foam no matter how much you agitate it, so persistent foam always points to something dissolved in the water, not to the pump.
The most common culprit is a cheap quaternary ammonium (quat) algaecide. These foam badly, especially if you overdose them or add them right before the pump kicks on, and the low-cost bottles labeled around 10 percent are the worst offenders. The pricier PolyQuat 60 formulas foam far less, which is one reason they cost more. Body products are the next cause: sunscreen, tanning oil, hair products, and detergent left in swimsuits all act as surfactants, so a busy pool weekend can foam a pool that was fine on Friday.
The third driver is low calcium hardness. Soft water foams more easily than hard water, so a pool sitting well under range is primed to foam the moment any surfactant shows up. If you have recently drained and refilled with soft or reverse-osmosis water, or you run a vinyl or fiberglass pool at the low end on purpose, watch the calcium hardness reading before you blame anything else.
How do you get rid of pool foam fast?
Work in this order. First, stop adding algaecide, since more of it only makes more foam. Second, run the filter so the water keeps turning over. Third, if you need the surface clear right now, add a pool defoamer (also sold as antifoam); it is a silicone-based product that breaks the bubbles down in minutes.
Understand what the defoamer does and does not do. It clears the foam you can see, but it does not remove the surfactant that caused it, so the foam comes back the next time the water is agitated until you deal with the source. Treat it as a quick cosmetic fix before a pool party, not the cure.
The real fix for algaecide or body-product foam is dilution: a partial drain and refill removes the surfactant along with the water it is dissolved in. Use the pool volume calculator to work out how many gallons a partial swap removes, and follow the cautions in the draining guide so you never take out more than you need.
Does low calcium hardness cause pool foam?
Yes. Soft water, meaning water low in calcium, foams far more readily than hard water, so low calcium hardness is one of the most overlooked causes of a foaming pool. If your foam showed up after a big drain-and-refill, or after switching to a water source that is naturally soft, test hardness first because it is often the whole answer.
Aim for 200 to 400 ppm in a plaster or concrete pool and 150 to 250 ppm in a vinyl or fiberglass pool. Raise a low reading with calcium chloride, added in stages with the pump running, and retest before adding more; the calcium hardness calculator works out how much you need for your volume. Do not guess the dose, and never dump it all at once.
Getting hardness back into range does double duty: it stops the foam and it protects a plaster surface from the etching that soft, aggressive water causes. If your problem is the opposite and hardness is too high, the lower calcium hardness guide covers that, and either way you can sanity-check the full picture against ideal chemistry levels.
Will shock or clarifier get rid of foam?
Shock helps when the foam is from organic surfactants like body oils, lotions, and sweat, because chlorine oxidizes those over time. It will not touch foam caused by algaecide or by low calcium hardness, so reach for shock only when a crowd and a lot of sunscreen are the likely source. The how to shock a pool guide covers when and how, and the pool shock calculator sizes the dose.
A clarifier or flocculant will not clear foam. Those products gather suspended particles so the filter can catch them or so you can vacuum them off the floor; foam is bubbles held up by surface tension, which is a different problem, and the clarifier vs flocculant comparison explains what each one actually does. Adding either to a foaming pool just wastes product.
Enzymes are the one chemical worth trying beyond shock. A pool enzyme product breaks down the oils and organic waste that cause foam and scum lines, so if your pool foams from heavy swimmer use rather than algaecide, enzymes plus a defoamer for the immediate surface will clear it and help keep it clear.
How do you stop pool foam from coming back?
Fix the source and it stays gone. If a quat algaecide caused it, either dose it correctly and only when you actually need it, or switch to a non-foaming PolyQuat 60 product, or skip algaecide altogether and let steady chlorine do the work. Most balanced pools do not need routine algaecide at all; the how to get rid of pool algae guide covers when it is worth using.
Cut the body-product load too. Ask swimmers to rinse off before getting in, rinse or wash swimsuits with plain water (detergent residue foams), and go easy on tanning oils. None of that is dramatic, but together it keeps surfactants out of the water so the foam never gets a foothold.
Finally, keep calcium hardness in range and keep the water balanced generally. A pool that holds its numbers, gets skimmed, and runs its filter on a sensible schedule almost never foams; the pool maintenance schedule lays out the routine. If your spa is the thing foaming, the causes overlap but the fixes differ slightly, so see why is my hot tub foaming.
Is foam in a pool dangerous?
The foam itself is not dangerous to swim in, but it is a signal worth reading. It tells you the water chemistry is off or the organic load is high, and neither is something to leave unaddressed even if the water looks otherwise clear.
One case does deserve a closer look. If the foam followed a metallic or copper-based algaecide, the same overdose that foamed the water can stain surfaces and tint blond hair green as copper drops out of solution, so treat heavy foam from that kind of product as a reason to dilute promptly. The how to remove pool stains guide covers metal stains if you already see them.
So do not panic over a little foam, but do not ignore it either. Track down which of the three causes fits your situation, clear it, and the water goes back to popping its bubbles the way balanced water should.
Frequently asked questions
What causes foam in a pool?
A surfactant in the water lowering its surface tension so agitated air forms lasting bubbles. The three usual sources are a cheap quaternary ammonium (quat) algaecide, especially when overdosed; body products like sunscreen, oils, and detergent from swimsuits; and low calcium hardness, since soft water foams more easily than hard water. Plain balanced water does not foam no matter how much the pump churns it.
How do I get rid of foam in my pool fast?
Stop adding algaecide, run the filter, and add a pool defoamer to clear the surface in minutes. The defoamer is only a cosmetic fix, though; it does not remove what caused the foam. For a lasting fix, dilute the water with a partial drain and refill to remove the surfactant, and correct calcium hardness if it is low.
Does low calcium hardness make a pool foam?
Yes. Soft water low in calcium foams far more readily than hard water, so low calcium hardness is a common and overlooked cause, especially after a drain-and-refill with soft or reverse-osmosis water. Raise hardness back to 200 to 400 ppm for plaster or 150 to 250 ppm for vinyl and fiberglass with calcium chloride, added in stages, and the foam usually stops.
Will shock get rid of pool foam?
Only when the foam is from organic surfactants like body oils, lotions, and sweat, which chlorine oxidizes over time. Shock does nothing for foam caused by algaecide or by low calcium hardness. A clarifier or flocculant will not clear foam either, since those target suspended particles, not bubbles. Enzymes are worth trying for foam from heavy swimmer use.
Is pool foam dangerous to swim in?
The foam itself is not dangerous, but it signals that the chemistry is off or the organic load is high, so it is worth fixing rather than ignoring. The one caution is foam that followed a copper or metallic algaecide, because the same overdose can stain surfaces and tint blond hair green; dilute that promptly.