Aquarium Volume Calculator

Accurately calculate your aquarium water volume

Algae Control in Aquariums: Causes, Types, and Long-Term Solutions

You scrape the glass, do a water change, and the algae is gone. Two weeks later it's back. You scrape it again. It comes back faster this time.

This cycle is familiar to most hobbyists, and it happens for one reason: scraping removes algae but does nothing to the conditions that made it grow. Until you fix the imbalance, algae will always return.

This guide covers how to identify what type of algae you're fighting, what's driving it, and how to actually solve it long-term — not just for the next two weeks.

The Core Rule: Algae grows when light, nutrients, and CO2 are out of balance. Too much of any one factor — especially light — combined with elevated nitrates and phosphates creates a bloom. Plants and algae compete for the same resources. When plants lose, algae wins.

The Light-Nutrients-CO2 Triangle

Every algae outbreak traces back to an imbalance in three variables: light intensity/duration, dissolved nutrients (nitrates and phosphates), and CO2. Understanding how these interact is more useful than any individual fix.

Light is the most common cause. A photoperiod over 10 hours, direct sunlight hitting the tank, or a light fixture that's too powerful for the tank size all give algae a competitive advantage — algae is more efficient at capturing light than most aquatic plants.

Nutrients fuel growth once light is available. Nitrates and phosphates accumulate from fish waste, uneaten food, and plant die-off. In a heavily stocked or lightly maintained tank, these climb fast. Algae thrives at nitrate levels that plants barely register.

CO2 is the missing piece most hobbyists overlook. Plants need CO2 to photosynthesize. If CO2 is low, plants can't use the available light and nutrients efficiently — algae, which uses a different pathway, picks up the slack. This is why some of the worst algae problems happen in bright, well-fed tanks with no CO2 supplementation.

Identify Your Algae Type First

Different algae types have different causes. Treating them all the same way doesn't work. Here's how to identify the four most common types you'll see in established tanks.

Green Spot Algae (GSA)

Tiny, hard, bright-green dots on the glass and slow-growing plant leaves. Almost impossible to wipe off — you need a razor blade or credit card. GSA is caused by low phosphate levels combined with high light. Yes, low phosphate — it sounds backwards, but phosphate deficiency triggers plants to stop absorbing it, and GSA exploits the leftover.

Fix: Shorten your photoperiod to 6–8 hours. If you run CO2, slightly increase it. Dose a small amount of phosphate if you run a lean planted setup. Nerite snails eat GSA effectively.

Hair Algae / Thread Algae

Long, stringy green threads that tangle around plants and decorations. Sometimes grows in massive mats. Usually caused by high light, elevated nitrates/phosphates, and inconsistent CO2. Also appears during cycling or after a filter crash when nutrients spike suddenly.

Fix: Manual removal first — twist it around a toothbrush and pull. Then reduce photoperiod, increase water change frequency, and add fast-growing stem plants (hornwort, water sprite) that outcompete it for nutrients. Amano shrimp are the best biological control for hair algae.

Black Beard Algae (BBA)

Short, dark tufts — black or dark grey — that cling to plant edges, driftwood, and filter intakes. Feels rough to the touch. BBA is the hardest algae to eliminate and is strongly associated with CO2 fluctuations. Even small daily swings in CO2 can trigger BBA in an otherwise healthy planted tank.

Fix: Spot-dose liquid carbon (Excel or similar glutaraldehyde-based products) directly onto dry patches during a water change — it turns the algae red within days, indicating it's dying. Fix the CO2 consistency issue (stable injection, not volatile DIY setups). Florida flagfish eat BBA willingly; Siamese algae eaters (true SAE, not the look-alike) do too.

BBA Warning: Do not confuse true Siamese algae eaters (Crossocheilus oblongus) with Chinese algae eaters or flying foxes — these look-alikes don't eat BBA and will harass your other fish. Check the stripes carefully.

Brown Algae (Diatoms)

A soft, dusty brown film that wipes off easily. Common in new tanks and tanks using tap water with high silicate content. If you're seeing brown algae in an established tank, it usually points to low light combined with elevated silicates or new substrate.

For a full breakdown of brown diatom algae — including why it's almost always temporary in new tanks — read our dedicated guide: Brown Algae in New Fish Tank.

Short-Term Removal vs. Long-Term Control

Short-term removal is straightforward. Algae scrapers and magnetic glass cleaners handle the glass. Old toothbrushes and gravel vacuums clear substrate algae. Decorations can be soaked in a 1:20 bleach solution (rinse thoroughly and neutralize with dechlorinator before returning to the tank).

But removal without correction just resets the timer. Long-term control requires changing the environment so algae can't outcompete your plants.

The most reliable long-term interventions, roughly in order of impact:

  1. Reduce photoperiod. Start at 6–8 hours. Use a timer — light discipline is more important than light intensity for algae control.
  2. Reduce feeding. Uneaten food decomposes into nitrates and phosphates within hours. Feed only what fish consume in 2 minutes, once or twice daily.
  3. Weekly water changes. 25–30% weekly is the standard for a moderately stocked tank. This dilutes the nutrient load before it peaks.
  4. Add fast-growing plants. Hornwort, water sprite, frogbit, and duckweed are all aggressive nutrient absorbers. Let them compete directly with algae for resources.
  5. Add an algae-eating crew. See the next section.
  6. Stabilize CO2. If you run a planted tank without CO2, accept you'll see some algae. If you inject CO2, keep it consistent — fluctuations cause BBA.

