The surface is where water touches air, so it is the most oxygen-rich layer in any tank. When fish crowd there, they are almost always telling you something about the water. This guide helps you tell normal surface behaviour from an emergency, explains the eight real causes, and gives you a step-by-step rescue plan plus a prevention routine. It applies to goldfish, tropical community fish, cichlids and pond fish.
In this guide
Gasping or normal? How to tell
Not every fish near the waterline is in trouble. Watch for a minute before acting.

| Behaviour | Probably normal | Probably a problem |
|---|---|---|
| Mouth at the surface | Quick sip, then swims back down | Repeated gulping, mouth breaking the surface again and again |
| Gill movement | Slow and even | Fast, wide or laboured |
| Timing | Only when you walk up or at feeding time | All day, worst early in the morning |
| How many fish | One surface species doing its usual thing | Several different species crowding the top or the filter outlet |
| Other signs | Eating, good colour, open fins | Not eating, clamped fins, dark or pale colour, red gills |
Fish that are meant to use the surface
Bettas, gouramis and paradise fish are labyrinth fish. They have an extra breathing organ and gulp air from the surface as a normal part of breathing. Hatchetfish, many killifish and some livebearers also feed and swim near the top by nature. Goldfish will rush to the surface at feeding time because they have learned that is where food appears.

If your betta is making regular trips to the top and otherwise looks healthy, that is how it is built. Learn more in our betta fish care guide.
Emergency plan: what to do right now
If several fish are gasping, treat it as an emergency. These steps are safe for nearly every freshwater tank and help with every common cause at once.
- Add oxygen immediately. Switch on an air stone, raise the filter outlet so it splashes and ripples the surface, or pour water back in from a height with a clean cup.
- Do a 30-50% water change with dechlorinated water within about 2°F (1°C) of the tank temperature.
- Test ammonia, nitrite, nitrate and pH. Write the numbers down.
- Check the temperature. If it is too high, cool the tank slowly (see the heatwave section).
- Remove anything rotting: uneaten food, dead plants, and check behind decor for a dead fish.
- Stop feeding for 24 hours.
- If you use CO2 injection in a planted tank, switch it off until the fish recover.
- Watch for 1-2 hours. Fish should spread out and breathe more slowly. If not, do another water change.
Ammonia is a leading cause of gasping, so learn how to lower ammonia quickly and keep it at zero.
8 reasons fish stay at the top of the tank
1. Low dissolved oxygen
This is the number one cause. Fish take oxygen from the water through their gills, and oxygen enters the water mainly at the surface. University of Florida IFAS Extension recommends at least 5 mg/L of dissolved oxygen, notes that most fish are distressed at 2-4 mg/L, and that deaths usually happen below 2 mg/L. The Merck Veterinary Manual describes oxygen-starved fish gathering at the surface and gulping air, a behaviour known as “piping”, and notes that larger fish are usually affected before smaller ones.
Common reasons for low oxygen: a still surface, a filter that has stopped or clogged, too many fish, warm water, or lots of decaying waste using up oxygen as it breaks down.
Fix: increase surface movement with an air stone or filter outlet, reduce stocking, clean the filter in old tank water and keep up weekly water changes. Our guide to whether goldfish need an air pump explains how much aeration goldfish need.
2. Ammonia poisoning
Ammonia comes from fish waste and rotting food. It burns the gills, so even if the water holds plenty of oxygen, the fish cannot absorb it and behaves as if it is suffocating. UF IFAS Extension says ammonia is colourless and odourless even at harmful levels, so only a test will tell you. The toxic form becomes a larger share of the total as pH and temperature rise.
Signs: gasping, red or inflamed gills, lethargy, dark colour, loss of appetite. Fix: 50% water change, an ammonia-detoxifying conditioner, no food for a day, then daily testing and water changes until ammonia reads zero.
3. Nitrite poisoning (“brown blood”)
Nitrite is the step between ammonia and nitrate. It reduces the blood’s ability to carry oxygen, which can turn the gills brownish and send fish to the surface. UF IFAS Extension notes nitrite can be toxic as low as 0.10 mg/L. It is most common in tanks that are only partly cycled.
Fix: water changes until nitrite reads zero. For freshwater fish that tolerate it, a small amount of aquarium salt (chloride) helps protect against nitrite, but it is a short-term aid, not a cure.
4. Water that is too warm
Warm water holds less oxygen, and warm fish use more of it. That double effect is why surface gasping is so common in summer or when a heater sticks on. Texas A&M AgriLife Extension notes that water at 52°F (11°C) can hold about 40% more oxygen than water at 80°F (27°C).
Fix: cool gradually, add aeration and check the heater thermostat. Goldfish owners should keep to the right goldfish water temperature.
5. Too many fish for the tank
Every fish uses oxygen and adds waste. An overstocked tank can run short of oxygen at night even when it looks fine during the day. Goldfish in particular produce heavy waste. Check our goldfish tank size guide if you keep them.
Fix: re-home some fish, upgrade the tank, or add filtration and aeration while you plan.
6. Gill damage from parasites or infection
Gill flukes, ich on the gills and bacterial gill disease all reduce how much oxygen a fish can absorb. The Merck Veterinary Manual lists gill disease alongside low oxygen and high nitrite as the main reasons fish “pipe” at the surface.
Signs: usually one or a few fish affected, rapid gill movement, gills held open, flashing or rubbing against objects, white spots or excess mucus. Fix: correct the water, then treat for the specific parasite or infection. An aquatic vet can confirm it with a gill sample.
7. Too much CO2 in planted tanks
Planted tanks with injected CO2 can overdose, especially if the gas runs at night or the surface is very still. The Merck Veterinary Manual lists carbon dioxide above 40 mg/L as a cause of fish lingering lethargic at the surface.

