Cyanobacteria (blue-green algae) in a planted tank: causes and control

Published October 15, 2026Not yet reviewed by the editor6 sources

Short answer

The slimy, dark blue-green mats called blue-green algae are cyanobacteria [2]: photosynthetic bacteria, not algae [1]. Aquasabi links outbreaks in planted tanks to high phosphate, sometimes with too little nitrate, and to an unsettled biofilm in new tanks [1]; Tropica links them to heavy feeding [3]. Siphon small patches, cut feeding, and for a large outbreak use a blackout [1, 5].

A bacterium that looks like an alga

What aquarists call blue-green algae, smear algae or slime algae is not an alga at all. Cyanobacteria are bacteria: their cells have no true nucleus, but like plants they photosynthesize [1]. The US Environmental Protection Agency describes them as photosynthetic organisms common in fresh, brackish and marine water, many of which can fix nitrogen from the atmosphere [2].

In a planted tank they show up as dark green, blue-green or almost black coats on leaves, decoration and substrate. The coats feel slimy, lift off in sheets, and have a pungent, earthy or foul smell; the filamentous genus Oscillatoria is a frequent culprit [1]. Aquasabi notes that small populations, for example along the line where substrate meets the front glass, are normal and no cause for concern [1].

Why it appears

The sources name three drivers:

  • Feeding. Tropica says the blue-black coatings formed by blue-green algae usually appear only with excessive feeding, and that feeding less usually makes them disappear [3]. Its general advice names overfeeding, or too many fish, as the number one cause of algae problems [4].
  • Phosphate high, nitrate low. Aquasabi reports that outbreaks in planted tanks were often linked to a highly elevated phosphate level, sometimes combined with a nitrate deficiency [1]. Our reading of why (an inference, not a sourced finding): nitrogen-fixing cyanobacteria can make their own nitrogen from air [2], so a tank short of nitrate but rich in phosphate removes the advantage plants and true algae would otherwise have.
  • A young biofilm. Aquasabi also sees outbreaks during the cycling phase, when the other microorganisms that compete for nutrients are not yet established [1].

Aquasabi’s suggested nutrient targets for a fertilized planted tank are about 20–30 mg/L CO2, 10–25 mg/L nitrate, 5–10 mg/L potassium, 0.1–1 mg/L phosphate and more than 10 mg/L magnesium, with roughly 50 % of the water changed each week [1]. The nitrogen, phosphorus and potassium guide puts those numbers next to the EI and PPS-Pro ranges.

What to do

  1. Remove it. Cyanobacteria do not attach firmly, so small patches siphon off easily [1].
  2. Cut feeding and change water. Tropica’s own remedy is less intense feeding [3]; water changes are, in its words, one of the most efficient measures against algae because they stop surplus nutrients accumulating [4].
  3. Correct a nitrate gap. If you test and find phosphate high and nitrate near zero, raise nitrate rather than adding more of everything. The fertilizer dosing calculator gives the grams of potassium nitrate for a target.
  4. Black out a large outbreak. Aquasabi recommends a blackout for heavier infestations [1]: complete darkness for several days with aeration, CO2 and fertilizer off, and a large water change afterward [5]. A blackout removes the growth, not the cause [5].

Aquasabi also mentions algicides and hydrogen peroxide treatments as first aid [1]. This site does not cover chemical treatments; if you use one, follow the product label.

The potassium treatment, in numbers

Aquasabi describes a “potassium treatment” for planted tanks: dose a single-ingredient potassium fertilizer until potassium is around 30 mg/L, hold it there for about a week with nitrate around 20 mg/L, then do a maximum water change and return to normal dosing [1]. Aquasabi presents this as a measure that “very probably” works through a surge in plant growth, not as a tested result.

The arithmetic is simple. Potassium sulfate (K2SO4, 174.25 g/mol) is 44.9 % potassium by mass [6], so raising potassium by 20 mg/L in 100 L of water takes 2,000 mg ÷ 0.449 ≈ 4.5 g. Without a potassium test you do not know the starting level, so treat the 30 mg/L as an approximate ceiling rather than a measured value.

When it is not cyanobacteria

A brown film that wipes off easily and appears in a new tank is more likely to be diatoms. Green, cloudy water without mats is a green-water bloom. Dense dark tufts that resist wiping are typically black beard algae.

Questions

Is blue-green algae dangerous?

Some cyanobacteria produce toxins. The US EPA lists Oscillatoria, the genus Aquasabi names as a frequent cause of aquarium slime, among the producers of microcystins [2, 1]. Whether a given aquarium mat produces any is not known without testing, so wash your hands after handling it.

Why does it come back in the same spot?

Aquasabi notes that small populations are normal in places such as the edge between substrate and front glass, and that recurring patches can be spot-treated [1]. Repeated return after removal usually means the cause, feeding or nutrients, has not changed.

Calculators for this

Plants mentioned

Related guides

Sources

  1. Blue-green algae (BGA): cyanobacteria. Aquasabi (aquascaping wiki). Bacteria without a true nucleus; slimy dark coats; pungent smell; often Oscillatoria; causes: high phosphate, sometimes with nitrate deficiency; unbalanced microflora in cycling; ~50 % weekly change; targets CO2 20–30, NO3 10–25, K 5–10, PO4 0.1–1, Mg >10 mg/L; siphon; blackout; potassium treatment to ~30 mg/L K for a week with NO3 ~20 mg/L. Accessed October 12, 2026.
  2. Learn about Harmful Algae, Cyanobacteria and Cyanotoxins. U.S. Environmental Protection Agency. Cyanobacteria are photosynthetic, many species fix atmospheric nitrogen; some produce cyanotoxins; microcystin producers include Oscillatoria and Phormidium; benthic mats of Microcoleus and Nostoc. Accessed October 12, 2026.
  3. Types of algae. Tropica Aquarium Plants. Blue-black coatings formed by bluegreen algae usually only appear with excessive feeding; less intense feeding usually makes them disappear. Accessed October 12, 2026.
  4. Preventing algae. Tropica Aquarium Plants. Water change is one of the most efficient measures; overfeeding is cause no. 1; no more than 10 hours light. Accessed October 12, 2026.
  5. Black-out treatment. Aquasabi (aquascaping wiki). Complete darkness, aeration, CO2 and fertilizer off; large water change afterward; removes algae but not the cause. Accessed October 12, 2026.
  6. Potassium sulfate (CID 24507). PubChem, National Library of Medicine. Accessed October 12, 2026.