Pool water testing and chemistry

Pool Foam: What Causes It and How to Get Rid of It

November 5, 2025  ·  Chemistry  ·  9 min read

Pool foam is one of those problems that looks alarming, confuses homeowners, and has multiple possible causes — which means you need to diagnose before you treat. Slapping a defoamer on a foamy pool without understanding why it is foaming is like putting a bandage on a symptom. The foam comes back, or the underlying problem quietly gets worse.

This guide covers every common cause of pool foam, how to distinguish between them, and how to fix each one permanently.

Why Pools Foam at All

Foam forms when surface tension drops enough that agitation — from jets, waterfalls, swimmers, or even wind — traps air bubbles that do not immediately pop. Clean, properly balanced pool water has high enough surface tension that small bubbles burst almost instantly. When something lowers that surface tension, bubbles persist, cluster, and form the foam you see on the surface.

Three categories of things lower pool water surface tension enough to cause foam:

The Four Most Common Causes

1. Bather Contamination (Body Oils, Sunscreen, Hair Products)

This is the most common cause in residential pools with regular use. Every swimmer introduces oils, lotions, cosmetics, hair products, and body wash residue into the water. These are all surfactant-containing substances. In a well-maintained pool with adequate chlorine, these compounds are oxidized and broken down. In a pool with borderline chlorine, high bather load, or infrequent shocking, they accumulate.

Signs that bather contamination is the culprit:

2. Algaecide Application

Many algaecides — especially polyquat (polyquaternary ammonium) products like BioGuard Backup 2, Biolab Natural Chemistry Poly 60, and similar 30%–60% polyquat formulas — are themselves surfactants. Adding a dose of polyquat algaecide to a pool will reliably create foam, especially if there is already any agitation or waterfall feature running. Copper-based algaecides can also cause foam, though less dramatically.

Tip: Algaecide foam is temporary and self-resolving. If the pool was foamy immediately after you added algaecide and you have not had recent heavy bather load, wait 24–48 hours before intervening. The surfactant dissipates as it binds to algae cells or is filtered out.

3. Low Calcium Hardness

Calcium hardness below 150 ppm — sometimes called "soft" water — is a common, underdiagnosed cause of persistent foam. Calcium ions play a role in water surface tension. When CH is too low, the water is aggressive and the reduced surface tension allows foam to form easily from any agitation.

This type of foam has specific characteristics:

4. Detergent or Soap Contamination

Even small amounts of detergent — from a bathing suit washed with laundry detergent, a piece of equipment cleaned with dish soap that was not rinsed completely, or a child playing with bubble solution near the pool — can cause dramatic, persistent foam. This is the most aggressive type and usually requires active treatment rather than waiting it out.

Warning: Never use household cleaning products to clean pool equipment, toys, or floats that will go back into the pool. Even thorough rinsing often leaves enough surfactant residue to trigger foam. Use only pool-safe equipment cleaner or plain water.

Foam Diagnosis Table

Foam CharacteristicLikely CauseTimeline
Appears within hours of algaecide additionPolyquat or copper algaecideSelf-resolves 24–48 hrs
Worsens after swimmers; slight odorBather contamination (oils/sunscreen)Requires shocking + filtration
Continuous near jets; no odor; clear waterLow calcium hardness (<150 ppm)Resolves when CH raised
Heavy foam, fast onset, large volumeSoap/detergent contaminationRequires active treatment
After rain or water replacementDilution lowering CH + possible TDS shiftTest and treat accordingly
After clarifier additionClarifier/floc is surfactant-basedSelf-resolves 12–24 hrs

How to Fix Pool Foam: By Cause

Fixing Bather Contamination Foam

The goal is to oxidize the accumulated organic compounds and filter out what chlorine cannot break down.

  1. Test combined chlorine (CC). If CC is above 0.3 ppm, perform breakpoint chlorination: raise FC to 10 times the CC reading.
  2. Shock with a non-chlorine shock (potassium monopersulfate, such as Leisure Time Renew or Biolab Oxidizer) if the pool is otherwise well-maintained — these oxidizers work well on body oil without drastically raising FC.
  3. Run filter at maximum flow for 24 hours straight.
  4. If foam persists beyond 24 hours post-shock, use a clarifier to coagulate fine particles and continue filtering.
  5. Consider whether bather hygiene practices need addressing — quick shower before swimming dramatically reduces contamination load.

