Updated November 2026

Algae builds up in most fish tanks sooner or later, and it is usually a sign that light, nutrients or water quality are out of balance. Knowing how to stop algae in a fish tank comes down to three things: cut the light and food algae feed on, keep nutrients low with regular water changes, and add plants or cleaners that compete with algae. This guide walks you through each step in order.

Find Out What Kind of Algae You Have

Different algae respond to different fixes, so identify the type before you act. Green dust or cloudy green water is usually free-floating algae caused by too much light. Green or brown fuzz on glass is often hair algae or diatoms, which tend to appear in new tanks. Black or blue-green slime that sticks to decorations is usually cyanobacteria, which signals poor water flow and high nutrients.

Shopping for one? See our guide: How Much Is a Fish Finder? 6 Best Picks Compared (2026).

Control Light and Nutrients

Light and nutrients drive most algae growth, so start here.

  • Limit light to 6 to 8 hours a day. Use a timer so the schedule stays consistent. Direct sunlight through a window can also feed algae, so move the tank if needed.
  • Overfeed less. Feed only what your fish eat in about two minutes, and remove uneaten food. Rotting food is a major source of nitrates and phosphates.
  • Do a 20 to 30 percent water change weekly. Vacuum the gravel while you work to pull out waste and debris.
  • Check your filter. Clean mechanical media in old tank water, not tap water, so you keep beneficial bacteria alive.

Add Plants and Algae-Eating Helpers

Live plants compete with algae for nitrates and light, which makes them one of the most reliable long-term fixes. Fast-growing stem plants such as hornwort, water sprite and java fern are commonly recommended for beginners. Algae-eating fish and invertebrates can also help, but match them to your tank size and species. Many common cleaners, such as certain algae-eating shrimp and snails, are only effective when the tank is already stable.

Manually Remove and Maintain

For stubborn growth, scrape glass with an algae scraper or magnetic cleaner during water changes. Remove affected decorations and scrub them under running water, not soap. Keep up with maintenance, because algae returns quickly when nutrients build up again. If you’re also dealing with high nitrates, our guide on How to Remove Nitrates from Fish Tank: A Step-by-Step Guide for Beginners covers that process in detail.

A magnetic algae scraper makes glass cleaning quick and reduces the risk of scratching the surface.

View on Amazon

An aquarium timer ensures your light runs the same number of hours every day, which is one of the simplest ways to prevent algae.

View on Amazon

A gravel vacuum helps you remove waste during water changes without draining the whole tank.

View on Amazon

Common Mistakes

  • Leaving the light on all day or near a sunny window.
  • Overfeeding, then wondering why nutrients keep climbing.
  • Cleaning the filter with tap water, which can wipe out helpful bacteria.
  • Adding algae cleaners to a tank that has not yet cycled.
  • Expecting a quick fix and changing too many things at once.

FAQ

How long does it take to get rid of algae in a fish tank?

Free-floating algae often clears in one to two weeks once light and feeding are corrected. Hair algae or cyanobacteria can take several weeks of consistent maintenance.

Is algae harmful to fish?

Most common algae is harmless to fish, but heavy growth can drop oxygen levels at night and signal poor water quality. Cyanobacteria can be toxic, so remove it promptly.

Can I use chemical algae treatments?

Chemical treatments can work, but they may harm plants, invertebrates or beneficial bacteria. Fix the underlying light and nutrient problem first, and consult an aquarium professional or your fish store before using medications.

Conclusion

To stop algae, limit light, reduce excess food, keep up with weekly water changes and add plants that compete for nutrients. Make one change at a time and track results over a few weeks. With steady maintenance, your tank should stay clear and balanced.

Ethan Brooks

About Ethan Brooks

Ethan Brooks is part of our editorial team and reviews and edits our beginner & family fishing guides, checking product details against manufacturer specifications and owner feedback.