Every aquarium grows algae. A thin film on the rocks is a sign of a living tank, and it feeds shrimp, snails and young fish. Algae becomes a problem when one kind takes over: green dots on the glass, hair wrapping the plants, black tufts on the leaf edges or a slimy sheet across the sand. Each kind points to a slightly different cause, so work out which one you have first. Then fix the cause, not just the algae.
Key takeaways
- Some algae is normal. Act when it spreads faster than your grazers and your weekly cleaning can keep up.
- Algae needs light and nutrients. Too much light for the plants, leftover food and fish waste, and unstable carbon dioxide in planted tanks are the usual causes.
- Blue-green "algae" is cyanobacteria, a bacterium. Brown dust in a new tank is usually diatoms and often clears by itself.
- Algae eaters control algae; they do not cure it. Match the grazer to the algae, and feed them less so they graze more.
- Copper, hydrogen peroxide, liquid carbon and antibiotics all carry risks to shrimp, snails, plants, fish or filter bacteria. Fix the cause first.
When algae is a problem
A light film on rocks, wood and the back glass is food for amano shrimp, nerite snails and cherry shrimp, and does fish no harm. Algae becomes a problem when it smothers plant leaves, covers the front glass faster than you can clean it, or spreads across the substrate. A sudden change in what grows usually means something in the tank has changed too.
Identify your algae
Look closely: is it a film, a tuft, a thread or a sheet, and does it wipe away or cling? Use this table, then read the section for that type.
| What you see | Most likely | Quick check |
|---|---|---|
| Hard green dots on glass and slow leaves | Green spot algae | Will not wipe off; needs a blade |
| Green dusty film on the glass that comes back within days | Green dust algae | Wipes off easily, clouds the water and resettles |
| Long green threads or short green fuzz | Hair and thread algae | Pulls away in strands; can be wound round a stick |
| Dark grey to black tufts on leaf edges, wood and equipment | Black beard (brush) algae | Firmly attached; a tuft turns reddish in rubbing alcohol |
| Grey, branching, wiry strands like antlers | Staghorn algae | Firmly attached; branches like a deer's antlers |
| Pea-green water | Green water (free-floating algae) | A glass of tank water looks green |
| Soft brown dusty coating, in a new tank | Diatoms | Wipes off in a cloud; no smell |
| Slimy blue-green, dark green or purple sheets on sand, plants and decor | Cyanobacteria | Lifts off in sheets; musty or foul smell |

Green spot algae
Small, hard, bright green dots on the glass and on the leaves of slow-growing plants such as anubias and Java fern. It is a tough green alga that grips the surface tightly, and it is most common in brightly lit tanks. Scrape glass with a blade (on acrylic, use a scraper made for it), and trim the worst leaves. Nerite snails graze the young spots on glass, and the nerite snail care guide covers keeping them. The anubias care guide has more on algae on slow leaves.
Green dust algae
A soft green dusty film that coats the front glass and returns days after you wipe it. Wiping releases the cells into the water, where they settle again. It is easier to let it thicken for a week or two, then wipe it all off in one go and do a water change straight after to remove the loose cells.
Hair, thread and fuzz algae
A mix of green filamentous algae, from short fuzz on leaves to long threads that wrap around stems. The common kinds include Oedogonium, Spirogyra, which feels smooth and silky, and the tougher, branching Cladophora. Twist long threads onto a toothbrush or rough stick and pull them out. Amano shrimp are the best grazers of fresh, short growth, and the amano shrimp care guide explains what they will and will not eat. Hair algae usually follows too much light or a spare supply of nutrients that the plants are not using.
Black beard (brush) algae
Dense, short tufts, dark green, grey or black, on leaf edges, wood, rock, filter pipes and heater cases. Despite the colour it is a red alga, usually put in the genus Audouinella. A tuft dropped into rubbing alcohol turns reddish as the green pigment leaches out, which is a quick way to confirm it.
It grips firmly, most grazers ignore it, and it regrows from fragments. It is most common in tanks with a build-up of waste and too few water changes, and in planted tanks where carbon dioxide is low or swings up and down through the day. Trim affected leaves, scrub or remove decor, and fix the cause. The Java fern guide explains how to tell these tufts from leaf damage.

