Water & maintenance

Fish Tank Smells Bad? Rotten Egg, Fishy and Musty Smells Fixed

By The FishFits team · Updated

A healthy aquarium smells faintly earthy or like nothing at all, so a bad smell means something is wrong. Rotten egg means hydrogen sulfide from waste trapped in the substrate, fishy or sour means rotting food or a dead animal, and earthy or musty means cyanobacteria (slime algae) or new driftwood. Remove the source, test ammonia and nitrite, change 25–30% of the water, and cut back feeding. For rotten egg, don't stir or vacuum a deep substrate all at once, because that can release the trapped gas, which is harmful to fish.

A healthy tank smells like nothing or, at most, like damp soil. If you can smell it from across the room, something is decaying or running low on oxygen. Find the smell below, remove the source, and test the water before you do anything drastic.

Match the smell to the cause

Smell Most likely cause First thing to do
Rotten eggs or sulfur Hydrogen sulfide from waste trapped in deep or compacted substrate (also check your tap water) Add surface agitation, test ammonia, clean the substrate gently in sections
Fishy, rotten fish or meat A dead fish or snail, or uneaten food rotting Find and remove it, then test and change water
Sour, vinegary or like sewage Heavy decay, a neglected tank, or a clogged filter Test, clean the filter media in tank water, start small daily water changes
Earthy, musty or swampy Cyanobacteria (blue-green slime algae), or new driftwood and leaves Look for slime sheets, check the wood
Chlorine or chemical Fresh tap water, new decor or silicone, a medication or cleaning product residue Rinse, run carbon, change water

Take one minute to check the obvious first. Smell a glass of fresh tap water, then the filter outlet, then the substrate, and then lift the lid and check the corners. The place where the smell is strongest is usually the source.

Rotten egg smell: hydrogen sulfide

Bacteria that live without oxygen break down waste and produce hydrogen sulfide, which smells like rotten eggs. In a tank, this happens in thick, compacted or very fine substrate where waste collects and water barely flows through. A deep layer of fine sand with nothing to stir it is the usual suspect.

Hydrogen sulfide is harmful to fish, and a pocket that suddenly releases is the real danger. Practical Fishkeeping describes it as rare but lethal in a tank whose gravel has been left dirty for too long. So the approach is gentle and spread out, not one big clean.

What to do:

  1. Test ammonia and nitrite. If either reads above 0 ppm, treat that first (the ammonia guide has the emergency steps).
  2. Increase surface movement with an air stone or by pointing the filter outlet at the surface. Moving water drives the gas out and puts oxygen into the water.
  3. Clean in sections. Vacuum only about a quarter of the substrate surface at each water change, or the top inch of it, and don’t plunge the vacuum deep into a thick bed. Over a few weeks, work across the whole tank.
  4. Keep the substrate loose. Rake very shallow areas gently. Snails that burrow, such as Malaysian trumpet snails, keep sand turned over, but they multiply fast when you overfeed (snails in aquariums explains the trade-off).
  5. Fix the cause. Keep sand to roughly 1–2 inches (2.5–5 cm), feed less, and vacuum the surface regularly. Coarser sand or fine gravel lets water through more easily than powder-fine sand.
  6. Act right away if fish are gasping, clamped at the bottom or dying. Change 25–50% of the water with dechlorinated, temperature-matched water, add aeration, and skip feeding for a day.

Not from the tank at all? If your tap water smells of sulfur straight from the faucet, usually in homes on well water or with a water heater issue, it will smell in the tank too. Run the cold tap for a minute and smell it. A water supplier or plumber can sort out the cause, and an aerated bucket of water left overnight often loses the smell.

Fishy, sour or rotten smell: decay and overfeeding

A fishy or rotting smell nearly always means protein is decaying somewhere in the tank. The most common sources, in order, are:

  • A dead fish, snail or shrimp. Check behind decor, inside caves and tubes, in plants, and in the filter intake. Remove it right away. A dead fish can raise ammonia fast. If you find one, test the water and read why are my fish dying? in case more are at risk.
  • Uneaten food. Flakes and pellets pile up under decor and in the corners. Sinking food that bottom fish miss rots there.
  • A clogged filter. Debris trapped in sponges and canisters rots slowly and turns sour. Squeeze out clogged media in a bucket of old tank water, never tap water, which can kill the bacteria you need (how to clean a fish tank walks through it).
  • Rotting plant leaves, especially on a plant that has melted after being moved or a fast die-off.
  • Neglect. A tank that has gone months without a water change smells sour and looks yellow. Don’t fix it with one huge water change. Start with changes of 10–25% each day, testing first, because the pH may have drifted low and a sudden big change can make ammonia more toxic. Both Practical Fishkeeping and the Merck Veterinary Manual recommend small, repeated changes for tanks in this state.

