Fish hanging at the surface with their gills working hard are usually short of oxygen, or something is stopping them using it. Aquarium water holds very little oxygen even when it is full, and a hot spell, a stopped filter or a dead fish rotting behind the rocks can use it up within hours. The fix is nearly always more movement at the water's surface. This guide shows how to tell a shortage from look-alike problems, what to do at once, and how to stop it happening again.

Key takeaways

  • Oxygen enters water mainly at the surface. Rippling the surface does more than adding bubbles.
  • Warm water holds less oxygen while fish need more, so heatwaves and power cuts are the classic triggers.
  • Oxygen is lowest just before dawn, when plants have used it all night. Deaths overnight, larger fish first, point to a shortage.
  • Aim for 5 mg/L or more. Most fish are distressed at 2 to 4 mg/L, and deaths usually follow below 2 mg/L.
  • Gasping can also mean ammonia, nitrite, gill parasites or too much carbon dioxide. Add air first, then test.
  • Keep a battery air pump for power cuts. Do not use hydrogen peroxide as an oxygen source unless a vet advises it.

Quick facts

Healthy level
5 mg/L or more
Most fish distressed
2 to 4 mg/L
Deaths usually
Below 2 mg/L
Full fresh water at 25 °C (77 °F)
About 8.3 mg/L
Lowest point
Just before dawn
Filter bacteria struggle below
About 2 mg/L
First fix
Ripple the surface or add an air stone

Signs of an oxygen shortage

  • Gasping at the surface. Fish hang at the very top, where the water touching the air holds the most oxygen, gulping or "piping". A single betta, gourami or corydoras taking a quick gulp of air is normal; see strange fish behaviour and what it means.
  • Fast gill movement and fish that stop feeding or go sluggish.
  • Crowding at the filter outlet or air stone, where the water is freshest.
  • Deaths overnight or at dawn, with larger fish dying before smaller ones and many dying at about the same time.
  • Worse in warm weather, after feeding, or after a change such as a new group of fish or a medicine.

Is it oxygen or something else?

Several problems make fish gasp, because they all damage the gills or the blood's ability to carry oxygen. These clues help, but only tests tell them apart.

ClueLikely causeWhere to go next
Worst at night or dawn, or in a heatwave; tests normal; fish recover quickly once air is addedLow oxygenThis guide
Ammonia or nitrite above zero; brownish gills with nitriteAmmonia or nitriteAmmonia and nitrite spikes
Planted tank with injected gas, worst late in the lighting periodToo much carbon dioxideCO2 injection
Water tests clean; scratching, clamped fins, dust or spots; one species hit firstGill parasites such as velvet, white spot or flukesVelvet disease, white spot
Straight after a water changeChlorine, chloramine or a temperature mismatchHow to do a water change
Off food, hiding and pale, with no clear signGeneral stressStress in aquarium fish

Carbon dioxide and oxygen problems often come together. Fish stressed by carbon dioxide also come to the surface and crowd round any aeration, because it interferes with oxygen uptake; fish farmers treat about 20 mg/L as the level where it may start to cause harm. Aeration fixes both, which is why adding air is always the safe first step.

What to do now

  1. Add air at once

    Point the filter outlet at the surface so it ripples or splashes, lower the water level slightly so the outlet breaks the surface, or put in an air stone. Unplug equipment before your hands go in the water.

  2. Stop feeding

    Digesting food sharply raises a fish's oxygen use. Hold back food for a day; healthy adult fish come to no harm.

  3. Check the equipment

    Is the filter running at full flow, the heater's light off when it should be, and the thermometer reading normally? A heater stuck on can cook a tank and strip its oxygen at the same time.

  4. Test the water

    Test ammonia, nitrite, pH and temperature, and oxygen if you have a kit. In a planted tank with injected gas, turn the gas off.

  5. Change some water if tests are poor

    Change 25 to 50% with dechlorinated water at the same temperature.

  6. Look for decay

    Count the fish, and check behind decor and in the filter intake for a body, rotting food or melting plants.

  7. Watch overnight

    Keep the extra air running through the night, when oxygen falls furthest.

If fish keep gasping once the air is on and the water tests well, suspect the gills: see the velvet and white spot guides, and talk to an aquatic vet.

How oxygen gets into aquarium water

Oxygen moves into water across the surface. On a calm surface, the thin film of water touching the air fills with oxygen almost at once, and then the flow slows to a trickle, because oxygen diffuses very slowly into still water. Movement carries that oxygen-rich film away and brings low-oxygen water up to replace it. The rate depends on three things: how turbulent the surface is, how much surface there is for each litre of water, and how far the water is below full saturation.

That is why a long, shallow tank holds more fish than a tall one of the same volume, as how many fish can you keep in your tank? explains.

Bubbles

Bubbles pass on much oxygen only in deep water. Even in fish ponds about 1 m (3 to 4 ft) deep, bubbles rise too fast to pass on much, and diffusers there are inefficient. An aquarium is shallower still. An air stone works mainly by lifting water to the surface and breaking it up, so the size of the ripple matters more than the stream of bubbles.