Staghorn algae
Grey to grey-green wiry strands that fork like antlers, usually on leaf edges, decor and equipment. It is another red alga, generally identified as Compsopogon. Grazers mostly leave living staghorn alone. Remove it by hand, cut back affected leaves, and look for the same causes as black beard algae, plus heavy iron fertiliser dosing.
Red algae travel unseen. A 2021 DNA study found freshwater red algae spreading through the aquarium trade as tiny spores on plants and animals, including Compsopogon caeruleus on an ornamental plant in a shop. Rinse and check new plants before planting.
Green water
Green water is a bloom of single-celled algae floating in the water. Water changes alone rarely clear it, because the cells regrow faster than you remove them. Cut the light and the nutrients, and use a UV clarifier or very fine filtration to remove the cells. Cloudy aquarium water: causes and how to clear it covers green water and UV in detail.
Brown diatoms
A soft brown or golden-brown coating on glass, gravel, decor and plant leaves, which wipes off as a dusty cloud. Diatoms are single-celled algae that build their cell walls from silica dissolved in the water. They are typical of new tanks in their first weeks and months, and they usually fade as the tank matures and other algae and plants take over. Wipe the glass, keep up water changes and be patient. Otocinclus, nerite snails and amano shrimp eat diatoms readily. Diatoms on sword plant leaves are covered in why your Amazon sword is turning brown.
Cyanobacteria (blue-green "algae")
Cyanobacteria are bacteria, not algae, though they photosynthesise like plants. In a tank they form slimy sheets, often dark green or blue-green but sometimes black, brown or purplish-red, over sand, plants and decor. The sheets peel away easily and smell musty or foul. An outbreak usually follows heavy feeding and a build-up of waste.
Some cyanobacteria make toxins that are released when the cells die. Wear gloves when you siphon heavy growth, wash your hands afterwards, and do not let pets drink the water.
To clear it, siphon the sheets out every day or two, vacuum the substrate, clean the filter, cut feeding, and improve flow across the bottom. Do a water change after each clean-out. A few days of darkness can help (see blackouts below). Few grazers eat it, so do not rely on algae eaters here.

