Maintenance & Gear
How to Get Rid of Algae in a Freshwater Tank
Practical steps to remove green water algae, black beard algae, and other common tank algae, plus how to stop it from coming back.

Algae shows up in almost every freshwater tank sooner or later. The good news is that most outbreaks have a clear cause, and once you fix that cause, the algae retreats on its own with a bit of help from you. Here is what to do, starting with a fast diagnosis.
Why Algae Grows in the First Place
Algae needs three things: light, nutrients, and CO2 (or lack of competition from plants). When any one of those exceeds what your plants can use, algae fills the gap. The most common causes in freshwater setups are:
- Too many hours of light. Most freshwater tanks do well on 7 to 9 hours per day. Running the lights 12 or 14 hours gives algae a huge head start.
- High nitrates or phosphates. Overfeeding, overstocking, and infrequent water changes let nutrients pile up. Nitrates above 40 ppm and phosphates above 1 ppm are reliable algae triggers.
- Direct sunlight hitting the tank. Even an hour of direct sun daily can fuel a persistent bloom because sunlight is far more intense than any aquarium fixture.
- Uncycled or disrupted biology. A tank that is not fully cycled, or one that has had a bacterial crash, leaves nutrients in the water column with no competition from beneficial bacteria.
If you have not looked at your water parameters recently, test before you do anything else. Knowing your nitrate and phosphate numbers tells you which fix to reach for first.
The Most Common Algae Types and How to Tackle Each
Different algae call for different approaches. Treating the symptom without identifying the type wastes time.
Green Water (Pea Soup Bloom)
Green water algae is a free-floating single-celled algae (Chlorophyta) that turns the entire water column opaque and green. Fish are usually fine, but you cannot see them, which is disorienting.
Fix: A UV sterilizer running at the correct flow rate for your tank volume clears green water in 3 to 5 days without chemicals. Alternatively, a blackout (cover the tank completely for 3 to 4 days, no light at all) starves the algae. Do not feed fish during a blackout since uneaten food will decay in the dark. After either treatment, address the root cause (usually too much light or high nutrients) or it will return within weeks.
Green Spot Algae (GSA)
Hard, circular green dots on the glass and slow-growing leaves. GSA tends to appear when phosphate levels are very low (below 0.5 ppm) or when lights run longer than 10 hours. It is a sign of a nutrient imbalance rather than a nutrient excess.
Fix: Shorten photoperiod to 8 hours; bump phosphate slightly if your test reads near zero. Physically scrape the glass with an algae pad or magnetic scraper. For leaves, remove heavily colonized ones.
Black Beard Algae (BBA)
Black beard algae (Audouinella sp.) looks like tiny dark tufts or bristles, usually on the edges of slow-growing leaves, driftwood, and filter intakes. It is one of the harder types to remove and is strongly associated with CO2 fluctuation.
Fix: Stabilize your CO2 if you are injecting it. Fluctuating CO2 stresses plants and leaves a window for BBA to establish. A direct treatment with liquid carbon (glutaraldehyde-based, sold as a general-purpose carbon supplement) applied with a syringe to affected spots while the filter is off for 5 minutes turns BBA red or pink within a day, indicating it is dying. Then siamese algae eaters and amano shrimp will graze on it. For filter intakes, remove them, soak in a 1:20 bleach-to-water solution for 2 minutes, rinse thoroughly, and dechlorinate before reinstalling.
Hair Algae / Thread Algae
Long, stringy green strands that tangle around plants and decorations. Usually caused by high light and insufficient plant competition.
Fix: Manual removal first (twirl it around a toothbrush or chopstick), then reduce photoperiod and add fast-growing stem plants to outcompete it. Nerite snails and amano shrimp actively graze on early-stage hair algae.
Brown Algae (Diatoms)
Soft brown film on glass, substrate, and decorations, very common in new tanks. Diatoms thrive on silicates and low light. They almost always resolve on their own within 4 to 8 weeks as the tank matures and silicate levels drop.
Fix: Wipe the glass during your weekly water change routine. Otocinclus catfish are phenomenal diatom eaters for tanks 10 gallons and above. Do not dose anything for diatoms. Time and a stable cycle do the job.
Practical Removal Methods
| Method | Best For | Notes |
|---|---|---|
| Algae scraper / magnetic cleaner | Glass and acrylic surfaces | Use acrylic-safe pads on acrylic tanks |
| Old toothbrush | Decorations, rocks, driftwood | Scrub outside the tank over a bucket |
| Siphon vacuuming | Substrate, loose algae mats | Cover the vacuum tip with mesh to avoid catching snails |
| Bleach dip (1:20) | Hard equipment (intakes, pipes) | Rinse and dechlorinate fully before returning to tank |
| Blackout 3-4 days | Green water, hair algae | No feeding; ensure adequate surface agitation for oxygen |
| Liquid carbon spot treatment | BBA | Targeted application; remove mechanical filtration temporarily |
Physical removal should almost always come before chemical intervention. Most chemical algaecides kill algae faster than the tank can absorb the die-off, which can spike ammonia and harm fish.
Fixing the Root Cause
Removing algae without fixing what caused it is like bailing a boat without finding the leak. Work through this checklist:
Light duration. Set a timer if you do not already use one. 7 to 8 hours is a reasonable starting point for a planted tank; low-tech setups with slow growers can go as low as 6 hours. Bright fixtures over 8 hours actively encourage algae unless you have a heavily planted tank with supplemental CO2.
Nutrient export. Regular water changes are your primary tool. For an algae-affected tank, consider 30 to 40 percent water changes twice a week until the situation stabilizes, then return to your normal schedule. Check out the glass-cleaning and algae removal guide for a step-by-step on combining scraping with water changes so you pull the debris out at the same time.
Feeding amount. Feed only what fish eat in 2 to 3 minutes, once or twice a day. Uneaten food breaks down into nitrate and phosphate within hours.
Stocking level. More fish means more waste. If your bioload is high, either upgrade filtration or reduce stocking.
Filter maintenance. A clogged filter circulates less water and exports fewer nutrients. If you have not cleaned the filter media in a while, do it correctly to protect your cycle. The aquarium filter cleaning guide walks through exactly how to do this without crashing beneficial bacteria.
Plant competition. Live plants consume the same nutrients algae wants. Fast-growing species like hornwort, water wisteria, and guppy grass can dramatically reduce available nutrients for algae within a few weeks.
Algae Eaters That Actually Help
Adding the right cleanup crew speeds up physical removal and helps keep surfaces clean long-term. Stocking appropriately for your tank size matters.
- Amano shrimp (10 gallons+): heavy grazers on hair algae and early-stage BBA; need stable parameters and low copper exposure
- Otocinclus catfish (10 gallons+): excellent on brown diatoms and green film; do best in groups of 4 or more
- Nerite snails (5 gallons+): graze glass and hardscape; do not reproduce in freshwater
- Siamese algae eaters (20 gallons+): one of the few fish that eats mature BBA; adults can get territorial
- Florida flagfish (15 gallons+): aggressive hair algae eaters; not suitable with small or slow-moving tankmates
No algae eater eradicates an outbreak on its own. Think of them as maintenance workers, not a cure. They perform best once you have already addressed lighting and nutrients.
Frequently Asked Questions
Is some algae in a freshwater tank normal?
A small amount of algae on the glass or rocks is completely normal and actually indicates the tank is biologically active. The issue starts when algae overgrows plants, clouds the water, or requires constant scraping to keep in check. A thin green film on the back glass that you wipe off once a week is nothing to worry about.
How long does it take to get rid of algae?
It depends on the type and severity. Brown diatoms in a new tank usually clear up on their own in 4 to 8 weeks. A green water bloom treated with a UV sterilizer typically clears in 3 to 5 days. Hair algae and black beard algae take 2 to 4 weeks of consistent treatment, especially if you are adjusting lighting and nutrients at the same time.
Can I use algaecide or bleach in my tank with fish inside?
Most algaecides labeled for aquarium use can cause oxygen depletion as algae dies off rapidly, stressing or killing fish. Use them only as a last resort and follow dosing instructions precisely. Bleach should never go directly into an inhabited tank. It is only appropriate for cleaning equipment outside the tank, and only after thorough rinsing and dechlorination before reuse.
Why does my algae keep coming back after I clean the glass?
Recurring algae almost always means the underlying cause is still present: too much light, high nutrients, or both. Cleaning removes the algae but does not fix what fed it. Run through the root cause checklist above — usually reducing the photoperiod by an hour or two and increasing water change frequency stops the cycle within a few weeks.
My tank water is bright green and I cannot see my fish. Are they okay?
Green water (a free-floating algae bloom) is not directly harmful to fish in most cases, but it signals high nutrient levels that are worth addressing. Check ammonia and nitrite first to make sure the cycle is intact, then do a 30 to 40 percent water change and set up a UV sterilizer or begin a blackout. If fish show signs of distress (gasping at the surface, erratic swimming, loss of color), contact an aquatic veterinarian or experienced local fish store for help, since those symptoms suggest something beyond just the algae.