7 Causes Of Ammonia Spikes In Aquariums (And How To Easily Prevent Them)
Many new fishkeepers are surprised when ammonia suddenly shows up in their tanks—even after the aquarium has already been cycled.
This kind of unexpected rise in ammonia levels is called an ammonia spike, and it can cause serious problems for your fish.
Once a tank is stocked, ammonia spikes become dangerous because they can damage fish gills, cause stress, and even lead to illness or death1.
The good news is that most spikes are preventable if you understand the common causes.
In this guide, we’ll look at some of the most overlooked reasons ammonia can appear in a mature aquarium—and how you can stop them before they become a problem.
KH Depletion: When Your Water Loses Stability

KH (carbonate hardness) is a measure of how much carbonate and bicarbonate is in your water.
If KH levels suddenly drop too low (below about 4.5 dKH or 80 ppm), the bacteria that process ammonia in tanks can start to die off2.
When that happens, ammonia may build up in your tank, resulting in a spike.
When Is KH Depletion A Problem?
KH depletion issues usually show up more in aquariums with:
- Hard water
- Higher pH
- Warmer, tropical temperatures
That’s because the main ammonia-processing bacteria in those setups rely on KH to survive.
On top of that, the ammonia to ammonium ratio is high in toxic ammonia at higher pH warm water levels, which makes stability even more important3.
How To Prevent KH Depletion
The good news is that KH depletion is rarely a problem in most tanks as long as you:
- Avoid overstocking and overfeeding
- Perform regular partial water changes (which usually replenish KH from your tap water)
Some aquarists also add limestone-based hardscape like seiryu stone or KH mineral salts if needed, but for beginners, simple water changes are usually enough.
Do All Tanks Need KH?
Not always.
If your tank runs with a pH below 7.3 and stays cooler than 25°C (77°F), you don’t usually need to worry about KH.
That’s because different microorganisms (like ammonia-oxidizing archaea4 and commamox bacteria5) take over the job of processing ammonia in lower-pH, cooler environments6.
Best for Beginners: If you’re doing regular water changes with your tap water, KH depletion usually won’t be an issue. Just test your water every so often to be sure everything stays stable.
Low Dissolved Oxygen: When Your Tank Runs Out Of Breath

Just like fish, the beneficial microorganisms most people use in their aquariums need oxygen to survive.
These microorganisms run the nitrogen cycle, converting harmful waste (ammonia and nitrite) into less toxic nitrate.
If oxygen levels drop too low, the microorganisms can die off, leaving ammonia to build up in the water.

Signs Of Low Oxygen In Your Tank
- Fish gasping at the surface
- Shrimp clustering near the top of the tank
- Sluggish or stressed behavior in livestock
These happen because oxygen enters the water most effectively at the surface.
If your tank doesn’t have enough water movement, gas exchange slows down, and oxygen levels drop.
How To Fix And Prevent It
The easiest solution is to add an air stone or an air-powered filter connected to an air pump.
As bubbles rise and break the surface, they:
- Increase contact between air and water
- Create ripples that expand the surface area
- Reduce surface tension, making gas exchange more efficient7
For larger tanks, you’ll need stronger air pumps or multiple air stones to keep oxygen levels balanced.
Do You Always Need Extra Oxygen?
Not always.
If your aquarium is lightly stocked and filled with healthy, fast-growing plants, oxygen depletion is far less likely.
That’s because plants naturally release oxygen during the day.
More advanced aquarists sometimes use “anoxic filtration” methods8 to avoid oxygen issues, but beginners don’t need to worry about this.
Best for Beginners: If you ever see fish gasping at the surface, consider adding an air stone. It’s one of the simplest and cheapest pieces of equipment you can get, and it prevents oxygen-related ammonia spikes.
Temperature Swings: When Sudden Changes Stress Your Tank

Stable water temperature is crucial for both your fish and the microorganisms that keep your tank healthy.
Sudden swings—whether from a heat wave or a cold snap—can upset the balance of your aquarium’s ecosystem.
The two main problems:
- Microorganisms slow down – The bacteria that process ammonia and nitrite work best within certain temperature ranges. If the water suddenly shifts, one group may struggle before the other group has time to take over.
- Less oxygen in warmer water – Hot water can’t hold as much oxygen9, which makes it harder for both fish and bacteria to breathe. This ties back to the low oxygen problem we covered earlier.
When combined, these factors can trigger ammonia spikes.
The “Crossover Point” Explained
Aquariums usually rely on two broad groups of microorganisms:
- Tropical bacteria (strongest above 25°C / 77°F)2
- Subtropical microorganisms (better below 25°C / 77°F)6
If your tank temperature spikes or dips around this temperature point for days at a time, both groups may underperform until one colony grows enough to stabilize the cycle.
That’s when spikes are most likely.
How To Prevent Temperature Swings From Causing Spikes
- Use a reliable aquarium heater in winter to avoid dips.
- Use fans, open lids, or even aquarium chillers in hot weather to avoid overheating.
- Test your water regularly during seasonal changes.
- If ammonia rises, perform partial water changes to protect your fish until things stabilize.
Short swings that last just a few hours aren’t usually a problem, but if they continue for a couple of days, it’s time to take action.
Best for Beginners: Invest in a reliable heater, and during heat waves consider a fan aimed at the tank to cool it down. Keep an eye on your thermometer, and if your water temperature changes for more than a day, test for ammonia just to be safe.
pH Swings: When Your Water Chemistry Shifts Too Quickly

