A clear, fish-first explanation of ammonia, nitrite, and nitrate: how they form, how to test accurately, safe ranges, and step-by-step fixes for dangerous sp...
Freshwater aquarium guidance
Fish Gasping at the Surface? Causes and Fixes to Try First
If your fish are gulping air or hanging at the top, act fast. Use this prioritized checklist to fix oxygen issues, toxins, temperature, chlorine/CO2 problems, and gill trouble before you lose fish.
Written by
Oliver Bennett
Oliver Bennett is a lifelong aquarist with over 15 years of experience in freshwater tank setup, aquascaping, and fish health. Through TankRoot, he shares his passion for creating balanced underwater ecosystems, helping hobbyists of all levels build thriving, beautiful homes for their fish.
The first time I saw fish gasping at the surface, I assumed they were hungry. They were not. Surface gulping is one of those aquarium behaviors that looks almost harmless until you realize it is often a straight-up breathing emergency.
The good news is that most “fish at the top” situations come down to a few fixable issues: low oxygen, weak gas exchange at the surface, toxins like ammonia or nitrite, heat, chlorine exposure, CO2 problems in planted tanks, or gill irritation. The key is acting in the right order. If you guess wrong and wait, you can lose fish quickly.

Do this first: a 10-minute emergency checklist
If your fish are actively gulping at the surface right now, treat it like an “oxygen and toxins” problem until proven otherwise.
1) Increase surface agitation immediately
- Point your filter outflow toward the surface so it ripples strongly.
- Add an airstone or turn up your air pump if you already have one.
- Lower the water level by 1 to 2 inches so the filter waterfall splashes and breaks the surface.
Safety check: if you lower the water level, make sure your heater stays fully submerged (unless it is designed not to be), and that your filter intake does not start sucking air.
Why this works: fish do not breathe bubbles. They breathe oxygen dissolved in water. Most oxygen enters the aquarium at the surface, so strong rippling speeds up gas exchange.
2) Test ammonia and nitrite right away
- If you have liquid tests, use them now.
- If you only have strips, use them as quick triage, then confirm with a liquid kit when you can.
Any measurable ammonia or nitrite is concerning, especially during a gasping event. With ammonia, the more toxic form is NH3, and the NH3 fraction rises as pH and temperature rise.
3) Do a partial water change if you cannot test immediately
If you do not have tests on hand, do a 30% to 50% water change with dechlorinated, temperature-matched water. In a true emergency, clean water buys time.
If you suspect ammonia or nitrite, a water conditioner that temporarily detoxifies ammonia and nitrite can help as first aid. Use it exactly as the label instructs and retest.
4) Check temperature (and correct slowly)
- Confirm the reading with a separate thermometer if possible.
- If the tank is hot, cool it gradually (more on that below).
5) Think about what changed in the last 24 hours
- Did you do a water change and forget conditioner, or under-dose it?
- Did you rinse media under tap water, replace all media, or medicate recently?
- In a planted tank, did you change CO2 settings, diffuser, or turn CO2 on earlier than usual?
- Any power outage, filter slowdown, or clogged intake?
6) Observe breathing and gills
- Are gills flared and pumping fast?
- Are gills red, pale, swollen, or covered in mucus?
- Is only one fish affected, or all fish?
Pattern matters: when multiple fish are at the surface, suspect water quality, oxygen, temperature, chlorine, or CO2 first. When it is one fish, suspect gill damage, parasites, injury, or an internal problem.
One quick “normal vs not” note: some species gulp air on purpose (bettas, gouramis, other labyrinth fish; some catfish and loaches). Occasional surface gulps can be normal. A sudden change, frantic gulping, or group-wide hovering at the surface is not.
Cause 1: Low dissolved oxygen
Low oxygen is the classic reason fish “hang at the top.” You will often see faster gill movement, lethargy, and fish clustering near the filter outflow where circulation and gas exchange are strongest.
Common triggers
- Overstocking or a sudden growth spurt in fish size
- Overfeeding and decomposing waste
- Heavily stocked tanks overnight (plants and algae consume oxygen in the dark)
- Filter slowed by clogging or reduced flow
- Power outage or equipment failure
Fixes to try first
- Add or increase aeration: an airstone, sponge filter, or stronger surface turbulence.
- Restore filter flow: check for clogged intake sponges, kinked hoses, or a jammed impeller.
- Reduce oxygen demand: stop feeding for 24 to 48 hours and remove obvious debris.
Quick reality check: airstones help most when they create surface movement. The bubbles are not being “breathed.” The turbulence is what matters.

