As an Amazon Associate I earn from qualifying purchases. Learn more›

Cyanobacteria in an Aquarium: How to Remove It

Cyanobacteria spreads as a slimy sheet over sand, rock, and plants. Learn how to identify it, siphon it out, and fix the nutrients, flow, and light behind it.

Cyanobacteria in an Aquarium: How to Remove It

A cyanobacteria aquarium outbreak usually shows up as a slimy sheet of dark green, blue-green, or reddish growth that spreads over substrate, rock, plants, and glass, and peels away in strips when you siphon it. Removing it takes two jobs done together: take out the mats by hand during water changes, and cut the nutrients, settled waste, and light habits that let them return. Chemical treatments are a last resort, not a first step.

This guide covers removal and routine aquarium care. It is not veterinary advice, and it does not diagnose fish illness.

What Cyanobacteria Is, and Why It Is Not Really Algae

Cyanobacteria are often sold to hobbyists under the old name blue-green algae, and in reef keeping the reddish forms are usually called red slime algae. Neither name is accurate. The EPA’s overview of cyanobacteria describes them as tiny organisms that use sunlight to make their own food and notes that they are found in freshwater, estuarine, and marine waters. Aqueon’s guide to nuisance algae says the same thing in aquarium terms: blue-green algae appear as “a heavy, dark green film or slime” and “are actually not algae, but rather a form of cyanobacteria.”

That distinction matters in practice. Algae eaters and the routines that work on green spot or hair algae do not carry over cleanly, and a treatment labeled for algae is not automatically labeled for cyanobacteria. The same EPA page also notes that some cyanobacteria can produce toxins, which is one more reason to remove mats from the tank rather than leave them to break down in place.

How to Tell Cyanobacteria From Other Growth

Check what you are looking at before changing anything. Several common problems look alike from across the room, and each one calls for a different fix.

What you seeLikely causeQuick check
Slimy sheet over sand, gravel, rock, or leaves; dark green, blue-green, or redCyanobacteriaLifts off in a skin or strips; often returns after siphoning
Thin brown dusting, most often in a new tankDiatomsSoft film; Aqueon ties most brown algae to diatoms in new tanks
Short dark tufts gripping leaf edges or woodBlack beard algaeHolds on firmly; needs brushing or trimming
Long green threadsHair or string algaeAqueon says longer forms can be twirled around a toothbrush
Cloudy, pea green waterSuspended algaeColor is in the water, not on surfaces

The EPA describes bottom-living cyanobacteria in the wild forming mats and films in colors from dark blue-green to red-brown and brown, and notes that some mats float to the surface because of trapped gas. Bubbles trapped in a sheet on the sand fit that description. If the growth is tufted rather than sheet-like, our separate guide to black beard algae is the better match, and a brown film in a young tank belongs with brown algae and diatoms.

What Causes Cyanobacteria in an Aquarium

There is rarely one cause. Aqueon’s nuisance algae guide names nitrate and phosphate as the main nutrients behind nuisance growth, coming mostly from fish food and fish waste but sometimes from tap water. It lists the usual routes to a build-up: generous feeding, infrequent water changes or filter maintenance, overcrowding, and tap water that is high in either nutrient.

Settled waste in quiet water is the second piece. A study of Caribbean reefs published in PLOS ONE found cyanobacterial mats were most abundant on sheltered reefs. The authors reported that nutrient levels in open water stayed low but rose sharply just above mat-covered sand and rock, and they proposed that organic matter settles where water movement is low and feeds the mats as it breaks down. A wild reef is not a glass box, but the comparable places in a tank are corners, the space behind rock, and sand where uneaten food collects, so check those first. The finding also suggests why a clean water reading does not always rule out a nutrient problem.

Light feeds the outbreak once it starts. Aqueon calls excessive light a contributing factor and advises keeping a tank out of direct sunlight “even if it’s only for a few hours a day.” New tanks are also prone: Aqueon’s planted aquarium maintenance guide says new setups can grow “a funky slime or fuzz” while they find their balance.

How to Remove Cyanobacteria, Step by Step

Aqueon says blue-green algae “can be removed by siphoning them from the aquarium, but they often quickly return.” The steps below pair removal with the changes that keep it from returning. Expect to repeat the removal more than once.

  1. Take readings first. Check nitrate and phosphate in the tank and in your tap water before you change anything. Aqueon gives targets of nitrate below 10 ppm and phosphate below 0.5 ppm in its nuisance algae guide. A test kit for both is the only way to know whether the source is the tank or the tap.
  2. Unplug the equipment. Switch off the heater, filter, and pumps before your hands go in the water, following each product’s manual, and plug them back in only after the water level is restored.
  3. Siphon the mats out. Lift sheets off sand and rock with the end of a siphon or a gravel vacuum as you drain water for the change. Scrape the glass first so the loosened film settles and can be siphoned in the same pass, the order Aqueon’s cleaning checklist uses for algae.
  4. Refill with clean source water. If your tap water carries nitrate or phosphate, Aqueon suggests reverse osmosis or deionized water for water changes.
  5. Cut the input. Feed sparingly and remove uneaten food. Aqueon’s advice for keeping nutrients low is to avoid having too many fish, feed sparingly, perform regular water changes, and clean the filter regularly. Clean the filter as its manual directs so trapped waste leaves the system.
  6. Fix the dead spots. Note where the mats started. Those are usually the places where debris settles. Aim a filter return or a powerhead so the water over that area moves gently, and avoid blasting sand loose. Aqueon’s aquatic plant basics says proper circulation “inhibits algae growth and prevents the accumulation of organic debris on leaves.”
  7. Tighten the light schedule. Put the light on a timer and keep sunlight off the glass. Aqueon’s nuisance algae guide gives a maximum of 6 to 8 hours of light for unplanted tanks and 10 to 12 hours of high-quality light for planted tanks. If your photoperiod runs longer, bring it back into that range.

