Cloudy water is one of the most common problems in fishkeeping, and one of the most misunderstood. Milky, grey, green and brown water have different causes and need different fixes. Some clear by themselves if you leave them alone. Others are a warning that ammonia is building up. The colour, the timing and a quick water test will tell you which one you have.

Key takeaways

  • Test ammonia and nitrite before you do anything else. If either reads above zero, deal with that first.
  • Milky white water in a new or recently disturbed tank is usually a bacterial bloom. With zero ammonia and nitrite, the best treatment is patience.
  • Grey haze straight after filling is dust from the substrate. It settles or filters out.
  • Green water is free-floating algae. Water changes alone rarely clear it, because the algae can regrow within a day. Cut the light and nutrients, and use a UV clarifier or fine filtration to remove the cells.
  • Brown or tea-coloured water from wood and leaves is harmless. Activated carbon removes most of it if you dislike the look.
  • In reef tanks, a sudden white cloud after dosing usually means calcium carbonate has come out of solution. Stop dosing and test alkalinity, calcium and magnesium.

Quick facts

First tests
Ammonia and nitrite. Then nitrate, pH and KH. In reef tanks, also alkalinity, calcium and magnesium.
Safe readings
Ammonia and nitrite at zero
Usually harmless
Bacterial bloom with zero ammonia, substrate dust, tannins, tiny air bubbles
Act the same day
Any ammonia or nitrite reading, fish gasping at the surface, a sudden cloud in a reef tank
Avoid
Clarifier chemicals as a first step, stripping the tank clean, chasing the problem with several products at once

Start with the colour, the timing and a test

Three questions narrow the cause down quickly.

  • What colour is it? Fill a clear glass from the tank and hold it against white paper. Colour is much easier to judge this way than through the front glass.
  • When did it start? Straight after filling, weeks after setting up, after a big clean or heavy feeding, after a medicine or supplement, or slowly over months.
  • What do the tests say? Ammonia and nitrite should both read zero in any tank with animals in it.
Drawing of four glasses of aquarium water: milky white, grey with fine particles and a layer of sediment, pea green, and clear tea brown with the lines behind it still visible
Hold a glass of tank water against white paper. Milky white, dusty grey, green and tea brown each point to a different cause.

The quick-reference table at the end puts every cause side by side.

Milky white water: a bacterial bloom

What it is

A bacterial bloom is a sudden rise in bacteria floating free in the water. They feed on dissolved organic matter from food and fish waste. When there is more of it than the tank's settled bacteria can use, the free-floating kind multiply until the water turns hazy, often overnight. The cloud is evenly milky white, with no grain to it, and it does not settle.

A small planted cube aquarium with evenly milky white water hiding the rocks
A bacterial bloom: an even, milky haze with no grain to it, often overnight.

These are not the bacteria that turn ammonia into nitrite and nitrate, which live mostly on surfaces in the filter and substrate. A bloom does not mean the filter has failed, but it often turns up when the filter is not yet working properly, which is why testing matters.

When it happens

  • In a new tank. This is the classic case. Nitrifying bacteria take weeks to establish. In a 2025 study of three new home aquariums, ammonia and nitrite fell to undetectable levels by week three in two of the tanks and by week eight in the third. See how to cycle a new aquarium without fish.
  • After overfeeding. The more food goes in, the more ammonia and organic waste the tank has to deal with.
  • After a death. A dead fish, snail or shrimp hidden behind rocks decays fast and releases ammonia and organic matter. Count your animals.
  • After a filter clean that went too far. Rinsing media under the tap, replacing it all at once, or scrubbing everything removes the settled bacteria, and the tank partly restarts its cycle.
  • After some medicines. Certain treatments kill filter bacteria. See "Cloudiness after medicine" below.

How long it lasts

Most blooms clear by themselves within a few days to about two weeks, once the bacteria have used up their food. There is no published study of how long aquarium blooms last, so treat that as a rough guide. A bloom that keeps returning means something is still feeding it, usually too much food or too few water changes.

Test ammonia and nitrite

The bloom itself is rarely the danger. Ammonia and nitrite, which can come with it, have no colour or smell, so the only way to know is to test.

  • Ammonia should read zero in a healthy tank. Most test kits measure total ammonia. Free ammonia, the form that is about 100 times more toxic than ammonium, makes up a bigger share of that total as pH and temperature rise. The same reading is more dangerous in warm, alkaline water than in cool, acidic water.
  • Nitrite should also read zero. It enters the blood through the gills and turns blood brown, so it can no longer carry oxygen. Affected fish gasp at the surface even when the water holds plenty of oxygen.

