Cyanobacteria in your aquarium: the blue-green slime and what to do
That dark blue-green film that peels off in sheets is cyanobacteria, a photosynthetic bacterium, not an algae. It is more common in new tanks. Siphon it out first, then test nitrate and phosphate and fix what is out of balance.
How to spot it
- A slimy film, dark green-blue to black, sometimes with a purple tinge, on plants, decor and substrate
- An earthy, rotting smell above the tank
- It comes off in sheets when you touch it or siphon it
- Often starts in corners and spots with little flow
- A mat over the substrate instead of small patches
Why it happens
- Nitrate at zero with phosphate high — This is the pattern that keeps showing up: there is phosphate around but almost no nitrate, and cyanobacteria take what the plants leave behind.
- Dead spots and still water — Without flow, mulm and organic matter settle in one place. That is where the film gets a foothold.
- Too much food and too much organic waste — Leftover food and rotting debris feed the bacteria and push the nutrient balance further off.
- Long light hours, warm water and low oxygen — These conditions favour it, and they usually come together in a tank with little surface movement.
- A new tank with nothing competing for nutrients — In the start-up phase the microflora is not settled and plants are not taking up nutrients yet, so it gets an easy run.
- Nobody is completely sure — One source says plainly that the exact cause is not known; nitrate, flow and organics are the practical things you can act on.
What to do now
- Siphon out every patch you can see and clean the mulm off the substrate — The film lifts off easily, and taking it out removes both the bacteria and the waste they are sitting in.
- Add flow and get rid of dead corners — Moving water stops debris from piling up, and debris is what keeps the problem coming back.
- Test nitrate and phosphate, then rebalance — If nitrate reads zero, adding nitrate (potassium nitrate) is what the sources suggest; one guide aims at around 5 ppm.
- Do a big water change — It dilutes dissolved organics and nutrients and removes cells floating in the water.
- For a heavy outbreak, a blackout — Strip the visible patches, do a water change of at least 80%, add an air stone, switch CO2 off, cover the tank and keep the lights off. The published recipe runs 7 days, with a change of at least 50% after 3-4 days if the tank was badly infested, and changes of 90% on two days at the end.
- Spot-treat leftovers with hydrogen peroxide — It hits the patches on decor and hard surfaces directly instead of treating the whole tank.
What not to do
- Let nitrate sit at zero — Low nitrate is the one reading that keeps turning up where cyanobacteria take over.
- Overfeed, or feed heavily during a blackout — Extra food means extra organic waste, and that is what feeds it.
- Leave corners without flow — Detritus collects there and the film gets its start.
- Keep CO2 running during a blackout — The blackout recipe asks for an air stone and CO2 off; with the lights out you want oxygen, not CO2.
- Reach for antibiotics or an off-the-shelf algaecide first — Standard algaecides often fail on it and only treat the symptom. Antibiotic remedies can also harm the filter bacteria, so they are not a beginner fix.
How to stop it coming back
- Test nitrate now and then and keep it detectable, not at zero
- Feed less and siphon mulm out of the substrate
- Keep flow moving through the whole tank, no dead corners
- Keep up big regular water changes
- Plant more so the plants take up nutrients before the bacteria do
Stop it happening again
Ondaqua tells you which fish suit your water, how many fit your tank, and reminds you about water changes and tests. Free, no sign-up.
Check my tank →Frequently asked questions
Is blue-green algae really an algae?
No, it is a photosynthetic bacterium. The ones you usually see in a tank are Oscillatoria, Anabaena, Microcystis and Nostoc.
Do snails or fish eat cyanobacteria?
None of the sources names a reliable eater. Fixing nitrate, flow and waste is what does the job.
Will an algaecide get rid of it?
Usually not. Standard algaecides often fail on it, and they only hit the symptom; the nitrate, flow and organic waste behind it stay the same.
Similar problems
- Brown algae in your aquarium: diatoms and what to do
- Green spot algae: hard green dots on the glass
- Hair and thread algae in your aquarium: what they are and how to get rid of them
- Black beard algae: why it shows up and how to get rid of it
- Staghorn algae: what it is and how to get rid of it
- Green dust algae: the green film on your glass
Sources: Aquasabi Aquascaping Wiki (EN) · Flowgrow «Algenratgeber» (DE) + thread «Endgegner Pinselalgen» · Greater Washington Aquatic Plant Assoc. «Algae in the Planted Aquarium» · AquariumSource «12 Types Of Aquarium Algae» · Aquarium Co-Op «How to Fight the 6 Most Common Types of Algae» · Wikipedia «Freshwater aquarium algae» · Dennerle guida «Algenprobleme im Aquarium» · 2HR Aquarist (pagina cianobatteri). Updated 13 November 2026.