← All Guides Water Chemistry Beginner

Understanding Ammonia

Last updated:

Ammonia is the single most dangerous compound in any aquarium. This guide covers what NH3 and NH4+ actually are, where ammonia comes from, why it kills fish so fast, how to test for it, and exactly what to do when the test turns yellow.

📖 12 min read
🎯 Difficulty: Beginner
🧪 Requires: Liquid test kit
Updated: Jul 2026

Ammonia is the first thing that kills your fish and the first thing your test kit will catch. I have seen an ammonia spike kill a fully stocked 20 gallon tank in 24 hours — a single dead panda cory left unnoticed under a piece of driftwood, decaying for two days in a 78°F tank. By the time I smelled it and reached for the test kit, the reading was off the API color chart. Three of the fish were already dead. The others survived but never fully recovered their color. That is what ammonia does, and it is why every aquarium guide on this site starts with ammonia before anything else.

This is the deep-dive companion to the water parameters overview — the short version of what ammonia is and what to do about it. Here we go into the chemistry, the biology, the test kit behavior, and the specific failure modes that produce ammonia spikes. If you only ever memorize one water chemistry concept, make it this one. The rest of the nitrogen cycle (covered in the cycling guide and the upcoming nitrite and nitrate deep-dives) only matters because ammonia is so dangerous.

⚠️
The one rule that matters:

There is no safe level of ammonia in an aquarium with fish in it. The test should always read 0 ppm. Anything else is an emergency that needs fixing today, not tomorrow.

What Is Ammonia, Exactly?

Ammonia is a small molecule made of one nitrogen atom and three hydrogen atoms — chemical formula NH₃. In an aquarium, it exists in two forms at the same time: free ammonia (NH₃) and the ammonium ion (NH₄⁺). They swap back and forth constantly depending on the pH and temperature of the water. Free ammonia is the dangerous one. Ammonium is roughly 300 times less toxic and is the form your test kit is actually measuring most of the time at typical aquarium pH.

The shift between the two is pH-dependent. At a pH of 6.0, almost all the ammonia in your tank is in the ammonium form — relatively harmless. At a pH of 8.5, a significant fraction is in the toxic NH₃ form. This is why a 1 ppm ammonia reading in a discus tank at pH 6.0 is annoying but survivable, while the same 1 ppm reading in a Lake Malawi cichlid tank at pH 8.4 is an emergency. The number on the test is the same; the actual danger is dramatically different.

Temperature matters too. Warmer water pushes the equilibrium slightly toward toxic NH₃, and warmer water holds less oxygen, so a tropical tank at 28°C is hit twice as hard by the same ammonia concentration as a coldwater tank at 18°C. This is why summer heat waves cause ammonia deaths in goldfish ponds — the warm water both increases toxicity and reduces the oxygen the fish need to survive the gill damage.

pH% as toxic NH₃ (at 25°C)Toxicity of 1 ppm total ammonia
6.0~0.05%Very low
6.5~0.15%Low
7.0~0.5%Moderate
7.5~1.5%Significant
8.0~5%High
8.5~15%Very high
9.0~35%Lethal

Where Ammonia Comes From

Every living thing in your tank produces ammonia. Fish excrete it directly through their gills as a byproduct of protein metabolism — about 75% of a fish's nitrogen waste leaves through the gills as ammonia, not as feces. The other 25% leaves as solid waste, which is then decomposed by bacteria into more ammonia. So fish are ammonia factories the moment they enter your tank.

Uneaten food is the second major source. A single wafer of catfish food left to rot over a weekend can produce enough ammonia to spike a 10 gallon tank past 1 ppm. Decaying plant matter — leaves melting after a trim, dead root systems from a plant that did not transition well, algae dying back after a blackout — all contribute. Even the bacteria in your filter produce trace ammonia as they break down organic matter, though a healthy filter colony consumes more ammonia than it produces.