Some ammonia-binding water conditioners make certain types of ammonia test read falsely high. Check the instructions for your test kit if a reading looks odd.

When to leave it and when to act

Leave it alone if ammonia and nitrite read zero and the fish are behaving normally. Feed lightly, keep the filter running and the surface moving, because nitrifying bacteria need oxygen, and test every day or two until the water clears. Do not add clarifiers, clean the filter or make large water changes just to clear the haze.

Act the same day if ammonia or nitrite reads above zero, or if fish are gasping, hanging at the surface or sitting on the bottom.

  1. Stop or cut feeding

    Fish under ammonia stress often will not eat, and uneaten food makes things worse.

  2. Change 25 to 50% of the water

    Use dechlorinated water at the same temperature as the tank. Repeat daily while ammonia or nitrite reads above zero.

  3. Find the cause

    Look for a dead animal, rotting food or a filter that has stopped or been cleaned too hard.

  4. Test every day

    Keep testing ammonia and nitrite until both read zero for several days in a row.

Grey or white dust: substrate fines

If the water turns grey or white the moment you fill the tank, or every time you plant or move rocks, the cause is fine dust from the substrate or decorations. Under a torch you can often see the particles drifting. It is harmless to fish.

Close-up of mixed aquarium gravel in black, white and brown
New gravel and sand carry fine dust. Rinse them until the water runs nearly clear before they go in.

The finest particles can stay up for days. Clay particles can be smaller than bacteria, and because they carry the same surface charge they repel each other and settle slowly even in still water.

How to rinse sand and gravel

  1. Work in batches

    Put a few centimetres of sand or gravel in a clean bucket that has never held soap or chemicals.

  2. Stir and pour off

    Run water in, stir hard with your hand, and pour off the cloudy water. Repeat until the water runs nearly clear. Sand takes many more rinses than gravel.

  3. Fill gently

    Lay a plate, a plastic bag or a sheet of cling film on the substrate and pour onto that, so the stream does not dig into it.

Do not rinse clay-based planting substrates (often sold as active soil). They are designed to be used as they come, and rinsing breaks the granules down into more dust. Follow the maker's instructions and fill these tanks especially slowly.

Mechanical filtration

The filter clears what rinsing missed. A layer of fine filter floss, sometimes sold as a polishing pad, catches particles that coarse sponge lets through. Replace or rinse it every few days while the dust is coming out, because it clogs quickly, and leave the biological media untouched. For a guide to filter types, see canister or hang-on-back filter.

Some fish stir up fine substrate all the time. Goldfish dig through gravel, and eartheaters such as Geophagus sift sand through their gills, so a little haze is normal with them.

Green water: a phytoplankton bloom

Green water is a bloom of single-celled algae floating in the water, too small to see one by one. Together they turn the water pea green. The bloom is not toxic in itself, but algae make oxygen in the light and use it in the dark, so a dense bloom can drop oxygen levels overnight.

What causes it

Algae need two things: light and nutrients. Green water appears when a tank has plenty of both.

  • Light: direct sunlight from a window, or tank lights left on for long hours. Sunlight is the most common trigger, because it is strong and you cannot control it.
  • Nutrients: mainly phosphate and nitrogen compounds, which come from fish food, fish waste and decaying matter. In fresh water, phosphorus is usually the nutrient that limits how much algae can grow. Tap water can also carry nitrate and phosphate, so test it if the problem keeps coming back.
  • Ammonia: algae take up ammonia readily, so green water often follows an ammonia problem, such as a new tank or a stocking jump.

Why water changes alone often fail

Phytoplankton multiply very quickly. In one set of measurements, the green alga Chlorella grown at 25 °C (77 °F) doubled 1.4 times a day. A 50% water change removes half the cells, but in a warm, bright tank with nutrients the remainder can replace them in under a day. Each change can also bring in fresh nutrients if your tap water carries them. Water changes are worth doing to remove the nutrients behind the bloom. They will not clear green water on their own.

UV clarifiers

A UV clarifier (also sold as a UV steriliser) pumps tank water past a lamp that gives out ultraviolet-C light. UV-C damages the DNA of cells passing the lamp, so they can no longer divide, and harms the parts of the cell that carry out photosynthesis. A damaged cell may look intact for a while, so the bloom fades over days rather than hours as cells die and are filtered out or eaten.