pH measures how acidic or alkaline your water is, and most fish and microorganisms prefer stability.
A sudden or long-lasting swing in pH can make it hard for the beneficial microorganisms in your tank to keep processing ammonia.
Short-term changes usually aren’t a problem, but big shifts that last for days or weeks can cause serious issues.
How microorganisms are affected:
- Tropical bacteria work best at pH 7.3–8.02
- Subtropical microorganisms can handle down to pH 6.010
- Nitrotoga can survive even lower, around 5.7–6.011
If your tank’s pH suddenly shifts from one range to another, the microorganisms that were doing the work may slow down or even die, while the new group takes time to grow.
During that gap, ammonia can build up.
Common Cause: Aquasoil
One of the most common ways aquarists accidentally trigger pH swings is by adding aquasoil to an established tank.
Aquasoil releases hydrogen ions, which can lower pH significantly—especially in aquariums with hard, alkaline water.12
If your tank doesn’t have buffering materials like limestone rocks, your KH (carbonate hardness) may not be strong enough to resist the drop.
In just a few hours, your tank could shift from a tropical range into a subtropical one, leaving your fish with the same waste load but fewer microorganisms to process it.
How To Prevent pH Swings
The simplest solution is to research before making big changes.
Adding aquasoil, switching substrates, or even adding certain rocks and decorations can all affect pH.
Knowing what to expect helps you prepare and avoid surprises.
Best for Beginners: Before adding aquasoil or new hardscape, test your pH and KH. If your KH is low, your tank is more vulnerable to swings. Research the product first so you know how it will affect your water chemistry.
Aquasoil Adjustments: Why It Can Cause Ammonia Spikes

Aquasoil is a popular choice for planted aquariums because it’s rich in nutrients, especially nitrogen, which helps plants grow faster.
But when you first add it, that extra nitrogen is released into the water as ammonia.
This means your tank may experience a spike even if it was already mature and stable.
Scenario 1: Low-pH tanks
If your aquarium already has lower pH water, aquasoil usually isn’t a big problem.
- The pH doesn’t drop much further.
- Most of the ammonia shows up as ammonium, which is far less toxic to fish.
- Established microorganisms quickly adjust and expand their colonies, usually within a day or two, to handle the extra waste.
In this case, there’s often nothing extra you need to do.
Scenario 2: High-pH tanks
If your tank has hard, alkaline water (high pH), adding aquasoil to a mature tank can be riskier.
Here’s why:
- Aquasoil lowers the pH quickly, which can wipe out the tropical microorganisms that thrive in high-pH environments.
- Your tank suddenly becomes low pH, but without the right bacteria to process waste.
- New microorganisms (archaea and commamox bacteria) need to start colonies from scratch. During this time, both ammonia and nitrite can rise to harmful levels.
In this situation, you may need to do daily water changes for a couple of weeks until the new colonies grow large enough to handle the bioload.
Bottled bacteria usually won’t help, since most only contain the high-pH strains that just died off.
How To Reduce The Risk
If your aquarium contains limestone rocks or other KH sources, they can help buffer the pH and reduce the swing when you add aquasoil.
But if your tank doesn’t have that natural buffering, you need to take extra care.
Best for Beginners: If you want to use aquasoil, it’s safest to add it when setting up a new tank rather than in an established one. If you do add it to a mature tank, be prepared for daily water testing and water changes until things stabilize.
Filter Disruption: Mistakes That Harm Your Beneficial Bacteria

Your filter does more than just catch debris—it houses colonies of beneficial microorganisms (often called “beneficial bacteria”) that process ammonia and nitrite.
If these bacteria are harmed or removed, your tank’s cycle can collapse, leading to an ammonia spike.
Problem 1: Disposable Filter Cartridges