The fix:

  1. Remove the source and siphon any waste you can see.
  2. Test ammonia, nitrite and nitrate, and change 25–30% of the water (50% if ammonia or nitrite is 0.5 ppm or higher, unless the tank is a neglected one as above). Use the water change calculator to work out the amount.
  3. Feed less. Give only what your fish finish in a minute or two and skip a day or two while things settle. How much to feed fish shows what a sensible amount looks like.
  4. Clean the filter media gently in old tank water.
  5. Retest daily until ammonia and nitrite read 0 ppm. If the water also looks milky, see cloudy water, because a bacterial bloom often follows a die-off.

Keep up regular water changes after that. They are the cheapest smell prevention there is.

Earthy or musty smell: cyanobacteria and wood

An earthy, musty or swampy smell is the only one of the lot that is often not an emergency. There are two usual causes.

Cyanobacteria (blue-green slime algae). It forms slimy sheets in blue-green, dark green, red or black, often in places with weak flow, and it has a distinct musty smell. Aquarium Co-Op notes that some people notice the smell up to two weeks before they see it. It tends to start where water barely moves and waste builds up, such as behind hardscape, on dirty substrate, or in a corner that gets constant light.

  1. Remove it by hand. Siphon, scrub or scrape off as much as you can, and take decor out to clean it separately. Cleanup animals generally won’t eat it.
  2. Fix flow. Point a filter outlet or small powerhead at the dead spot, and rearrange decor that blocks water.
  3. Cut the fuel. Vacuum the substrate, clean the filter, change water on schedule and feed less. Reduce stocking if the tank is crowded.
  4. Don’t rely on a blackout. Three to seven days without light is sometimes suggested, but it stresses plants and fish, and the slime often comes back within weeks if the cause remains.
  5. If it keeps spreading, an erythromycin-based slime treatment is commonly used. Follow the product label exactly, and keep the surface well aerated, because bacteria die-off can use up oxygen. Don’t use it alongside other medications unless the label says it is safe.

New driftwood and leaves. Fresh wood and botanicals give off a woody or swampy smell as they soak, and they can grow a harmless white or gray fuzz in the first weeks. Pre-soak wood and scrub it, and the smell and the fuzz fade. If the wood is slimy or smells sour, remove it. For tea-colored water, see cloudy water, which covers tannins.

Chlorine or chemical smell

A sharp chemical or swimming-pool smell right after a water change usually means unconditioned tap water. Add dechlorinator to the tank as the label directs, and check that you dose for the whole volume. New silicone, glue, paint on decor and cleaning residue can also leave a smell. Rinse new items well and run activated carbon for a few days. Never use soap or household cleaner on anything that goes into the tank.

Keep the smell from coming back

  • Feed small amounts and remove leftovers after a few minutes.
  • Do a weekly water change of 20–30% and vacuum the top of the substrate each time.
  • Keep substrate shallow, and keep the water moving across the whole tank.
  • Rinse filter media in old tank water when flow drops, not on a rigid schedule.
  • Do a quick head count every day so a dead fish never goes unseen for long.

When to worry

If the smell comes with gasping fish, clamped fins, ammonia or nitrite above 0 ppm in a cycled tank, or fish dying one after another, treat it as an emergency. Add aeration, do a partial water change, test daily, and contact an aquatic vet if fish keep dying once the water tests clean.

Frequently asked questions

Why does my fish tank smell like rotten eggs?

Usually it is hydrogen sulfide, made by bacteria in oxygen-starved pockets of deep or compacted gravel or sand where waste has built up. Less often it is rotting food or a dead animal, or sulfur in your tap water. Add surface agitation, test ammonia and nitrite, and clean the substrate in small sections over several water changes rather than all at once.

Is a smelly fish tank dangerous to fish?

A rotten egg or rotten fish smell can be, because it points to decay, ammonia, or hydrogen sulfide, which are all harmful. Test ammonia and nitrite right away and watch for gasping or lethargy. A faint earthy smell from wood or slime algae is not dangerous by itself.

Why does my fish tank smell after a water change?

Vacuuming can stir up waste trapped in the substrate and release its smell, which is a sign that waste was building up there. It can also be the tap water itself, so smell a glass of fresh tap water. If the smell fades within a day and the tests read zero ammonia and nitrite, regular smaller cleanings will keep it from returning.

How do I get the smell out of my tank without a full teardown?

Almost never needed. Find and remove the source (dead animal, uneaten food, slime algae), change 25–30% of the water, rinse clogged filter media in old tank water, and feed less. Tearing down a cycled tank kills the filter bacteria and usually causes more problems than the smell.

Does a fish tank with live plants smell less?

Often, yes, because plants take up some of the waste nutrients that feed smelly bacteria and algae. They don't replace water changes and substrate cleaning, and rotting leaves smell too, so trim dead leaves as they appear.

Sources