The other sneaky source is your tap water. Many municipalities use chloramine (chlorine bound to ammonia) for disinfection. When you add a dechlorinator like Seachem Prime, it breaks the chlorine-ammonia bond, neutralizes the chlorine, and leaves the ammonia behind in your water. Prime then binds that ammonia for 24 to 48 hours while your filter processes it. In a cycled tank this is invisible — the bacteria eat the ammonia before Prime lets go of it. In an uncycled tank, you can dose a 50% water change with chloraminated tap water and immediately read 0.5 ppm ammonia. It is not a malfunction; it is the chemistry working as described.

Why Ammonia Is So Lethal

Ammonia kills by suffocating fish from the inside out. It crosses the gill membrane and binds to hemoglobin in the fish's blood, forming methemoglobin, which cannot carry oxygen. The fish's blood loses its ability to deliver oxygen to tissues even when the water is fully oxygenated. This is the same mechanism as carbon monoxide poisoning in humans — the oxygen is there, but the blood cannot pick it up. The fish literally suffocates while swimming in oxygen-rich water.

At the same time, ammonia burns the gill tissue directly. The gills are the most delicate exposed tissue on a fish — thin membranes designed for gas exchange, with no protective scales. Ammonia in the water causes the gill epithelium to thicken and produce excess mucus as a defense, which further reduces gas exchange. The fish gasps at the surface (where oxygen is highest), gills flaring, often with visible redness or bleeding. Long-term exposure even at sublethal levels causes permanent gill scarring that shortens the fish's life.

The damage happens fast. At 2 ppm of free ammonia in moderately alkaline water, gill damage begins within hours. At 4 ppm, death follows within 4 to 12 hours for most community species. At 8 ppm, even hardy fish like guppies and danios die within the hour. There is no gradual buildup — the fish looks fine one hour and is dead the next. That is why ammonia is the parameter to test first when anything is wrong with the tank.

Ammonia and the Nitrogen Cycle

In a properly cycled tank, ammonia never accumulates because bacteria eat it as fast as it is produced. Nitrosomonas bacteria (and a few related genera) live in your filter media and oxidize ammonia into nitrite. A second group, Nitrospira, oxidize nitrite into nitrate. The full chain — ammonia to nitrite to nitrate — is the nitrogen cycle, and it is the entire reason a tank needs to be cycled before fish go in.

The cycle only works if the bacterial colony is large enough to handle the bioload. Cycle a 20 gallon tank with 2 ppm of ammonia per day, and you grow a colony sized for that load. Add 6 fish that together produce 1.5 ppm per day — fine, the colony can handle it. Add 15 fish that together produce 4 ppm per day — the colony cannot keep up, ammonia accumulates, and you have a spike. This is called a "mini-cycle" and it is the most common cause of ammonia in an established tank.

The cycle also fails when the bacteria are killed. Chlorinated tap water rinsed through filter media crashes the colony in seconds. Antibiotic medications, copper-based parasite treatments, and some plant fertilizers at overdose levels all damage nitrifying bacteria. A complete filter media replacement — the kind the filter cartridge packaging tells you to do every 4 weeks — throws away 90%+ of your bacterial colony and guarantees an ammonia spike within days. Never replace filter media all at once; rinse it in tank water and put it back until it physically falls apart.

How to Test for Ammonia

Use a liquid test kit. The API Freshwater Master Test Kit is the standard — $25, lasts a year, accurate enough to trust. Test strips are notoriously inaccurate for ammonia and will tell you a tank is safe when it is not. The API ammonia test uses the salicylate method: you add two reagent drops to a vial of tank water, shake, wait five minutes, and compare the color to a chart that runs from yellow (0 ppm) through green to deep blue (8 ppm).

The detection floor is 0.25 ppm — the faintest green tint above pure yellow. This is why every new aquarist sees "0.25 ppm" at some point and panics. In reality, the kit is telling you "ammonia is somewhere between 0 and 0.25 ppm." A truly zero reading is pure yellow, no green tint. Any visible green at all means there is ammonia present and you need to act.