Research on treating ships' ballast water and drinking water explains why some clarifiers fail:

  • Green algae are tough. In a 2018 study of 12 algae species, the UV dose needed to cut viability by 99% varied more than tenfold between species. A green alga was the most resistant one measured. In a 2010 study, common green-water algae (Chlorella and Scenedesmus) showed no growth suppression at UV-C doses that held back a cyanobacterium for up to 13 days.
  • Algae can repair the damage. Cells use light to repair UV damage to their DNA. In a 2020 study, one day of darkness after treatment raised the kill rate by 50% compared with no dark period, because darkness blocks that repair. A 2016 study found that only high doses reliably inactivated a common marine alga within a day. Lower doses gave inconsistent results.
  • Only the water that passes through is treated. Algae on the glass, rocks and plants are not affected.

In a tank, the same water passes the lamp many times a day, so cells receive repeated doses. There is no published controlled trial of UV clarifiers in home aquariums, but the research points to a few rules:

  • Choose a unit the maker rates for green water in your tank volume. An undersized unit can be outpaced by the bloom.
  • Run water through it slowly. Slower flow means each cell spends longer near the lamp and gets a higher dose.
  • Place it after the mechanical filter, so clear water reaches the lamp. Particles shade cells from the light.
  • Clean the quartz sleeve around the lamp when it films over, and replace the lamp on the maker's schedule even if it still glows.
  • Read any medicine's instructions before dosing. Some ask you to switch UV off during treatment.

UV light damages eyes and skin

Never look at a lit UV lamp or run it outside its housing. Unplug the unit before opening it. Most units have a small window or glow ring so you can check the lamp safely.

Blackouts

A blackout means switching the lights off and covering the tank for a few days to starve the algae of light. It can work, but it is not a cure. There is no published controlled study of aquarium blackouts, and phytoplankton are good at surviving darkness: in laboratory work, marine species recovered after up to eight weeks without light. The bloom returns if the light and nutrients behind it do not change.

If you try one, keep it short, because live plants lose light too. Run an air stone or point the filter outlet at the surface, since dying algae use up oxygen as bacteria break them down. Feed lightly, and do a water change afterwards to remove the dead cells.

Diatom filters and fine filtration

Normal filter sponge lets single algal cells straight through. A diatom filter pushes water through a coating of diatomaceous earth powder, a very fine medium that can trap them. It clogs quickly, so it is run for hours, not left on permanently. Fine filter floss is a weaker version of the same idea. Both remove the cells but not the reason they grew. Avoid breathing in the dry powder when you load a diatom filter.

Fixing the cause

  1. Cut the light

    Move the tank or shade it from direct sun. Shorten the lighting day while you fix the problem, to around six to eight hours, using a timer.

  2. Cut the nutrients

    Feed only what the fish clear in a couple of minutes. Keep up regular water changes, and vacuum debris from the substrate.

  3. Remove the cells

    Use a UV clarifier, a diatom filter or fine floss. These clear the water much faster than water changes alone.

  4. Add competition

    Fast-growing plants, including floating plants, take up nutrients that would otherwise feed algae.

Brown or yellow water

Tannins from wood and leaves

Driftwood, dried leaves, alder cones and peat release tannins and related compounds called humic substances, which stain the water yellow, amber or tea brown. They are dissolved, so the water stays clear, just coloured, and no filter sponge can strain them out.

Three dried brown Indian almond leaves on a white background
Dried leaves such as Indian almond release tannins that stain the water tea brown but leave it clear.

Tannins are harmless. Many tropical fish come from blackwater streams stained exactly this colour, including the neon tetra, the cardinal tetra and many Apistogramma dwarf cichlids. There is some evidence of benefit, too. A 2008 review of dissolved humic substances in fish farming reported that they reduced stress damage, helped tissue heal after bacterial and parasite damage, and bound heavy metals. How this works is not well understood, so treat the benefits as likely but not proven.

Tannins are weak acids. In soft water with low KH they can lower pH a little, which blackwater fish welcome but some others do not. See understanding KH and why pH crashes happen.

If you would rather have clear water:

  • Soak new wood in a bucket for some weeks before use, changing the water whenever it darkens. Much of the colour comes out this way.
  • Use activated carbon in the filter. In a 2023 drinking water study, granular activated carbon removed over 70% of humic substances but only about half of the colour, so expect an improvement rather than crystal-clear water. Replace carbon regularly, as it stops working once full.
  • Regular water changes dilute the colour as the wood slowly stops releasing it.

Yellow water from dissolved waste

Yellow water in a tank with no wood or leaves usually comes from dissolved organic waste building up from food, fish waste and decay. It points to maintenance that has fallen behind. A 2017 study found humic-like compounds building up much faster in fish systems with no water exchange than in a flow-through aquarium.

