Aquarium Water Chemistry: pH, Ammonia, Nitrates, and More
Water chemistry is the invisible foundation of every successful aquarium. Fish live their entire lives surrounded by water, and the quality of that water determines their health, growth, coloration, and lifespan. Unlike land animals that can move away from environmental problems, fish are completely dependent on you to maintain the chemical balance of their environment.
Many new aquarists lose fish to poor water quality without ever understanding why. The water that comes out of your tap may look clear and clean, but it contains chlorine, chloramine, heavy metals, and varying levels of minerals that affect its suitability for aquarium life. The fish themselves produce waste that breaks down into toxic compounds. Understanding how to test, interpret, and adjust water chemistry is the most important skill you can develop as an aquarist. This guide covers everything you need to know about the chemical parameters that keep fish healthy.
The Nitrogen Cycle
The nitrogen cycle is the most critical biological process in any aquarium. Understanding it is not optional — it is the key to keeping fish alive.
Fish excrete ammonia directly through their gills as a waste product of protein metabolism. Uneaten food and decaying plant matter also break down into ammonia. Ammonia is highly toxic to fish, causing gill damage, neurological problems, and death at concentrations as low as 0.25 parts per million.
Two groups of bacteria solve this problem. Nitrosomonas species oxidize ammonia into nitrite. Nitrospira species oxidize nitrite into nitrate. Nitrite is also toxic to fish, though slightly less so than ammonia. Nitrate is much less toxic and is removed primarily through water changes and plant uptake.
A mature biological filter cycles ammonia to nitrate within 24 hours. New tanks go through a cycling period of four to eight weeks while these bacterial colonies establish. During cycling, ammonia and nitrite levels spike to dangerous levels, which is why fish should not be added until the cycle is complete.
Testing for ammonia, nitrite, and nitrate during and after cycling tells you the state of your biological filtration. Liquid test kits are far more accurate than test strips. The API Master Test Kit remains the gold standard for freshwater testing. For more on setting up your tank correctly, see our aquarium setup guide.
pH: The Measure of Acidity and Alkalinity
PH measures how acidic or alkaline your water is on a scale of 0 to 14, with 7 being neutral. Most freshwater aquarium fish thrive in a pH range of 6.5 to 7.5. Saltwater tanks typically run at pH 8.1 to 8.4.
Stable pH is more important than hitting a specific number. Fish adapt to the pH of their aquarium water over time, but rapid pH swings cause severe stress. A sudden pH drop of more than 0.5 units within 24 hours can be fatal.
The pH of your tap water depends on your local water source. Well water tends to be harder and more alkaline, while surface water from reservoirs is often softer and more acidic. Test your tap water to know your starting point before choosing fish species that need specific pH conditions.
Low pH below 6.0 stalls the nitrogen cycle. Beneficial bacteria become less active in acidic water, leading to ammonia buildup. High pH above 8.5 makes ammonia more toxic because a larger proportion exists in the un-ionized form that crosses fish gill membranes more easily.
To adjust pH, use natural methods rather than chemical buffers that cause instability. Adding driftwood releases tannins that lower pH. Crushed coral or aragonite in the substrate buffers pH upward. Consistent water changes with properly prepared water are the safest way to maintain pH within your target range.
General Hardness and Carbonate Hardness
General hardness measures the concentration of dissolved minerals, primarily calcium and magnesium, in your water. Fish from soft-water environments like the Amazon basin — tetras, discus, angelfish — evolved in water with very low mineral content. Fish from hard-water environments like the African rift lakes — cichlids — need high mineral content for proper osmoregulation.
Carbonate hardness measures the bicarbonate and carbonate ions that buffer your water against pH changes. Water with high carbonate hardness resists pH swings. Water with low carbonate hardness can experience rapid pH drops when biological processes produce acids.
Discus and Amazon biotope tanks need soft water with low general hardness. Rift lake cichlid tanks need hard water with high general hardness and carbonate hardness. Most community fish tolerate moderate hardness. The key is consistency — dramatic changes in hardness stress fish just as much as pH swings.
Reverse osmosis water provides a blank slate for managing hardness. RO units remove nearly all dissolved minerals from tap water. You then add back the specific minerals your fish need using remineralization products. This approach gives you complete control over water chemistry but requires more equipment and effort.
Ammonia Toxicity
Ammonia exists in two forms in aquarium water: ionized ammonium and un-ionized ammonia. The un-ionized form is far more toxic. The proportion of toxic un-ionized ammonia increases with higher pH and higher temperature.
At pH 7.0, about 1 percent of total ammonia is in the toxic un-ionized form. At pH 8.0, the proportion rises to about 5 percent. At pH 9.0, it jumps to 25 percent. This means a small ammonia spike in a high-pH tank is much more dangerous than the same spike in a low-pH tank.
Signs of ammonia poisoning include gasping at the surface, rapid gill movement, red or inflamed gills, lethargy, and loss of appetite. Fish exposed to chronic low-level ammonia develop weakened immune systems and become susceptible to bacterial infections and parasites.
Treat ammonia spikes with immediate large water changes of 50 percent or more. Add a water conditioner that neutralizes ammonia, such as Seachem Prime, which binds ammonia into a less toxic form. Reduce or stop feeding until the biological filter catches up. Increase aeration to help fish cope with gill damage.
Nitrate Management
Nitrate is the end product of the nitrogen cycle and is far less toxic than ammonia or nitrite. However, high nitrate levels cause health problems over time, including suppressed immune function, reduced growth rates, and poor coloration.
In freshwater tanks, keep nitrate below 40 parts per million. For sensitive species and discus, keep it below 20 ppm. In saltwater reef tanks, nitrate below 5 ppm is ideal for coral health, though some soft corals tolerate higher levels.
Regular water changes are the most effective nitrate removal method. A 25 percent weekly water change reduces nitrate by 25 percent, assuming the replacement water has zero nitrate. Heavily planted tanks consume significant nitrate through plant growth. Floating plants like water lettuce and duckweed are especially effective nitrate consumers because they have access to atmospheric carbon dioxide.
For tanks where nitrate remains stubbornly high despite water changes, examine your feeding practices. Overfeeding is the most common cause of elevated nitrate. Reduce portion sizes and consider feeding every other day. Ensure your mechanical filtration is adequate — accumulated debris in the filter breaks down into nitrate over time.
Phosphates and Silicates
Phosphates enter the aquarium through fish food, tap water, and decaying organic matter. High phosphate levels fuel algae blooms, particularly the filamentous and blue-green algae that plague many tanks. Keep phosphate below 0.5 ppm in freshwater tanks and below 0.1 ppm in reef tanks.
Sources of phosphate include prepared fish foods, which contain phosphorus as a necessary nutrient, and tap water from municipal supplies that add phosphates for pipe corrosion control. Using reverse osmosis water eliminates the tap water source.
Phosphate-removing media like GFO bind phosphates and can be used in a reactor or filter bag. These media need replacement every few weeks as they become saturated. Reduce phosphate input by rinsing frozen foods before feeding and avoiding overfeeding.
Silicates fuel diatom algae, the brown dusty algae that appears on glass and decorations in new tanks. Tap water is the primary source. Diatoms typically disappear on their own as the tank matures. Using RO water prevents them from appearing in the first place.
Testing Your Water
Testing water parameters is not optional — it is the only way to know what is happening in your aquarium. Test strips provide quick snapshots but lack the accuracy needed for precise management. Liquid reagent test kits are more accurate and more economical over the long term.
The frequency of testing depends on the age of your tank. During cycling, test daily for ammonia and nitrite. In an established tank, test weekly for ammonia, nitrite, nitrate, and pH. Test monthly for general hardness, carbonate hardness, and phosphate. Test immediately whenever you notice unusual fish behavior, signs of disease, or after any equipment failure.
Keep a log of your test results. The log reveals trends that single readings miss. A slow upward trend in nitrate tells you that your water change schedule needs adjustment. A gradual pH decline suggests your buffering capacity is depleting. These patterns warn you of developing problems before they become emergencies.
Water Change Best Practices
Water changes are the single most effective maintenance practice for maintaining stable water chemistry. A weekly water change of 25 percent removes accumulated nitrates, replenishes buffering capacity, and dilutes any compounds that have built up in the water.
Use a gravel vacuum to remove debris from the substrate during water changes. This debris decomposes into ammonia and feeds the nitrate problem. Siphon the gravel thoroughly but avoid disturbing it so deeply that you uproot plants or disrupt the substrate layers.
Prepare replacement water in a clean bucket or container. Add dechlorinator to neutralize chlorine and chloramine. Match the temperature within a few degrees — use a thermometer to confirm. Aerate the water for a few minutes before adding it to the tank.
Add the prepared water slowly to avoid disturbing fish and substrate. Pour against your hand or a plate to diffuse the flow. Replace the exact volume you removed to maintain stable water chemistry.
FAQ
How often should I test my aquarium water?
During tank cycling, test daily for ammonia and nitrite. In an established tank, test weekly for ammonia, nitrite, nitrate, and pH. Test monthly for general hardness, carbonate hardness, and phosphate. Always test after any equipment malfunction or unusual fish behavior.
What causes high pH in my aquarium?
High pH is typically caused by mineral-rich tap water, limestone or coral decorations in the tank, or the use of alkaline-buffering substrates. Aerating water can also raise pH by driving off carbon dioxide. Test your tap water to identify the source.
Can I use tap water for my aquarium?
Yes, but you must treat it with a dechlorinator that removes chlorine, chloramine, and neutralizes heavy metals. Let the water sit for a few minutes after adding dechlorinator before using it. For sensitive species or reef tanks, reverse osmosis water is recommended.
Why is my tank water cloudy?
Cloudy water can result from a bacterial bloom during cycling, suspended particles from substrate disturbance, or a green water algae bloom. Bacterial blooms resolve on their own as the cycle completes. Green water requires UV sterilization or light reduction.
How do I lower nitrate in my aquarium?
The most effective nitrate reduction methods are regular water changes, reducing feeding, increasing plant mass, and using nitrate-removing filter media. Live plants, particularly fast-growing stem plants and floating plants, consume nitrate efficiently. See our guide on aquarium filtration for additional methods.