Cause 2: Ammonia poisoning
Ammonia (NH3/NH4+) damages gills and can make fish act like they cannot catch their breath. This can happen in a brand-new tank, but it can also happen in established aquariums after a filter crash, over-cleaning, medication use, or a sudden bioload increase.
One detail that matters: the more toxic fraction is NH3, and the NH3 proportion increases as pH and temperature rise. That is one reason summer ammonia events can hit hard.
Clues it is ammonia
- Test shows measurable ammonia
- Red or irritated gills
- Fish may clamp fins, dart, or seem “burned”
- Cloudy water after a disruption
Fixes to try first
- Immediate water change: 30% to 50%, repeat daily if ammonia persists.
- Dechlorinate correctly: always treat new water with a quality conditioner before it hits the tank.
- Stop feeding temporarily to reduce waste production.
- Protect your biofilter: do not replace all filter media at once and do not rinse it under tap water.
If ammonia is present, surface gasping is not a behavior problem. It is a chemistry problem that needs dilution and restored biological filtration.
Cause 3: Nitrite poisoning
Nitrite (NO2-) is especially nasty because it interferes with oxygen transport in the blood. Fish can be in well-aerated water and still act like they are suffocating.
Clues it is nitrite
- Test shows nitrite above 0 ppm
- Rapid breathing and surface hovering
- Fish may look unusually pale or stressed
Fixes to try first
- Water changes: 30% to 50% and repeat as needed.
- Increase aeration: it reduces stress while you bring nitrite down.
- Support the biofilter: avoid deep cleaning substrate or filters during the event.
- Optional first aid (chloride): adding chloride can reduce nitrite uptake at the gills. Many hobbyists use aquarium salt for this, but dosing is species-dependent and not appropriate for all setups (salt-sensitive fish, some plants, some invertebrates). If you use it, dose conservatively and research your stock first.
Even in a planted tank, nitrite should be 0 ppm. If it is not, assume the nitrogen cycle is interrupted or overwhelmed.
Cause 4: High temperature (or a heater stuck on)
Warm water holds less oxygen. At the same time, fish metabolism speeds up as temperature rises, so they need more oxygen when less is available. That double hit is why heat waves and stuck heaters often show up as surface gasping.
Clues it is temperature
- Thermometer reads above your species range
- Problem starts suddenly after a heater adjustment or seasonal change
- Fish are restless, breathing fast, and may avoid low-flow areas
Fixes to try first (cool gradually)
- Turn off the heater if it is clearly overheating.
- Increase surface agitation while you cool the tank.
- Use a fan across the surface to promote evaporative cooling.
- Do small, temperature-matched water changes rather than dumping in cold water.
Avoid rapid drops: sudden temperature swings can shock fish. Aim for a slow correction, especially with tropical species.
Cause 5: Weak surface gas exchange
Sometimes the core problem is not that your tank “forgot” how to make oxygen. It is that the aquarium is not exchanging gases efficiently with the room air. A calm surface, a protein film, or a high water line that prevents your filter from breaking the surface can reduce oxygen input and trap CO2. Over time, dissolved oxygen drops and fish head up to the best-breathing zone they can find.
Clues it is surface-related
- Surface looks slick or “oily”
- Little to no rippling anywhere
- Gasping improves quickly after you add turbulence
Fixes to try first
- Aim the outflow up so it breaks the surface.
- Clean the filter intake and impeller if flow seems reduced.
- Skim the surface: in a pinch, you can lay a plain, unscented paper towel flat on the surface for a second to lift film, then remove and discard it. Avoid scented or lotion-treated towels, keep fibers out of the tank, and do not do this with soapy hands.
- Reduce organics: vacuum detritus, feed less, and remove decaying plant leaves.