Other clues are a rising nitrate reading, a musty or sour smell, and a film on the surface. Check for decaying food, rotting plant leaves (see why your java fern is turning black) or a dead animal. Then get back to regular water changes and filter maintenance, and feed less. Activated carbon will remove the colour, but on its own it treats the symptom, not the cause.

Marine tanks: white snowstorms

Marine tanks get bacterial blooms, dust and green water for the same reasons as freshwater tanks, and the same advice applies. They also have a cause of their own: calcium carbonate coming out of solution as a fine white cloud.

Calcium carbonate precipitation

Seawater holds more calcium and carbonate than would be stable in the long run. It does not turn to chalk because magnesium, phosphate and dissolved organic compounds hold the reaction back, and because the water has few crystal surfaces for it to start on. Push calcium, alkalinity or pH too high and that restraint gives way. Calcium carbonate then forms as tiny crystals, and the water goes milky white within minutes. Reef keepers call this a snowstorm.

The usual triggers are:

  • overdosing an alkalinity supplement, or calcium hydroxide (limewater, often sold as kalkwasser), both of which raise pH sharply where they enter;
  • adding the calcium and alkalinity parts of a two-part supplement at the same time and in the same place, so both meet at high strength;
  • dosing into a low-flow area, where the supplement does not mix quickly;
  • low magnesium, which leaves less to hold precipitation back.

Once crystals start to form, they give more crystals somewhere to grow. Research on adding lime to seawater has found that precipitation can run away, removing much more alkalinity than was added. Each mole of calcium carbonate that forms takes one mole of calcium and two of alkalinity with it, so both readings can fall below where they started.

The cloud itself is chalk, not a poison. The harm comes from the pH spike that caused it and the fall in alkalinity afterwards, which can stress SPS corals, LPS corals and other invertebrates.

  1. Stop dosing

    Turn off dosing pumps and limewater. Do not add more of either part to make up for the loss yet.

  2. Keep the water moving

    Leave pumps running. The cloud usually settles or is caught by the filter within hours to a day or so.

  3. Test once the water clears

    Test alkalinity, calcium, magnesium and pH.

  4. Correct slowly

    Bring alkalinity back up in small steps over several days, not in one dose. Correct magnesium if it is low.

  5. Change how you dose

    Dose the two parts at different times or in different places, into a high-flow area, and in smaller amounts more often.

Cloudy water after mixing salt

Freshly mixed salt water is often hazy while the salt dissolves. Mix until it is clear before you use it. A white residue that settles out and stays means some calcium carbonate has precipitated in the container, and that batch will be low in calcium and alkalinity, so test it. Warm water makes this more likely: in the lime study above, more than three times as much alkalinity could be added at 5 °C (41 °F) as at 30 °C (86 °F) before precipitation began. Mix at tank temperature, add the salt to the full volume of water rather than water to a heap of salt, and follow the maker's guidance on mixing time.

Other causes

Cloudiness after medicine

Some medicines kill or stall the bacteria that process ammonia. Ammonia and nitrite then rise, and a bacterial bloom often follows. In a 1976 study, a single dose of the antibiotic erythromycin at 50 mg per litre stopped nitrification for 14 days. Chloramphenicol, oxytetracycline, sulfamerazine and nifurpirinol had no effect at the doses tested. In a 1975 study, methylene blue at 5 mg per litre stopped nitrification for 16 days, while formalin, malachite green, copper sulphate, potassium permanganate and salt at treatment doses did not. These were experimental systems, and products for home aquariums use their own doses. Some medicines also colour or cloud the water directly.

Treating fish safely

Follow the manufacturer's instructions exactly and never combine treatments unless they say you can. Treat in a separate hospital tank where possible. Test ammonia and nitrite every day during and after treatment. Activated carbon removes many medicines, so take it out during treatment unless the instructions say otherwise. If you are not sure what you are treating, consult an aquatic vet before medicating.

Hard-water precipitate

Very hard, carbonate-rich tap water can do in fresh water what reef supplements do in marine tanks. Calcium carbonate comes out as a faint white haze or, more often, a white crust on the glass, heater and waterline. Losing dissolved carbon dioxide drives this, so heavy aeration can trigger it, and warmer water makes it more likely. Calcium-based buffers and crushed coral add to it. It is harmless to fish. If it bothers you, stop extra buffering, ease off very strong aeration, or blend very hard tap water with reverse osmosis water.

Tiny air bubbles from tap water

