Foam or bubbles on your aquarium's surface usually come from a buildup of dissolved proteins, often linked to overfeeding or excess waste. A partial water change plus more surface agitation clears it, and cutting back feeding slightly helps prevent it from returning.

Why is there foam on top of my fish tank?

Dissolved proteins from uneaten food and organic waste build up in the water and get whipped into foam wherever the surface is disturbed, similar to how soap-free water can still foam with enough dissolved organic matter. Low surface agitation lets that foam accumulate instead of breaking apart naturally, which is why it's often worse in tanks with weak filter flow.

Is foam on the water harmful?

Not directly, but it's a sign that organic waste is building up faster than it's being processed — worth addressing rather than ignoring, since the same conditions that cause foam can also lead to an ammonia spike if left unchecked.

How to get rid of surface foam

  1. Do a partial water change to remove the dissolved proteins causing the foam.
  2. Increase surface agitation with an air stone or by adjusting filter flow.
  3. Cut back feeding slightly, and remove any uneaten food promptly.
  4. Skim visible foam off the surface with a net while addressing the underlying cause.

Foam vs. other surface issues

What you're seeingLikely cause
White foam or bubbles, otherwise clear waterDissolved protein buildup
Oily film or sheenUsually excess waste too — same fix as foam
Cloudy/hazy water alongside foamBacterial bloom — see the cloudy water guide

Not sure that's what's going on? Run the 2-minute water diagnosis to narrow it down, or see the full surface foam guide for step-by-step fixes.