Plants and algae

In light, plants and algae make oxygen, and a bright planted tank can be supersaturated by late afternoon. In the dark they use it, like the fish and bacteria. That daily swing is why oxygen is highest at dusk and lowest just before dawn, and why a heavily planted tank can run short at night.

Two views of the same planted tank. By day, arrows show oxygen entering at the rippled surface and coming from the plants, and being used by the fish, filter bacteria and decaying food; an oxygen bar reads high, highest at dusk. By night, plants use oxygen too and only the surface adds it; the bar reads low, lowest just before dawn. Below, a still surface with oxygen only in its top film beside a moving surface carrying oxygen-rich water down.
Plants add oxygen only in light, so a planted tank runs lowest just before dawn.

How much oxygen water holds

Water holds very little oxygen compared with air, and the warmer it is, the less it holds. Readings are given either in mg/L (the same as ppm) or as percent saturation, the share of what the water could hold at that temperature.

Water temperatureOxygen in fully saturated fresh water
5 °C (41 °F)12.8 mg/L
10 °C (50 °F)11.3 mg/L
15 °C (59 °F)10.1 mg/L
20 °C (68 °F)9.1 mg/L
24 °C (75 °F)8.4 mg/L
26 °C (79 °F)8.1 mg/L
28 °C (82 °F)7.8 mg/L
30 °C (86 °F)7.6 mg/L
32 °C (90 °F)7.3 mg/L

Figures are for sea-level air pressure. Water holds less at altitude and less again when it is salty, so sea water at 10 °C (50 °F) holds about 8.6 mg/L against 11.3 mg/L in fresh water.

Heat hits twice. At 30 °C (86 °F) a tank can hold only about two-thirds of the oxygen it could at 10 °C, yet warm fish burn more oxygen, not less. In fish ponds, oxygen problems are rare when the water stays below about 15 °C (59 °F) and common above about 27 °C (81 °F).

What uses the oxygen

  • Fish, more when warm, active or digesting a meal.
  • Filter bacteria. The microbes that remove ammonia and nitrite need oxygen and become inefficient below about 2 mg/L, so a shortage can trigger an ammonia spike.
  • Decay. Bacteria breaking down uneaten food, waste, dead fish and dying plants or algae can use large amounts.
  • Plants and algae at night.

Common causes

Heatwaves

Warm, still weather lowers what the water can hold just as the fish need more. A tank in a hot room under strong lights with a tight lid is the worst case. See "Cooling a hot tank" below.

Power cuts and stopped filters

When the filter stops, so does the surface movement. How fast oxygen falls depends on how many fish there are and how warm the water is. In a worked example for a warm fish-farm tank, stocked far more heavily than any aquarium, oxygen fell from full to a stressful 3 mg/L in 16 minutes. A lightly stocked home tank will last far longer, but no study gives a safe time. A blocked intake, a clogged sponge or a failed impeller has the same effect as a power cut.

Overstocking and overfeeding

Every fish and every gram of food adds to the demand, and leftover food feeds decay bacteria too. If fish gasp most mornings, the tank probably holds more than its surface can supply. See the stocking guide and feeding aquarium fish, and plan any additions with the fish compatibility checker.

Decay

A hidden dead fish, a mass of melting plants, or a green water bloom that suddenly crashes all feed bacteria that use oxygen. In ponds, a sudden change in water colour to brown, grey or black, or a foul smell, warns of an algae die-off and an oxygen crash. A milky bacterial bloom uses oxygen too; see cloudy aquarium water.

Medicines and treatments

Formalin lowers oxygen directly and also kills algae, which then use more oxygen as they rot. Run vigorous aeration throughout any formalin treatment and after it. Algae killers carry the same risk in a tank with a lot of algae, because the dead algae rot. Treat sick fish in a hospital tank with an air stone where you can, follow the product's instructions, and ask an aquatic vet when unsure.

Carbon dioxide injection at night

Plants stop using injected gas when the lights go off, while everything in the tank keeps using oxygen. Turn the gas off before the lights go off and aerate overnight, as the CO2 guide explains.

Surface film and covered surfaces

Oily or protein films on a still surface damp ripples and slow gas exchange. A 2020 study at sea found that natural surface films cut the transfer of carbon dioxide by almost a quarter, and visible slicks by more again. Oxygen crosses the same surface, so a dull, oily or scummy film is worth breaking up with surface movement. A solid mat of floating plants has the same effect; see floating plants before letting them cover the surface.

Heavy plant growth

Dense plants and algae make the most oxygen by day and use the most at night, and a run of dull days cuts what they make. A crowded planted tank with a still surface is most at risk just before the lights come on.

Fixes that work

Surface movement and spray bars