Cause 6: Chlorine or chloramine exposure
This one is more common than people like to admit, and it can look sudden and brutal. If fish start gasping shortly after a water change, top-off, or filter rinse, suspect chlorine or chloramine. Both can injure gills fast.
Clues it is chlorine or chloramine
- Symptoms start within minutes to a few hours after a water change or top-off
- All or most fish are affected
- Strong “tap water” smell, or you realize conditioner was missed or under-dosed
Fixes to try first
- Condition immediately for the full tank volume, following the label.
- Increase aeration and surface agitation.
- Do another partial water change with properly conditioned, temperature-matched water if fish are still in distress.
Cause 7: CO2 issues (planted tanks)
If you run CO2 injection, surface gasping with zero ammonia and nitrite should make you think about CO2 next. Too much CO2 can crowd out oxygen and stress fish even when your tank looks perfect.
Clues it is CO2
- Gasping starts soon after CO2 turns on
- Fish cluster at the surface, but water tests for ammonia and nitrite are clean
- You recently increased bubble rate, changed diffusers, or improved circulation
Fixes to try first
- Turn down or turn off CO2 temporarily.
- Add aeration and point flow toward the surface.
- Resume CO2 cautiously only after fish are normal again, and aim for stable, conservative levels.
Cause 8: Gill problems (disease, parasites, irritation)
If water parameters and temperature check out, surface agitation is strong, and you are not dealing with chlorine or CO2, start thinking about the gills themselves. Fish may gasp because the gills are inflamed, damaged, clogged with excess mucus, or being attacked by parasites.
When to suspect a gill issue
- Only one or two fish are gasping while others act normal
- Flashing (rubbing against decor or substrate)
- Gills held open, rapid breathing that does not improve after a water change
- Visible gill redness, swelling, or pale gills
- New fish added recently (common route for parasites)
First steps before reaching for meds
- Double-check ammonia and nitrite. Poor water quality can mimic disease and also cause it.
- Improve oxygenation because many treatments lower oxygen or stress the fish.
- Isolate if possible if one fish is severely affected and you have a cycled hospital tank.
About medications: I know the temptation is to medicate immediately. But treating the wrong problem can make things worse. If multiple fish improved quickly after you increased aeration and did a water change, you likely had an environmental issue, not a contagious gill parasite.
Quick triage patterns
All or most fish are at the top
- Low oxygen
- Ammonia or nitrite
- High temperature
- Weak gas exchange at the surface (still water, film, poor flow)
- Chlorine or chloramine exposure
- CO2 too high (planted tanks)
Only one fish is at the top
- Gill damage or parasites
- Injury
- Advanced internal illness
- Bullying stress (the fish is being kept away from better-flowed areas)
It happens mostly at night or early morning
- Oxygen dips overnight are common in heavily planted tanks and tanks with algae because plants consume oxygen in the dark.
- Try adding nighttime aeration or stronger surface movement 24/7.
What not to do
- Do not dump in ice cubes to cool the tank. Temperature swings stress fish and can worsen outcomes.
- Do not deep-clean everything at once. Rinsing all media and vacuuming aggressively can knock back beneficial bacteria right when you need them.
- Do not assume “bubbles = oxygen.” The benefit comes from surface turbulence and gas exchange, not from fish “using” bubbles.
- Do not keep feeding. In a gasping event, food is rarely the solution and often adds to the problem.
When it is an emergency
Get aggressive with water changes and aeration and consider immediate help from an experienced aquarist or aquatic vet if you see any of the following:
- Fish are rolling, collapsing, or unable to stay upright
- Ammonia or nitrite is above 0 ppm and fish are gasping
- A heater malfunction drove temperatures well above your species range
- Gasping continues for hours despite strong surface agitation and a large water change
- Symptoms started right after a water change and you suspect chlorine or chloramine
If you take one lesson from this article, let it be this: when fish are gasping, the fastest wins come from fresh water, strong surface ripples, and a test kit. Once breathing eases, you can slow down and figure out the root cause so it does not happen again.