Test ammonia when anything looks off with the tank. Fish gasping at the surface, hanging near the filter outlet, clamped fins, sudden lethargy, a dead fish, cloudy water after a water change, a smell of rotten eggs or rotten fish — all warrant an ammonia test. Also test after any major disruption: a new fish added, a filter cleaning, a medication course, a power outage, a heat wave. The ammonia test is the single most useful diagnostic tool in the hobby.

What Causes Ammonia Spikes

Five causes account for almost every ammonia spike I have seen in my own tanks and the tanks of friends who text me for help. Overfeeding is the leader by a wide margin — uneaten food rots and releases ammonia in hours. A new tank that was not cycled, or was cycled with a low bioload and then stocked all at once, will spike as the bacterial colony struggles to catch up. A dead fish left unnoticed is the silent killer — a small fish decomposing under decor can spike a 10 gallon tank in 24 hours.

Overstocking is the fourth — too many fish for the filter to handle, even if the tank was cycled. The cycle is sized to the bioload it was cycled with; doubling the bioload in a week outpaces bacterial reproduction, which takes 7 to 24 hours per doubling under ideal conditions. Filter damage rounds out the top five — rinsing media in tap water, replacing a cartridge, running a UV sterilizer during a medication course, or letting the filter run dry during a water change all damage the bacterial colony and produce a spike within days.

Two less common causes are worth knowing. pH crash below 6.0 puts nitrifying bacteria into dormancy — they stop processing ammonia, and the ammonia already in the water accumulates. Medications containing antibiotics or copper can kill nitrifying bacteria outright; always assume your cycle is damaged after a medication course and test daily for a week.

How to Fix an Ammonia Spike

The fix is mechanical, chemical, and biological, done in that order. Step 1: water change. A 50% water change with dechlorinated, temperature-matched water immediately halves the ammonia concentration. This is the single most effective thing you can do. Do not skip it because you have Prime — Prime binds ammonia for 48 hours but does not remove it; water change actually removes it.

Step 2: stop feeding. Do not feed the fish for 24 to 48 hours. Fish can go a week without food without harm; an ammonia spike is not the time to be putting more organics into the tank. The bacteria need to catch up, and starving the system of new ammonia is the fastest way to let them. Resume feeding only after ammonia reads 0, and feed sparingly — half portions, once a day.

Step 3: add Seachem Prime at the standard dose (1 mL per 10 gallons). Prime binds free ammonia into a non-toxic form for 24 to 48 hours, protecting the fish while your bacteria work. Redose every 48 hours if ammonia is still present. Prime is a bandage, not a cure — it buys time, but you still need water changes and a healthy bacterial colony to actually clear the ammonia.

Step 4: add bottled bacteria if the spike is from a damaged cycle or a new tank. Dr. Tim's One and Only, Tetra SafeStart, and FritzZyme 7 contain live Nitrospira and Nitrosomonas that can rebuild a colony in days rather than weeks. Dose once, do not redose daily (the bacteria reproduce on their own), and turn off UV sterilizers during the dose. Step 5: find and fix the root cause. A spike that comes back after a water change means the source is still there. Check for dead fish, siphon the substrate for uneaten food, reduce feeding, replace damaged filter media with seeded media from an established tank if available.

💡
The order matters:

Water change first, every time. Then Prime. Then bottled bacteria. Reversing the order wastes the Prime (it gets diluted by the water change) and wastes the bacteria (they get flushed out before they can colonize). Water change, Prime, bacteria, root cause — in that order, every time.

Ammonia vs Ammonium — Why pH Matters

The same ammonia test reading means very different things at different pH values, because the split between toxic NH₃ and relatively safe NH₄⁺ depends on pH. At pH 6.0, only about 0.05% of total ammonia is in the toxic NH₃ form — a 2 ppm reading is genuinely only 0.001 ppm of the dangerous stuff. At pH 8.5, that same 2 ppm reading is 0.3 ppm of NH₃ — enough to damage gills in hours. The test does not distinguish between the two; you have to know your pH to interpret the result.

