A fish gasping at the surface or breathing rapidly is almost always a sign of low dissolved oxygen or a water quality problem like an ammonia or nitrite spike. Test your water immediately and increase surface agitation — this is one of the few aquarium symptoms worth treating as an emergency rather than something to watch overnight.
Is this actually an emergency?
Yes, in most cases. A fish that occasionally visits the surface to gulp air (common in bettas and gouramis, which have a labyrinth organ) is normal. A fish that stays at the surface, breathes rapidly with its gills, or gasps even after you've increased surface movement is in genuine distress. Severe oxygen deprivation can be fatal within hours, so don't wait until morning to act.
What causes low oxygen in a fish tank?
A handful of things reliably cause this:
- Overcrowding or overstocking — more fish need more oxygen than the tank's surface agitation can replace.
- An ammonia or nitrite spike — from overfeeding, a dirty filter, or decaying waste — which stresses fish and compounds the problem.
- Warm water — warm water simply holds less dissolved oxygen than cool water, so a heatwave or a warm room can trigger symptoms even in an otherwise healthy tank.
- A clogged or failed filter — reducing the surface movement that normally exchanges oxygen with the air.
What to do right now
- Test ammonia, nitrite, and nitrate immediately — this is the most common underlying cause and takes five minutes to rule in or out.
- Increase surface agitation right away: add an air stone, point your filter's outflow at the surface, or lower the water level slightly so the filter splashes more.
- Do a partial water change (25-50%) with dechlorinated, temperature-matched water if any parameter came back elevated.
- Check that your filter is actually running normally — a clogged intake or a lost impeller can cut surface flow without being obvious at a glance.
Quick reference
| What you're seeing | Most likely cause | What to do |
|---|---|---|
| Gasping only near the surface | Low dissolved oxygen | Add an air stone, increase surface agitation |
| Gasping + cloudy or smelly water | Ammonia/nitrite spike | Test water, partial water change |
| Started after a heatwave | Warm water holds less oxygen | Cool the room, add aeration |
| Started after cleaning the filter | Lost beneficial bacteria, ammonia spike | Test water, add a bacteria starter |
Preventing it long-term
Match your stocking level to your tank size and filter capacity, keep an air stone or extra surface agitation running if you keep a heavily stocked tank, and test your water on a regular schedule rather than only when something looks wrong. Most low-oxygen emergencies are the tail end of a water quality problem that was building for days.
Not sure this is what's going on with your specific fish? Run the 2-minute fish diagnosis — it walks through the exact symptoms and narrows it down, including the full low oxygen / poor water quality guide with step-by-step fixes.