Set the filter outlet or spray bar at or just below the surface, angled so it ripples the whole surface without blasting the fish. A spray bar along the back wall spreads gentle movement for fish that dislike strong flow, such as fancy goldfish and bettas. If you use a powerhead, aim one at the surface.

Air pumps and air stones

An air stone or an air-driven sponge filter lifts water to the surface and is a cheap backup to the main filter. Choose a pump rated for your tank's depth, and fit a check valve or keep the pump above the waterline so water cannot siphon back when it stops. In a bright planted tank by late afternoon, aerating supersaturated water drives both oxygen and carbon dioxide out, which is why high-tech tanks usually aerate at night only.

Cooling a hot tank

Follow aquarium heaters: size, placement and safety: draw the curtains, shorten the lighting, open the lid a little and blow a fan across the surface, which cools by evaporation and adds ripple. A sealed bottle of cold water floated in the tank cools gradually. As a rule of thumb, keep each change under about 3 °C (5 °F), the limit fish farms set for a rapid change, and cool in small steps. Top up evaporation with dechlorinated water, or purified water for marine tanks.

Planning for power cuts

  • Battery air pump. Keep one ready with spare batteries and an air stone. It is cheap, and the main thing that keeps fish alive in a long cut.
  • Without one, stir the surface by hand every so often, or scoop water up in a clean jug and pour it back from a height. This is a rule of thumb built on how oxygen enters water, not a tested method.
  • Do not feed until the power is back, and keep the tank wrapped against heat loss in cold weather.
  • Before restarting a closed filter that has stood still for hours, rinse its media in tank water and check it does not smell foul. Bacteria inside use up its oxygen while it stands. This is a cautious rule of thumb; no study gives a safe time.
  • Test ammonia and nitrite daily for a few days afterwards.

Water and electricity

Plug air pumps, filters and fans into a socket protected by an RCD (residual current device, the UK, European and Australian term) or GFCI (ground-fault circuit interrupter, the North American term). Give every cable a drip loop, as shown in choosing your first aquarium. Unplug everything before your hands go in the water, and keep a fan where it cannot fall into the tank. Equipment should match your mains, 230 V in the UK, Europe and Australia or 120 V in North America.

Hydrogen peroxide is not a safe oxygen source

Hydrogen peroxide breaks down into water and oxygen, which is why it is sometimes suggested for oxygen emergencies. There is no established dose for using it this way in a home aquarium. It is a strong oxidising disinfectant that can damage gills, and in aerated aquariums it barely broke down in the first hour, so it releases oxygen slowly. In a 2007 study of five aquarium species, blue (three-spot) gouramis died at every concentration tested, down to about 3 mg/L over a day, and a suckermouth catfish died in every one-hour treatment. Because it kills bacteria it can harm the filter, and its safety for shrimp, snails and plants is unknown. Use air instead. If a vet does advise it, follow the product's instructions exactly, wear gloves and eye protection, and keep it away from children: strong solutions burn skin and eyes.

Measuring oxygen

Routine oxygen tests are not needed if fish behave normally, but a test confirms a suspected shortage and shows whether a fix worked.

  • Chemical kits use a colour change or a drop-count titration. They are cheap, accurate enough to show whether there is enough oxygen, but slower and fiddlier than electronic testers. Fill the sample tube carefully without trapping bubbles, and follow the kit's instructions. Keep reagents away from children.
  • Electronic testers use a probe. Membrane probes consume oxygen as they read, so they must be moved through the water and calibrated in moist air before use. Optical probes, which read the glow of an oxygen-sensitive dye, are stable and need no stirring. Readings are only as good as the last calibration.

Test at the same place and time each day, and include an early-morning reading before the lights come on, when oxygen is lowest. A trend over several days tells you more than one reading. See aquarium water test kits and what to test for kit types in general.

Too much gas can also harm fish. Water supersaturated with gas, which can happen when pure oxygen is injected, causes gas bubble disease, in which bubbles form in the blood. Fry are the most sensitive. Surface movement and air stones in an aquarium cannot push oxygen above saturation.

Marine and reef tanks

Sea water holds about a fifth to a quarter less oxygen than fresh water at the same temperature, and reef tanks run warm. Corals and their algae make oxygen in the light and use it in the dark, so a reef depends on strong flow and surface movement around the clock. A protein skimmer, which mixes air through the water, helps too. In a power cut, a battery air pump matters even more than in fresh water; see water flow in reef tanks.

Ponds

Pond oxygen crashes usually happen at night in summer: after several hot, cloudy, still days that cut photosynthesis, after an algae die-off, or after a thunderstorm mixes oxygen-poor bottom water into the rest. If goldfish or koi are gasping, turn on an aerator, fountain or waterfall at once; little else helps quickly. On farms, aerators run from late evening until after daylight, because aerating supersaturated water on a sunny afternoon drives oxygen out. In winter, keep a hole open in the ice, as the goldfish care guide explains. Never release pond or aquarium fish into the wild to save them: it is illegal in many countries.