This is why discus and cardinal tetra keepers running tanks at pH 6.0 can sometimes shrug off a 0.5 ppm ammonia reading that would be a crisis in an African cichlid tank at pH 8.4. It is also why the same fish that survives a mini-cycle in soft, acidic water dies in hard, alkaline water — the bacterial biology is identical, but the chemistry of toxicity is wildly different. Most online "ammonia toxicity charts" assume pH 7.0 and 25°C, which understates the danger for high-pH tanks and overstates it for low-pH tanks.

The practical implication: if you keep hard-water, high-pH species (African cichlids, livebearers, many goldfish), you have less margin for error on ammonia than a soft-water keeper does. Test more often, feed more conservatively, and never tolerate a measurable ammonia reading. If you keep soft-water species, the same advice applies — your margin is wider, but ammonia is still poison, and "less toxic" is not "safe."

Temperature and Ammonia Toxicity

Higher temperatures shift the ammonia-ammonium equilibrium slightly toward toxic NH₃, and they reduce dissolved oxygen at the same time. A tank at 28°C has roughly 1.5x the toxic NH₃ fraction of a tank at 20°C, and about 15% less dissolved oxygen. The fish are hit on both sides — more toxic ammonia in the water, less oxygen to survive the gill damage.

This is why summer heat waves are dangerous even in tanks without ammonia problems. A tank that reads 0.5 ppm ammonia at 24°C is annoying; the same tank at 30°C during a heat wave is an emergency. Lower the temperature (float ice bags, run a fan across the surface, do a cool water change), then handle the ammonia. Conversely, fish-in cycling is sometimes done at 27 to 28°C because the bacteria grow faster at that temperature — but only if you are running zero ammonia through daily water changes. Heat helps bacteria but hurts fish; you cannot have it both ways during a spike.

Cold-water tanks have the opposite problem. Goldfish ponds in winter have very low ammonia toxicity per ppm, but the bacteria also slow down — nitrification effectively stops below 10°C. The fish are not eating much, so ammonia production is low, but if a fish dies unnoticed in a cold pond, the ammonia can sit in the water for weeks because nothing is processing it. Test cold-water tanks in winter too, especially after a fish death.

Frequently Asked Questions

What level of ammonia is safe in an aquarium?

Zero. There is no safe level of ammonia in an aquarium with fish in it. Any reading above 0 ppm is a problem. Even 0.25 ppm causes gill irritation; 2 ppm causes chemical burns; 4 ppm and above is lethal within hours to most species. The API liquid test kit has a 0.25 ppm detection floor, so any visible yellow-green tint means you need to act immediately.

How long does it take for ammonia to kill fish?

At high concentrations (4 ppm or more), ammonia can kill fish within hours. At moderate levels (1 to 2 ppm), fish may survive for days but suffer permanent gill damage. At 0.25 to 0.5 ppm, fish often survive but are stressed, prone to disease, and unable to thrive. I have seen an ammonia spike kill a fully stocked 20 gallon tank in 24 hours when the source was a dead fish left unnoticed overnight.

Does Seachem Prime actually remove ammonia?

Prime does not remove ammonia — it temporarily binds free ammonia (NH3) into a non-toxic form for 24 to 48 hours, giving your filter bacteria time to catch up. The ammonia is still measurable on a test kit, but it is not harming the fish. After 48 hours, the bond breaks and the ammonia becomes toxic again. Prime is a bandage, not a cure — use it during a spike while you do water changes and address the root cause.

Why does my ammonia test keep reading 0.25 ppm?

Three common causes. First, the API test reagent degrades over time and can give a false 0.25 reading on perfectly clean water — test your tap water with the same kit; if it also reads 0.25, the kit is the problem. Second, chloramine in tap water reads as ammonia after dechlorination because Prime splits chloramine into chlorine (neutralized) and ammonia (left behind). Third, you may genuinely have a small constant ammonia source — usually overfeeding, a small dead snail, or filter bacteria knocked back by a recent media cleaning.

Continue Learning

Water Parameters Guide
Nano Tank Cycling
Understanding Nitrite
Understanding Nitrate

Related Calculators

Browse by Category