Fixing Low Calcium Hardness Foam

This is the simplest fix: raise calcium hardness to the 200–400 ppm target range using calcium chloride (CaCl2). Sold as Leslie's Hardness Plus, Clorox Pool Hardness Increaser, or generic calcium chloride at pool supply stores.

Note: Calcium chloride addition raises water temperature temporarily. In warm climates or heated pools, add in the evening to minimize the effect. Always add chemical to water, never water to chemical.

Fixing Detergent/Soap Contamination

Soap contamination is the hardest to resolve because surfactants are difficult to oxidize. The approach:

  1. Apply a defoamer product immediately (Natural Chemistry Pool Magic, Biolab Anti-Foam) — this suppresses foam while you work
  2. Identify and remove the contamination source (remove soapy toys, clothing, or equipment)
  3. Run the filter continuously — surfactants bind to DE media and cartridge filter media well
  4. Perform a heavy shock (10 ppm or above free chlorine) and run filter for 24+ hours
  5. If foam is severe and persistent after 48–72 hours of treatment, partial drain (25–33%) and refill may be the fastest resolution

Algaecide-Caused Foam

In most cases: wait. Polyquat algaecide foam self-resolves as the product is filtered and as it reacts with algae. If you need to use the pool sooner, a defoamer will suppress it temporarily. Avoid adding more algaecide until foam clears — you will just restart the clock.

Using Defoamer: What It Does and Does Not Do

Defoamers (antifoam agents) work by breaking the film of the bubbles that make up foam. They are surfactant-destroying compounds — they essentially attack the very thing creating the foam. Products like Natural Chemistry Pool Magic + Perfect Weekly contain enzymes and defoamers that work on both the immediate foam and the underlying organic compounds.

Important limitations:

Prevention: Keeping Foam from Returning

The best approach to pool foam is preventing the conditions that create it. Key prevention practices:

Track Your Chemistry. Catch Foam Before It Starts.

PoolLens logs every test result so you can spot low calcium hardness, rising CC, and contamination trends before they become visible problems.

Open PoolLens Free →

When Foam Is a Sign of a Bigger Problem

In most residential pools, foam is an annoyance, not a crisis. But in some cases foam signals something that needs faster attention:

PoolLens helps you track parameter trends over time, so you can see if calcium hardness is creeping down, combined chlorine is building up, or TDS is rising to levels where a partial drain-and-refill makes sense.

Frequently Asked Questions

Why is my pool foaming after adding chemicals?
Algaecides — especially copper-based and polyquat products — are the most common cause of post-treatment foam. Clarifiers and floc agents can also foam temporarily. Foam from chemicals typically clears within 24–48 hours. If it persists beyond 48 hours, organic contamination is the likely underlying cause.
Is pool foam dangerous to swim in?
Foam itself is not directly dangerous, but the contamination causing it may be. Foam from high bather load (body oils, sunscreen) paired with low chlorine creates conditions where bacteria can thrive. Test chlorine and pH before swimming in a foamy pool. If chlorine is adequate and foam is from a recent algaecide application, swimming is generally safe.
What is the fastest way to get rid of pool foam?
A defoamer product provides fastest temporary relief — most take effect within minutes. However, defoamer only suppresses foam; it does not fix the root cause. For permanent resolution, identify whether the foam source is organic contamination (shock and filter), algaecide (wait it out), or low calcium hardness (raise CH to 200–400 ppm). Defoamer without root-cause correction means the foam returns.
Can low calcium hardness really cause pool foam?
Yes. Calcium hardness below 150 ppm creates soft water conditions where surface tension drops and agitation easily generates persistent foam. This is especially common in pools that have been diluted heavily or filled with very soft municipal water. Raising CH to the 200–400 ppm target range resolves this type of foam without any other intervention needed.
How do I tell if foam is from algaecide or from contamination?
Timing is the key diagnostic. Algaecide foam appears within hours of adding algaecide and has no odor. Contamination foam (body oils, detergents) develops gradually after bather activity, often has a slightly soapy smell, and the water may look slightly hazy. Algaecide foam self-resolves in 24–48 hours. Contamination foam persists or worsens without treatment.