Other algae worth knowing
- Green films on decor: soft, flat coats on wood and rock. Harmless, and eaten by shrimp and snails.
- Cotton or fluff algae: light green, cottony cushions. Amano shrimp eat it well.
Why algae takes over
Algae and plants want the same three things: light, nutrients and carbon dioxide. When there is more of any of these than the plants can use, algae makes use of the surplus. Algae grows much faster than most aquarium plants, so it wins any gap.
Light
Too many hours of light, lights that are too strong for the plants in the tank, and direct sunlight on the glass all feed algae. No controlled study has measured the best lighting period for home aquariums. Six to eight hours a day suits most tanks while you clear an outbreak, and about ten hours is a sensible upper limit in normal running. Use a timer. Choosing your first aquarium covers placing a tank out of the sun.
Nutrients
Nitrogen and phosphorus come mainly from fish food and fish waste, and from decaying leaves and dead animals. Overfeeding and overstocking are the most common sources. Tap water can also carry nitrate and phosphate, so test it if algae keeps coming back after water changes. Keeping nitrate down is covered in aquarium nitrate and how to keep it down.
Carbon dioxide in planted tanks
In tanks with injected carbon dioxide, an unsteady supply causes trouble. If the level rises and falls through the day, or the cylinder runs out, plants slow down and algae, particularly black beard algae, takes advantage. Keep the level steady through the lighting period, and check the cylinder regularly. The KH guide explains how carbon dioxide lowers pH.
Too much carbon dioxide suffocates fish
Fish lose carbon dioxide through their gills. When the water holds too much, it builds up in their blood and stops the blood carrying oxygen well. Levels of about 20 mg/L and above can stress fish, and the risk is greater when oxygen is low. Never raise carbon dioxide to fight algae. If fish gasp at the surface, turn the gas off and add surface movement or an air stone straight away.
New tanks
A new tank has nutrients but few established plants, and the community of bacteria and grazers is still forming. Diatoms, green films and hair algae are common in the first months. Make sure the tank is cycled first, as described in how to cycle a new aquarium without fish, start with plenty of plants, keep the light period short, and add grazers once there is algae for them to eat.
Too few plants
Healthy, growing plants take up the nutrients and light that algae would otherwise use. Fast-growing stem plants and floating plants are the strongest competitors. Some water plants go further: research on shallow lakes suggests that plants such as hornwort (Ceratophyllum), Elodea and Myriophyllum release compounds that hold back free-floating algae. How much this matters in an aquarium has not been measured.
How to fix an algae outbreak
- Remove what you can by hand
Scrape, trim, pull and siphon, then do a water change to take out loose algae and nutrients.
- Cut the light
Shorten the lighting period to six to eight hours, lower the brightness if you can, and block any sunlight.
- Cut the nutrients
Feed only what the fish clear in a minute or two, change 25 to 50% of the water weekly and vacuum the substrate. Test nitrate and phosphate in the tank and your tap water.
- Help the plants
Add fast-growing or floating plants. In a planted tank with injected gas, keep carbon dioxide steady and fertilise in balance with the light.
- Add the right grazers
Choose ones that eat the algae you have (see below).
- Give it time
Give each change a few weeks, and judge by new growth: algae lingers on old leaves.
Algae eaters
Grazers are a useful part of the fix, but no animal cures an algae problem whose cause is still there. Each eats some algae and ignores others.
| Grazer | Good at | Poor at, or watch for |
|---|---|---|
| Amano shrimp | Hair, thread and fluff algae, films, diatoms | Green spot, staghorn, most black beard algae |
| Nerite snails, such as the zebra nerite | Films, diatoms, young green spot algae | Hair and thread algae; need hard water |
| Cherry shrimp | Biofilm and soft films | Light grazers; little effect on established algae |
| Otocinclus | Soft films and diatoms on glass and leaves | Need a group and extra food; most are wild-caught |
| Bristlenose pleco | Films and some green spot algae | Adds waste of its own |
| Siamese algae eater | One of the few fish that eats black beard algae | Grows to about 15 cm (6 in); often mixed up with look-alikes that eat little algae |
| American flagfish | Brush (black beard) algae | Can nip tankmates |
| Ramshorn snails | Films and soft, short algae | Breed freely in fresh water |
For a film of green algae and diatoms, a single feeding trial found an amano shrimp ate about twice as much as a zebra nerite snail and six times as much as a cherry shrimp. Weight for weight, amano shrimp ate several times more than a Siamese algae eater. The trial was not peer reviewed, but it is the only direct comparison available. The cherry shrimp care guide covers keeping shrimp as part of the clean-up crew.
Grazers eat less algae when they are well fed. In a 2008 study, emerald crabs ate noticeably less bubble algae when pellets were offered too. Feed algae eaters lightly while the algae lasts, and properly once it runs out.
Avoid the Chinese algae eater for algae control. It grazes mainly when young, and older fish often turn aggressive and rasp at the skin of other fish. The common pleco eats algae but can reach about 60 cm (2 ft), far too big for most tanks. Check any grazer against your fish in the fish compatibility checker.
Blackouts
A blackout means turning the lights off and covering the tank completely for two or three days. It can knock back green water and cyanobacteria, but it is not a cure. Many algae survive long periods of darkness: in a 2019 laboratory study, marine algae kept dark for eight weeks recovered when the light returned. The algae comes back unless the cause changes.
Remove what algae you can and change some water first. Add an air stone or point the filter outlet at the surface, because decaying algae uses oxygen, and feed very lightly. Afterwards, change water again and bring the light back on a shorter schedule.
Chemical treatments and their risks
Algae killers rarely fix the cause, and many harm other life in the tank. Killing a heavy growth all at once also leaves a mass of dead algae that strips oxygen from the water and raises carbon dioxide as it decays. If you use any product, follow its instructions exactly, treat the cause at the same time, and ask an aquatic vet if you are unsure.
Check every algae product for copper
Copper is used to kill algae, and most invertebrates do not survive a copper treatment. It is highly toxic to shrimp and snails, can damage filter bacteria, and binds to gravel, rock and decor, then leaks back later if the pH falls. Never use a copper product in a tank with shrimp, snails or other invertebrates.
- Hydrogen peroxide: it breaks down into water and oxygen, and cyanobacteria are much more sensitive to it than green algae. In a 2007 laboratory study, a cyanobacterium was harmed at about a tenth of the concentration that affected a green alga and a diatom. Fish vary widely: in a 2007 study, some blue gouramis and suckermouth catfish died at every dose tested, while swordtails tolerated them all. In tests for lake treatments, water fleas were among the most sensitive animals, so shrimp are at risk. The safest use is out of the tank: brush affected rock or decor with household-strength (3%) peroxide, then rinse well. Stronger solutions are corrosive, so wear gloves and eye protection.
- Liquid carbon (glutaraldehyde): sold as a carbon source for plants, and often spot-dosed on black beard algae. A 2014 study found glutaraldehyde moderately toxic to aquatic life at above about 1 mg/L, and water fleas and adult zebrafish were harmed at lower concentrations than the green algae tested. That leaves little safety margin for fish and shrimp, and it has not been tested on aquarium plants at aquarium doses. Never exceed the label dose.
- Antibiotics for cyanobacteria: because cyanobacteria are bacteria, the antibiotic erythromycin is sometimes used against them. It also hits filter bacteria: a 1976 study found a single 50 mg/L dose stopped nitrification in a recirculating system for 14 days. Many countries make antibiotics for fish prescription-only, so use one only on a vet's advice, and watch for ammonia and nitrite spikes afterwards.
- Herbicide-based algae killers: anything that stops photosynthesis can damage plants too. Check that a product is safe for plants and invertebrates before you use it.
Marine and reef tanks
The same rules apply in salt water. Cyanobacteria, often as red or purple slime, diatoms and hair algae are the common problems. Copper and many algae treatments kill corals and invertebrates, so reef tanks depend on nutrient control, manual removal and grazers such as emerald crabs, which eat bubble algae.
Preventing algae
- Light for ten hours or less, on a timer, out of direct sun.
- Feed sparingly and change water every week.
- Plant heavily, with some fast growers, and keep carbon dioxide and fertiliser steady in planted tanks.
- Keep a mix of grazers suited to your tank.
- Rinse and check new plants, and clean the glass little and often.
Never release plants, algae or animals
Algae and plants from aquariums can carry hidden species, and releasing aquarium animals is illegal in many countries. Bin trimmings and scraped algae, and never tip plants, algae or tank water into ponds, rivers or streams.