Fix: turn off CO2, add aeration and set the CO2 to switch off an hour or so before the lights. Plants also use oxygen at night, so dawn is when oxygen is lowest in any planted tank or pond.
8. Chlorine, chemicals or a swim bladder problem
Untreated tap water, cleaning products, aerosol sprays near the tank or new decorations that leach chemicals can irritate the gills. The Merck Veterinary Manual reports harm from chlorine as low as 0.02 mg/L. Separately, a fish with a swim bladder problem may float at the top because it cannot control its buoyancy. That fish is stuck rather than gasping, often tilted or upside down. Read more in our swim bladder guide, and learn how to make tap water safe in can goldfish live in tap water.
Oxygen and temperature table
These figures show why heat and still water are so dangerous. Values come from university extension services (UF IFAS and Penn State Extension).
| Water temperature | Approx. maximum dissolved oxygen (fully saturated) | What it means |
|---|---|---|
| About 40-45°F (4-7°C) | About 12 mg/L | Cold water holds plenty of oxygen |
| 80°F (27°C) | About 8 mg/L | Typical tropical tank; good aeration matters |
| 90°F (32°C) | 7.4 mg/L | Heatwave territory; fish use more oxygen just as less is available |
| Dissolved oxygen | Effect on most fish (UF IFAS / Merck) |
|---|---|
| 5 mg/L or more | Recommended for good health |
| Below 5 mg/L | Stress begins |
| 2-4 mg/L | Most fish distressed; gasping likely |
| Below 2 mg/L | Deaths usually occur |
Real tank water is rarely fully saturated, especially with a still surface and lots of fish, so actual oxygen is often well below these maximums.
One fish or the whole tank?
This single question narrows the cause more than anything else.
- Many fish, different species: think water first: low oxygen, ammonia, nitrite, heat, CO2 or chlorine.
- One fish only: think gill parasites, infection, injury, bullying (the fish is pushed into the top corner) or swim bladder trouble.
- Only at dawn: oxygen drops overnight, especially in planted or overstocked tanks and ponds.
- Only near feeding time: learned begging behaviour, usually harmless.
- Fish at the top while others lie on the bottom: a strong sign of poisoned water. Our guide to fish laying on the bottom of the tank covers the other half of this picture.
By tank type: goldfish, tropical, planted and pond
| Setup | Most likely cause of surface gasping | Best prevention |
|---|---|---|
| Goldfish tank or bowl | Ammonia from heavy waste, overstocking, still water in small volumes | Large tank, strong filtration, air stone, weekly 25-50% water changes |
| Tropical community tank | New tank syndrome, heater fault, overstocking | Cycle first, reliable heater with a thermometer, stock slowly |
| Planted tank with CO2 | CO2 overdose, night-time oxygen drop | CO2 on a timer, surface ripple, air stone at night |
| Betta tank | Usually normal air gulping; sometimes cold water or ammonia in tiny tanks | At least 5 gallons (19 litres), heater, filter with gentle flow |
| Outdoor pond | Hot weather, algae die-off, overstocking, storms mixing water layers | Pond pump or air pump running 24/7 in summer, don’t overfeed |
Heatwave and power cut guide
Cooling a hot tank safely
- Switch off the heater and aquarium lights.
- Open the lid and point a fan across the water surface; evaporation cools it.
- Float a sealed bottle of frozen water in the tank and swap it as it melts.
- Close curtains and keep the tank out of direct sun.
- Add an air stone, because warm water needs more surface movement.
- Top up evaporated water with dechlorinated water, not more than a few degrees cooler than the tank.
During a power cut
- Do not feed; digestion uses oxygen and adds waste.
- Stir or scoop and pour the surface water gently every 15-30 minutes to add oxygen.
- A battery-powered air pump is a cheap insurance item to keep in a drawer.
- Wrap the tank in a blanket in cold weather to hold heat.
- When power returns, check the filter has restarted and test ammonia over the next few days, as some filter bacteria may have died.
Prevention checklist
- Keep the water surface gently rippling at all times.
- Clean filter media monthly in old tank water so flow never drops.
- Test ammonia, nitrite and nitrate weekly; daily in new tanks.
- Change 20-30% of the water each week with dechlorinated water.
- Stock lightly and add fish a few at a time.
- Feed only what fish eat in 1-2 minutes.
- Check the thermometer every day, more often in summer.
- Put CO2 on a timer and give planted tanks extra aeration at night.
- Quarantine new fish to keep gill parasites out.
- Keep a battery air pump for power cuts.
Frequently asked questions
Why is my fish at the top of the tank but not gasping?
Calm swimming near the top is often normal: surface-dwelling species, fish waiting for food, or fish enjoying the current from the filter. If breathing is slow and the fish is eating and active, keep an eye on it but no action is needed.
How do I add oxygen to a fish tank quickly?
Increase surface movement: add an air stone, raise the filter outlet so it ripples the surface, or scoop and pour water back in from a height. A partial water change with fresh, dechlorinated water also helps.
Does an air pump stop fish gasping at the top?
It helps if low oxygen is the cause, because the rising bubbles stir the surface. It will not fix ammonia, nitrite or gill disease, so still test the water.
Why are my fish at the top of the tank in the morning?
Oxygen is lowest at dawn because plants and fish use oxygen all night while no photosynthesis happens. Add an air stone overnight and reduce stocking or feeding.
Can a dirty filter cause fish to stay at the top?
Yes. A clogged filter moves less water, ripples the surface less and lets waste build up. Rinse the media in old tank water and replace only the parts that are worn out.
Why is my goldfish staying at the top of the tank?
Goldfish need a lot of oxygen and produce heavy waste, so low oxygen and ammonia are the usual causes. Small tanks and bowls make both worse. If it floats tilted or upside down, suspect a swim bladder problem instead.
Is it bad if my betta stays at the top?
Bettas breathe air, so regular trips to the top are normal. Constant hanging at the surface with clamped fins, or water that is cold or dirty, needs attention.
How long can fish survive gasping at the surface?
It depends on the cause and the fish. Severe oxygen loss or poisoning can kill within hours, so act as soon as you see several fish gasping.