Building an Algae-Eating Crew

Biological control is one of the most effective and sustainable tools in algae management. The right crew handles daily maintenance so you're not scraping glass every week.

Nerite snails are the gold standard for glass and hard surface algae. They eat green spot algae (which almost nothing else touches), graze constantly, and won't reproduce in freshwater. 1 nerite per 5–10 gallons is a reasonable starting ratio.

Otocinclus catfish (otos) eat soft algae, diatoms, and green film algae off plant leaves and glass. They work in groups of 4+ and need a mature, stable tank — they are sensitive to water quality swings.

Amano shrimp are excellent general-purpose algae grazers, especially effective against hair and thread algae. They're peaceful and safe with most fish. A group of 5–10 makes a noticeable difference in most tanks.

Florida flagfish are one of the only fish that reliably eat black beard algae. They're kept at room temperature and can be nippy with long-finned fish — house them carefully.

Crew Compatibility: Make sure any algae eater is compatible with your existing fish. Some plecos grow massive and produce significant waste — which can worsen algae, not improve it. Research adult size and bioload before adding any algae-eater to a stocked tank.

Test Your Water — Algae Tells You What's Off

If you don't know your nitrate and phosphate levels, you're guessing. A water test kit removes the guesswork and tells you exactly which variable you need to fix.

Target ranges for planted tanks with algae pressure:

  • Nitrate: Under 20 ppm (under 10 ppm for sensitive plants)
  • Phosphate: 0.5–2 ppm (too low triggers GSA, too high fuels hair algae)
  • pH: Stable is more important than exact — swings stress plants and favor algae
  • Ammonia/Nitrite: Zero. Any spike means your cycle is stressed and nutrients are spiking too.

Test Your Water Before You Treat Your Algae

The API Freshwater Master Test Kit tests ammonia, nitrite, nitrate, and pH — the four parameters that tell you what's driving your algae problem.

View API Test Kit on Amazon

What About Algae Control Products?

Chemical algaecides (products like API Algaefix) kill algae, but they do not fix the conditions that grew it. The algae comes back within 1–3 weeks because the light, nutrients, and CO2 imbalance is still there.

Algaecides also carry real risks. Many are toxic to invertebrates (snails, shrimp) at label doses, and some harm plants and sensitive fish. Decaying dead algae also spikes ammonia as it breaks down — which can stress fish more than the algae itself did.

The exception: spot-treating BBA with glutaraldehyde (Excel) during a water change, as described above. This is a targeted intervention, not a tank-wide dose. Even then, fixing the CO2 issue is what prevents it from returning.

When Algae Is Seasonal

If your algae problems follow a seasonal pattern — worse in summer, better in winter — your lights are not the only light source. Ambient light from windows or skylights changes with the season and can add hours of uncontrolled illumination.

Position tanks away from direct or indirect sunlight, or use blackout curtains near the tank during peak daylight months. This single change solves summer algae blooms for many hobbyists.

Also remember that warmer water holds less dissolved CO2 and oxygen. If your tank runs warmer in summer, CO2 drops even further — which can trigger BBA and hair algae in planted setups that ran clean all winter.

Quick Reference: Algae Type → Root Cause → Fix

Algae Type Root Cause Primary Fix
Green spot (hard dots) High light + low phosphate Shorten photoperiod; add nerites
Hair/thread algae High nutrients + high light Water changes; Amano shrimp; fast plants
Black beard algae CO2 fluctuations Stable CO2; spot-dose liquid carbon
Brown diatoms High silicates (new tank or new substrate) Wait it out; nerite snails speed it up
Green water (soup) Excess light + ammonia spike Blackout 3 days; UV sterilizer

Related Guides

Use the Calculator: Knowing your tank's exact water volume helps you dose treatments accurately and calculate the right water-change volumes. Use our Aquarium Volume Calculator to confirm your volume before adding any treatments.

Frequently Asked Questions

What causes algae to grow in an aquarium?

Algae grows when light, nutrients (nitrates and phosphates), and CO2 are out of balance. Too much light with too few plants and too many nutrients creates the perfect algae environment. The most common causes are lights on too long, overfeeding, overstocking, and infrequent water changes.

How do I get rid of algae in my fish tank permanently?

Permanent algae control requires fixing the root imbalance: reduce photoperiod to 6–8 hours, reduce feeding, do weekly water changes to lower nitrates and phosphates, add fast-growing plants to compete for nutrients, and add algae-eating crew. Scraping algae without addressing the cause just delays the next bloom.

What is the hardest aquarium algae to get rid of?

Black beard algae (BBA) is notoriously stubborn. It attaches firmly to hard surfaces and is barely touched by most algae-eaters. The most effective treatment is spot-dosing with liquid carbon (glutaraldehyde) directly on the patches, then fixing the CO2 deficiency that caused it.

Do algae control products actually work?

Chemical algaecides kill algae temporarily but do not fix the underlying imbalance — algae grows back within days or weeks. They also risk harming sensitive fish, invertebrates, and live plants. Physical removal combined with root-cause fixes (light, nutrients, CO2 balance) is more effective and safer long-term.