Water fresh from the tap can look milky because it is full of tiny air bubbles. Pour some into a glass: air clears from the bottom up. Cold water holds more dissolved gas than warm water, so cold mains water warmed in the tank can release fine bubbles that cling to the glass and plants for hours.

In large amounts it can matter to fish. Water holding more dissolved gas than it should can form bubbles in the blood and gills, called gas bubble trauma. Before large water changes with very cold water, let the new water stand and come up to tank temperature, with an air stone if you have one. A steady stream of fine bubbles from the filter outlet usually means it is drawing in air through a loose seal or a low water level.

What not to do

Reach for clarifiers and flocculants first

Water clarifiers work by making tiny particles clump together, so the filter can catch them or they sink. They treat the look of the water, not the cause. Fix the cause first, then use a coagulant only if you still need one. Used carelessly, they bring problems of their own:

  • Aluminium-based coagulants use up alkalinity. In soft water with KH below about 1 °dKH (20 ppm), they can lower pH far enough to harm fish.
  • Positively charged polymer flocculants are toxic to fish at very low doses. For rainbow trout, the dose that kills half the fish is about 0.3 mg per litre. A 2022 study found that the polymer builds up on the gills and stops the fish taking up enough oxygen.
  • Coagulants also strip phosphate, which planted tanks need.
  • The clumps sit in the filter and break down there unless you clean the mechanical media afterwards.

If you do use one, test ammonia and nitrite first, measure the dose exactly, never add extra, and clean the floss or sponge a day or two later.

Strip the tank clean

A total clean-out makes cloudy water worse. Replacing all the water, scrubbing every surface and rinsing the filter under the tap removes the bacteria that keep ammonia at zero, which brings more ammonia and more blooms. Clean in stages instead. Rinse filter media in water taken out of the tank, and never clean the filter and vacuum the whole substrate on the same day.

Overdose

  • Medicines: never dose more than the label says, and do not stack treatments.
  • Algae killers: killing a dense bloom all at once leaves a mass of dead algae whose breakdown can strip the oxygen from the water. For this reason, ponds are treated a quarter to a third at a time.
  • Reef supplements: overdosing alkalinity, calcium or limewater causes the snowstorms described above.
  • pH chemicals: chasing a number with acid or buffer products causes swings that do more harm than the original reading.
  • Several products at once: adding a clarifier, a bacteria starter and a medicine in the same week makes it impossible to tell what worked or what did harm.

Checklist: test first, then treat

  1. Look and note

    Write down the colour, when it started and anything that changed in the days before: new fish, a filter clean, a medicine, a new piece of wood, extra food.

  2. Test

    Ammonia and nitrite first, then nitrate, pH and KH. In reef tanks, add alkalinity, calcium and magnesium. Test your tap water too if the problem keeps returning.

  3. Check the animals

    Count them. Look for gasping, fish hanging at the surface or lying on the bottom, and clamped fins.

  4. Fix ammonia or nitrite first

    If either reads above zero, cut feeding and change 25 to 50% of the water daily until both read zero.

  5. Match the cause

    Use the table below.

  6. Change one thing at a time

    Then give it time. Most cloudy water takes days, not hours, to clear.

What you seeLikely causeWhat to do
Milky white haze, often overnight, in a new or recently disturbed tankBacterial bloomTest ammonia and nitrite. If both are zero, feed lightly and wait. If not, cut feeding and change water daily.
Grey or white haze straight after filling or rearrangingSubstrate dustLet it settle. Add fine filter floss and rinse it often. Rinse sand and gravel well next time.
Green water, worse in bright light or sunshinePhytoplankton bloomCut the light and feeding, keep up water changes, and remove the cells with UV or fine filtration.
Clear but tea brown or amber, with wood or leaves in the tankTanninsHarmless. Use activated carbon and water changes if you dislike the colour.
Yellowish, with no wood, and rising nitrateDissolved organic wasteLook for decay, then catch up on water changes and filter maintenance and feed less.
Sudden white cloud in a reef tank after dosingCalcium carbonate precipitationStop dosing, test alkalinity, calcium and magnesium once clear, and correct slowly.
Cloudy after a medicineFilter bacteria harmed, or the medicine itselfTest ammonia and nitrite daily and follow the medicine's instructions.
White haze or crust in hard waterCalcium carbonate from hard waterHarmless. Ease off buffers and heavy aeration, or blend with reverse osmosis water.
Milky new water that clears from the bottom upTiny air bubblesHarmless. Let new water stand and warm up before large changes.

If you are setting up for the first time, choosing your first aquarium covers the set-up choices that prevent most of these problems.