Keep a short log of each removal: date, where the mats were, and your nitrate and phosphate readings. If the patches shrink and stay in the same spots, flow is the likely gap. If they keep spreading to new areas, look harder at feeding and source water.

Red Slime in a Reef Tank

Red slime in a reef tank is the same organism group, and the same removal routine applies, with three reef-specific adjustments.

Use the protein skimmer. Instant Ocean’s FAQ on foam fractionation describes a protein skimmer as a device that “removes dissolved organic matter from the aquarium before it can be broken down.” Organic matter breaking down on the sand bed is exactly what the PLOS ONE study linked to mats, so keep the skimmer running, empty the collection cup, and check that it is still producing foam.

Watch the water you add. An Instant Ocean FAQ on reef phosphate says phosphate is readily available from sources “such as food and tap water.” Top off evaporation and mix new saltwater with purified water, and take a phosphate reading on your source water when an outbreak starts.

Be careful with the lights. Cutting light hours helps in a fish-only tank, but Aqueon’s article on saltwater lighting notes that most corals need a high amount of blue wavelength light to photosynthesize. In a coral tank, start with nutrients, flow, and siphoning, and treat a shorter photoperiod as a smaller, gradual adjustment rather than a blackout. Sand beds deserve extra attention in a reef: siphon the surface where mats sit, and target flow across the sand rather than into it.

Cyanobacteria in a Freshwater Aquarium

In freshwater tanks, check the gravel, the undersides of decor, and the leaves of slow-growing plants. Aqueon warns that, left unchecked, blue-green algae “can suffocate live plants and even cause harm to fish,” so peel it off leaves gently by hand and consider trimming leaves that are fully coated.

Planted tanks need a balance check. Aqueon’s planted tank guide says new planted aquariums can be more prone to outbreaks because of high-output lighting, fertilizer dosing, and added CO₂, and its advice for algae in that phase is to lower light intensity or hours and reduce liquid fertilizers and CO₂. A gravel vacuum is useful in unplanted areas, but avoid digging deep around plant roots.

Where Chemical Treatments Fit

Aqueon says chemical algaecides “should never be the first choice,” because they do not address the original cause and the problem returns if that cause remains. For cyanobacteria specifically, it notes that products are sold for both freshwater and saltwater aquariums, and that some keepers use antibiotic-based treatments, which it says should be used with caution because “some anti-biotics can disrupt the balance in your aquarium.” Ask a licensed aquatic veterinarian before using any antibiotic in a tank.

If you do use a treatment, follow the product label exactly, and check that the label covers your type of tank and every animal in it, including shrimp, snails, and corals. Aqueon’s sequence is to siphon out as much of the cyanobacteria as possible and remove carbon from the filter before treating, then add fresh activated carbon and do several small water changes afterward. Its nuisance algae guide also warns that sudden algae die-offs can spike ammonia and nitrite, so take ammonia and nitrite readings in the days after any treatment.

When to Look Beyond the Slime

Watch the fish during and after cleanup. Aqueon’s new aquarium guide lists signs to watch for, including rapid breathing, gasping at the surface, clamped fins, scratching against objects, and unusual behavior. UF/IFAS Extension’s publication on ammonia advises checking water quality immediately “any time fish appearance or behavior changes.” If readings look normal and the fish still act differently, or fish die without a clear reason, stop any treatment and contact a licensed aquatic veterinarian.

Our water care section covers the kits and conditioners that support the readings above, and the maintenance and feeding reviews cover siphons and feeding gear.

Frequently Asked Questions

Is Cyanobacteria Harmful to Fish?

It can be. Aqueon says that, left unchecked, blue-green algae can suffocate live plants and even cause harm to fish, and the EPA notes that some cyanobacteria produce toxins. Remove mats promptly, and if fish show signs of distress, take water readings and contact a licensed aquatic veterinarian.

Why Does Cyanobacteria Keep Coming Back After a Water Change?

Siphoning removes the mats but not the conditions behind them. If feeding, source water, settled waste in low-flow areas, or long light hours stay the same, regrowth is the expected result. Track where the mats return and work on that cause.

Is Red Slime Algae in a Saltwater Tank the Same as Cyanobacteria?

Yes. Red slime algae is a hobby name for reddish cyanobacteria. The EPA describes bottom-living cyanobacteria in colors ranging from blue-green to red-brown, so color alone does not separate them. The removal approach is the same in a saltwater tank, with the reef adjustments above.

Can a Protein Skimmer Get Rid of Red Slime?

Not on its own. A skimmer removes dissolved organic matter before it breaks down, which supports the effort, but it does not lift mats off the sand. Pair it with siphoning, flow over the problem areas, and lower nutrient input.

Should You Black Out the Tank?

Aqueon discusses blackouts for green water and warns that they are “detrimental to live plants” and can bring ammonia and nitrite spikes when a bloom dies off. In a planted or coral tank, fix nutrients, flow, and photoperiod first. Our guide to green aquarium water covers when a blackout is worth considering.

About the author

Noelle Young
Noelle Young

Noelle Young is a planted aquarium enthusiast with a special interest in aquascaping and aquatic plant care. At AquariumTechLab.com, Noelle covers aquarium lighting, substrates, and CO₂ equipment, helping hobbyists choose setups that support healthy plant growth and fish wellbeing.