Cycling

What Is the Nitrogen Cycle in an Aquarium?

Bacteria in an aquarium turn ammonia from fish waste into nitrite, then nitrate. Learn how the nitrogen cycle works and why a new tank needs weeks to be ready.

On this page
  1. Where the ammonia comes from
  2. The steps and who does them
  3. Why the bacteria live on surfaces
  4. What the bacteria need
  5. Why a new tank takes weeks
  6. How the readings change
  7. What a cycled tank looks like
  8. Keeping the colony working
  9. Cloudy is not the same as cycled
  10. Putting it together

The nitrogen cycle is how bacteria in an aquarium break down fish waste. Fish and their leftover food release ammonia, which is toxic to fish. Bacteria that live on surfaces in the tank first convert it to nitrite, which is also toxic, and then to nitrate, which is far less harmful at the levels most tanks reach. A tank is cycled when it has enough of these bacteria to handle the waste its fish make. A new tank does not have that colony yet, so it needs time before it is ready for fish.

Where the ammonia comes from

Fish release most of their ammonia through their gills, with some in their urine. Uneaten food and decaying plant matter add more. In a small or overfed tank, ammonia can build up within days, which is why the bacteria need to be in place early.

The steps and who does them

Two groups of bacteria do most of the work:

  • One group, including Nitrosomonas and related species, turns ammonia into nitrite.
  • A second group, including Nitrospira and related species, turns nitrite into nitrate.

Ammonia and nitrite are both harmful to fish. Nitrate is much less harmful, but it still builds up over time. It leaves the tank through water changes, and live plants can take some of it up too.

Why the bacteria live on surfaces

Most of the bacteria attach to surfaces rather than drifting in the water. They grow on filter media, gravel, decorations, the glass and plant leaves. That is why the filter matters so much. Media with a lot of surface area, and water flowing over it, can hold a larger colony. Cleaning the filter can cost part of the colony, so how to clean aquarium filter without killing bacteria is worth reading before the first clean.

What the bacteria need

The bacteria need oxygen, a steady supply of ammonia and then nitrite, a pH that is not too acidic, and water that is warm enough for them to work but within the range the fish can tolerate. Most of these come together in a running, well-set-up tank. The two that tend to go missing are a steady ammonia supply in a new tank, and a pH that drops over time in soft water.

Why a new tank takes weeks

The colony grows only as fast as its food arrives. A new tank starts with very few of these bacteria, so ammonia builds up before they can keep up. They multiply slowly, and it usually takes several weeks for enough of them to handle the waste. Temperature, pH and oxygen all change how quickly this happens, which is why the answer to “how long does it take to cycle a fish tank” depends on conditions.

Some keepers learn how to fishless cycle a tank, which means adding ammonia on purpose so the colony grows before any fish go in. Others cycle with fish already in the tank, which exposes the fish to the process as it happens.

How the readings change

Testing all three compounds gives the clearest picture. Learning how to test aquarium water properly matters here, since a bad reading can look like a failed cycle. A typical pattern goes like this:

  • Ammonia rises first, from fish waste or from a deliberate dose.
  • Nitrite appears as the first group establishes, and ammonia starts to fall.
  • Nitrate appears as the second group establishes, and nitrite starts to fall.
  • Once the bacteria can process ammonia and nitrite as fast as they arrive, the readings stay at zero.

For what each compound does to fish at different levels, see ammonia nitrite and nitrate in fish tank.

What a cycled tank looks like

A cycled tank handles ammonia quickly. If you add a small dose, ammonia and nitrite fall to zero within about a day, and nitrate can be measured. That tells you the colony is large enough for that load. It does not mean the tank can handle any load. A heavily stocked tank can need a larger colony, and a disturbance can set the colony back.

Many readers ask “How do I know when my fish tank is cycled?” The answer is a test. The look of the water is not a reliable guide.

Keeping the colony working

A few habits protect the bacteria:

  • Keep the filter running. The bacteria need oxygen and a steady flow of water.
  • Rinse filter media in water taken from the tank, not tap water. Chlorine and chloramine can kill bacteria.
  • Treat tap water with a conditioner before it goes into the tank. If your supplier uses chloramine, the conditioner needs to treat that too.
  • Check medication labels. Some treatments and antibiotics can harm the bacteria.

Water changes remove nitrate. Learning how to do a water change in fish tank properly helps here. A very large change also removes the ammonia the bacteria need, so moderate changes are usually a better choice while the colony is still building.

Cloudy is not the same as cycled

New tanks often develop a bacterial bloom, a haze of free-floating bacteria that can make the water look cloudy. A bloom can appear while the cycle is still developing, and clear water does not prove the cycle is complete. If the water is cloudy, the question “why is my fish tank water cloudy” has its own set of answers, and the test is still the best check on the cycle.

Putting it together

The nitrogen cycle is a two-step chain that turns fish waste into nitrate, which water changes and plants then remove. A new tank needs time to build a colony that can handle that chain. Testing ammonia, nitrite and nitrate shows where the tank is in the process. Once it handles ammonia and nitrite as fast as they arrive, it is ready for fish. Until then, the goal is to keep the bacteria alive, feed them ammonia when needed and avoid anything that would wipe them out.

If progress stalls, “why is my new aquarium not cycling” lists the usual causes to check next.

Keep exploring

Guides from other topics

All topics →