Many internal and hang-on-back filters use cartridges that need to be replaced regularly.
The problem?
When you throw away a used cartridge, you may also be throwing away most of your beneficial bacteria.
Some cartridges let you move the biomedia over, but many are all-in-one units designed for profit, not long-term stability.
A better option is to replace the cartridges with reusable sponge or foam inserts.
These can be rinsed and reused, keeping your bacterial colonies safe while saving money in the long run.
Problem 2: Over-Cleaning Your Biomedia
Beneficial microorganisms are sensitive, and aggressive cleaning can kill them off.
Two common mistakes are:
- Using boiling water: This instantly kills microorganisms.
- Rinsing in untreated tap water: Chlorine and chloramines in tap water can also kill microorganisms.
Instead, clean your filter media gently in a bucket of old tank water during a water change.
This removes excess gunk without wiping out your bacterial colonies.
Water Conditioners And Safety
After cleaning, refill your tank with tap water that’s been treated with a water conditioner to neutralize chlorine and chloramines.
Affordable products like API Tap Water Conditioner work perfectly well for most aquariums.
Premium options like Seachem Prime are available, but for beginners, the budget-friendly versions are usually more than enough.
Best for Beginners: Never replace all your filter media at once. Stick with reusable sponge or foam inserts and rinse them in old tank water, not tap water. This keeps your beneficial bacteria colonies healthy and your tank stable.
Medication Use: Protecting Your Cycle While Treating Fish

Some fish medications, especially antibiotics, don’t just target harmful bacteria—they can also harm the beneficial bacteria in your filter that keep ammonia under control.
If these colonies are damaged, your tank can quickly experience an ammonia spike.
The Safest Option: A Quarantine Tank
The best way to medicate fish is in a separate quarantine tank.
This way, you can:
- Treat sick fish without affecting your main aquarium.
- Do daily water changes to keep ammonia levels safe.
- Protect your main tank’s cycle from medication side effects.
When treating the main tank
Sometimes, using a quarantine tank isn’t practical—especially if multiple fish in a community tank are sick.
If you need to medicate the main aquarium:
- Research the illness first to identify whether it’s caused by gram-positive or gram-negative bacteria.
- Choose a medication that targets the specific type of bacteria to reduce the risk of harming your beneficial colonies.
From what is currently understood:
- Most beneficial bacteria in the nitrogen cycle are gram-negative.
- If the infection is gram-positive, a targeted antibiotic like erythromycin may work without wiping out your biofilter.
- Broad-spectrum or gram-negative-targeting antibiotics are riskier and should ideally only be used in a quarantine setup.
Do Your Research
Medication use in aquariums can be complicated, and products vary from country to country.
Always research carefully before dosing, and when in doubt, consult reliable fishkeeping sources or an aquatic veterinarian if one is available.
Best for Beginners: Set up a small quarantine tank if you can. It makes treating fish much safer and prevents medications from damaging your main tank’s beneficial bacteria.
Sources
1 – Aquarium Water Quality: Nitrogen Cycle – https://www.fdacs.gov/Consumer-Resources/Recreation-and-Leisure/Aquarium-Fish/Aquarium-Water-Quality-Nitrogen-Cycle
2 – Using FritzZyme Live Nitrifying Bacteria to Cycle a Freshwater Tank – https://fritzaquatics.com/resources/articles/fritzzyme-user-guide-fw
3 – Ammonia in Aquatic Systems – https://extension.rwfm.tamu.edu/wp-content/uploads/sites/8/2013/09/Ammonia-in-Aquatic-Systems1.pdf
4 – Ammonia Oxidizing Archaeon – https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/ammonia-oxidizing-archaeon
5 – Complete nitrification by Nitrospira bacteria – https://pmc.ncbi.nlm.nih.gov/articles/PMC5152751/
6 – Comammox bacteria and ammonia-oxidizing archaea are major drivers of nitrification in glacier forelands – https://www.sciencedirect.com/science/article/pii/S0016706123003889
7 – Bubble mass transfer in fluids under gravity: a review of theoretical models and intensification technologies in industry – https://www.frontiersin.org/journals/physics/articles/10.3389/fphy.2024.1383537/full
8 – Masculinizing Effects of Chrysin-Loaded Poloxamer Micelles on Siamese Fighting Fish – https://pmc.ncbi.nlm.nih.gov/articles/PMC8706039/
9 – Widespread deoxygenation of temperate lakes – https://www.researchgate.net/publication/352062178_Widespread_deoxygenation_of_temperate_lakes
10 – Relative Abundance of Nitrotoga spp. in a Biofilter of a Cold-Freshwater Aquaculture Plant Appears To Be Stimulated by Slightly Acidic pH – https://pmc.ncbi.nlm.nih.gov/articles/PMC4784051/
11 – Relative Abundance of Nitrotoga spp. in a Biofilter of a Cold-Freshwater Aquaculture Plant Appears To Be Stimulated by Slightly Acidic pH – https://pmc.ncbi.nlm.nih.gov/articles/PMC4784051/
12 – Stratum – https://fluvalaquatics.com/uk/shop/product/stratum-series-page