What Causes Ammonia in Fish Tanks and How to Fix It

Ammonia in a fish tank comes primarily from fish waste, uneaten food, and decaying organic matter. In a well-established aquarium, beneficial bacteria convert ammonia to less harmful compounds almost as fast as it’s produced, keeping levels at zero. When you’re getting an ammonia reading, something in that cycle has either not yet developed, been disrupted, or been overwhelmed. A healthy tank should always read 0 ppm for ammonia on a standard test kit.

Fish Waste Is the Primary Source

Fish produce ammonia constantly as a natural byproduct of digesting protein. When a fish eats, its body breaks down the amino acids in food, and the nitrogen left over is released primarily through the gills as ammonia. This happens continuously, not just after meals. Even a fasting fish produces ammonia by breaking down its own muscle proteins for energy.

Every other organic source in your tank adds to the total. Uneaten food that sinks to the substrate decomposes and releases ammonia. Dead plant leaves, a deceased fish you haven’t noticed, and the invisible film of waste that builds up in filter media all contribute. The more fish you have and the more you feed, the greater the ammonia load your tank’s biology has to handle.

New Tanks Lack the Bacteria to Process It

The most common reason for dangerous ammonia levels is a tank that hasn’t been cycled. “Cycling” refers to growing two groups of bacteria that work in sequence. The first group converts ammonia into nitrite, which is also toxic. The second group converts nitrite into nitrate, which is far less harmful and gets removed during routine water changes.

These bacterial colonies take weeks to establish in a new filter. During that window, ammonia climbs because nothing is consuming it yet. This is sometimes called “new tank syndrome,” and it’s the single biggest killer of fish in newly set up aquariums. The ammonia peak typically comes first, followed by a nitrite peak as the first group of bacteria kicks in but the second group hasn’t caught up. The full cycle usually takes four to six weeks before both populations are large enough to keep ammonia and nitrite at zero.

If you added fish before the cycle completed, or added too many fish at once to a cycled tank, the bacterial colony simply can’t keep pace with the ammonia being produced.

Chloramine in Tap Water

Many municipal water systems disinfect with chloramine, a compound made of chlorine bonded to ammonia. When you add a water conditioner during a water change, the conditioner breaks that bond and neutralizes the chlorine, but the ammonia portion remains in the water. If your tap water contains 0.5 to 4 ppm chloramine (a typical range for treated water), neutralizing it leaves roughly 0.2 to 1.3 ppm of ammonia behind.

In a fully cycled tank with a healthy filter, the beneficial bacteria will process this leftover ammonia within a day or two. But if your tank is new, overstocked, or the filter is compromised, that ammonia sits in the water column. It’s worth noting that no commercial water conditioner actually detoxifies ammonia, despite marketing claims. The conditioner handles the chlorine. Your biofilter handles the ammonia.

Killing Your Beneficial Bacteria by Accident

Even a well-cycled tank can spike in ammonia if the bacterial colony takes a hit. Several common mistakes cause this:

  • Rinsing filter media in tap water. Chlorine in tap water kills nitrifying bacteria on contact. Always rinse filter sponges and media in a bucket of old tank water.
  • Replacing all filter media at once. Most of your beneficial bacteria live in the filter. Swapping everything out at the same time removes the colony you spent weeks building.
  • Using antibiotics or medications. Some fish medications kill bacteria indiscriminately, including the nitrifying bacteria in your filter.
  • Draining too much water at once. Removing all or nearly all the water during cleaning can harm the bacterial population. Partial water changes of 25% to 50% are safer.
  • Prolonged power outages. Nitrifying bacteria need oxygenated water flowing through the filter. Without power, the colony in a canister or hang-on filter can die within hours.

After any of these events, you’re essentially dealing with a mini-cycle. Ammonia rises, and it takes days to weeks for bacteria to recover.

Overfeeding and Overstocking

A cycled tank has a bacterial colony sized to the ammonia load it regularly handles. If you double the number of fish, or start feeding heavily, ammonia production jumps faster than bacteria can multiply to match it. The same thing happens when a filter gets clogged with debris: water flow decreases, less ammonia reaches the bacteria, and readings climb.

Decomposing food is an especially sneaky source. Flakes and pellets that settle into gravel or behind decorations break down slowly, steadily releasing ammonia over days. A gravel vacuum during water changes helps remove this buildup before it becomes a problem.

Why pH and Temperature Make It Worse

Not all ammonia is equally dangerous. In water, ammonia exists in two forms: a toxic gaseous form and a much less toxic ionized form. The balance between the two depends heavily on pH and temperature. As pH rises above 7.0, a larger share shifts to the toxic form. The same happens as water gets warmer.

This means 1 ppm of total ammonia in a tank with a pH of 8.5 and a temperature of 82°F is dramatically more dangerous than 1 ppm in a cooler, more acidic tank at pH 6.5. The community consensus is that the toxic form should stay below 0.05 ppm. At 0.2 ppm it’s considered alarming, and at 0.5 ppm it becomes acutely toxic.

If your tank runs at a higher pH (common with African cichlids or livebearers), even small ammonia readings become urgent faster than in a soft, acidic setup.

How to Recognize Ammonia Stress in Fish

Fish suffering from ammonia exposure often gasp at the water’s surface, since ammonia damages gill tissue and impairs their ability to absorb oxygen. You may notice increased mucus on their bodies, giving them a slightly cloudy or slimy appearance. Reddened or inflamed gills are a hallmark sign, and in more advanced cases you’ll see bloody streaks on the body or fins.

Behaviorally, affected fish become lethargic and may sit on the bottom or hide. Some swim erratically or in spiraling patterns because ammonia also affects the nervous system. In severe spikes, fish die suddenly without obvious external symptoms. If you see any combination of gasping, lethargy, and reddened tissue, test your water immediately.

Keeping Ammonia at Zero

The target for ammonia in any established aquarium is always zero. Any detectable ammonia on a test kit signals that something is off with your biological filtration. The fix depends on the cause: if the tank is new, you need to allow (or restart) the cycling process. If the tank is established, look for a disrupted filter, a dead fish you missed, overfeeding, or a recent medication that may have wiped out your bacteria.

In the short term, partial water changes are the fastest way to physically dilute ammonia. Changing 30% to 50% of the water cuts the concentration immediately. For ongoing prevention, keep feeding modest (most fish thrive on what they can consume in two minutes), avoid cleaning the filter and doing a large water change on the same day, and stock your tank gradually so the bacterial colony can grow to match the bioload. A well-maintained filter and a reasonable number of fish are all it takes to keep ammonia permanently at zero.