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 Swimming Sideways or Upside Down: What to Do First
If your fish is floating, sinking, or tilting, act fast. Learn the most common buoyancy causes and a step-by-step first aid plan that actually helps.
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.
I still remember my first “floaty fish” panic. I was ten, staring at a goldfish that suddenly couldn’t stay upright, convinced it was dying. I did what most beginners do. I fed more (bad idea), changed a bunch of water without testing (also risky), and generally stressed the fish out. Years later, after keeping freshwater tanks for well over a decade, I can tell you this: when a fish is swimming sideways, bobbing at the surface, stuck upside down, or lying on the bottom as if it can’t lift off, you need a calm, methodical response.
People call it “swim bladder disease,” but buoyancy problems are usually a symptom, not a single disease. Sometimes it is constipation. Sometimes it is poor water quality irritating the gills and gut. Sometimes it is an injury or infection. The good news is that many cases improve with simple first aid, especially if you catch it early.

What swim bladder problems look like
Different fish show buoyancy trouble in different ways. Any of the following can point to swim bladder involvement, or to a related issue affecting buoyancy:
- Floating at the top and unable to swim down
- Sinking to the bottom and struggling to rise
- Swimming sideways, listing, or spiraling
- Upside down near the surface or on the substrate
- Rolling when trying to turn
- Normal appetite but “off balance” body control
Not every off-balance fish has a true swim bladder disorder. Severe weakness from ammonia poisoning, low oxygen, or extreme stress can look similar. That is why the first step is always the environment.
Before you treat: a quick safety check
If your fish is upside down or pinned at the surface, it is easy to jump straight to peas and fasting. Pause and do these checks first because they can be life-saving.
1) Test the water (do not guess)
Bad water causes stress, gill irritation, and internal inflammation that can trigger buoyancy issues. Test with a reliable liquid kit if possible.
- Ammonia: 0 ppm
- Nitrite: 0 ppm
- Nitrate: aim to keep it as low as practical. Many community tanks target under 20 ppm, with under 40 ppm as a common upper guideline for hardier fish. If you are seeing 80+ ppm, treat that as a red flag that maintenance, stocking, or feeding needs adjustment.
If ammonia or nitrite is above zero, treat that as an emergency. Do a partial water change right away (often 30 to 50 percent), match temperature, and add dechlorinator. Then address the root cause: an uncycled tank, overfeeding, a clogged filter, a dead spot in the substrate, or a recent medication that disrupted bacteria.
2) Confirm temperature is appropriate and stable
Cold or fluctuating water slows digestion and can lead to constipation and gas buildup, which commonly shows up as floating or tilting.
- Many tropical community fish do well around 75 to 79°F (24 to 26°C), but it is species-dependent.
- Bettas usually do best around 78 to 80°F (26 to 27°C).
- Goldfish prefer cooler water than tropicals, but stability still matters.
There are plenty of exceptions (for example, discus prefer warmer water, while white cloud mountain minnows prefer cooler). If you are not sure, look up the range for your exact species and aim for the middle.
If the tank is too cold, raise temperature gradually. Roughly 1 to 2°F (0.5 to 1°C) per hour is a conservative ceiling, and going slower is fine for very stressed fish. Increase aeration as you warm the tank.
3) Do a quick oxygenation check
Low oxygen can make fish hang at the surface, act weak, or look “floaty” even when the swim bladder is not the main issue.
- Make sure the filter is running with good surface agitation.
- Point the outflow toward the surface, or add an air stone if you have one.
- Check for obvious causes like an overgrown biofilm, a clogged intake, an overheated tank, or a recent power outage.
Common causes (and how to spot them)
Constipation from overfeeding
This is the classic scenario: a fish that was fine yesterday is now floating tail-up, head-down, or struggling to stay level. Constipation and intestinal swelling can press on the swim bladder and alter buoyancy.
Clues: recent heavy feeding, dry foods only, stringy or reduced poop, bloated belly, buoyancy worse after meals.
Air gulped from floating food
Surface feeders can swallow air when snapping at flakes or floating pellets. That trapped air can make a fish bob at the top or tilt.
Clues: problem starts soon after feeding, especially with very buoyant pellets or flakes; fish tends to float more than sink.
Water quality irritation and stress
Ammonia, nitrite, high nitrate, or sudden parameter swings do not just “stress fish.” They inflame delicate tissues, suppress immunity, and can contribute to buoyancy trouble indirectly.
Clues: multiple fish acting off, clamped fins, red or irritated gills, lethargy, gasping, recent tank crash, dirty substrate, missed maintenance.
Common swing triggers: very large water changes with mismatched temperature, forgetting dechlorinator, replacing too much filter media at once, or a filter that stopped running.
Cold water or slowed digestion
Digestion depends on temperature. Many buoyancy episodes in bettas and tropical community tanks trace back to a heater failure or a chilly room at night.
Clues: heater light off, thermometer reading low, symptoms appear after a cold snap or a water change with cooler water.
Injury
A hard collision, rough netting, aggressive tankmates, or a fall (yes, jumpers do this) can injure the swim bladder or surrounding organs.
Clues: sudden onset after a scare, visible bruising or torn fins, the fish otherwise looks “normal” but cannot right itself.
Infection or internal disease
Bacterial infections, parasites, and organ problems can disrupt buoyancy. This is more likely when symptoms persist despite good water and careful feeding changes.
Clues: pineconing scales (a sign, not a diagnosis), rapid swelling, not eating, stringy white poop, ulcers, persistent buoyancy issues longer than a few days, repeated relapses.

Fish most prone to buoyancy trouble
Any fish can develop buoyancy problems, but two groups show up again and again in my inbox.
Fancy goldfish
Many fancy varieties have compressed bodies, and some strains are simply more prone to swim bladder trouble. Add in enthusiastic appetites and high-protein diets, and constipation becomes common.
Bettas
Bettas often live in smaller tanks where temperature swings and overfeeding are more likely. They also gulp air naturally, so floating foods can be an issue.
This is not about blaming the fish. It is about understanding risk so you can adjust husbandry.
What to try first: a simple first-aid sequence
If your fish is struggling to stay upright, here is the order I recommend. Do not do everything at once in a panic. Work down the list.
Step 1: Test water, then do a sensible water change if needed
- If ammonia or nitrite are above 0 ppm: change 30 to 50 percent immediately, match temperature, and dechlorinate.
- If nitrate is high: do a 25 to 40 percent change and review maintenance and feeding.
- Make sure filters are running and not clogged. Rinse media in old tank water, not tap water.
Step 2: Improve oxygenation and reduce effort
Increase surface agitation and make swimming easier while you troubleshoot.
- Add an air stone or increase filter surface ripple.
- If the fish is struggling hard, consider temporarily lowering the water level in a hospital setup so it can reach the surface with less effort.
Step 3: Fix temperature and keep it steady
Bring the tank into the appropriate range for the species, and keep it stable. Stability matters as much as the exact number.
Step 4: Fast for 24 to 48 hours
For otherwise healthy adult fish, a short fast is often the quickest way to relieve constipation-related buoyancy issues. It gives the gut time to clear without adding more food to ferment or swell.
Exceptions: very small fry, severely emaciated fish, or fish already refusing food for days. In those cases, focus on water quality and diagnosis and consider veterinary help sooner.
Step 5: Offer a gentle, appropriate food after the fast
This is where a lot of well-meaning advice gets oversimplified. The goal is to get things moving without stuffing the fish.
- For goldfish and many omnivores: a tiny amount of blanched, shelled pea can help some fish pass waste. Use a cooked, soft pea, remove the skin, feed a small pinch-sized portion, and remove leftovers after a few minutes.
- For bettas and other carnivores: skip the pea. I prefer a small portion of an easy-to-digest option like daphnia (frozen or live) after fasting, then a return to better portions.
Step 6: Adjust feeding so it does not happen again
- Soak pellets briefly if they are very dry or float aggressively, and to make portions more predictable. This can also reduce frantic surface gulping.
- Use sinking foods when appropriate, or feed below the surface to reduce air ingestion.
- Feed smaller portions and watch body shape over time. Most fish do better with modest, consistent feeding than occasional heavy meals.

What not to do
- Do not dump random medications into the tank “just in case.” Many buoyancy cases are digestive or environmental, and unnecessary meds can stress fish or harm biofiltration.
- Do not overfeed to “give energy.” If constipation is involved, more food makes it worse.
- Do not do giant water changes without matching temperature or dechlorinating properly. Sudden swings can compound the problem.
- Do not squeeze the fish or try to “burp” it. That can cause injury.
When home care is not enough
Some buoyancy problems do not clear with fasting and husbandry fixes, especially if the swim bladder is damaged or if there is internal infection or organ disease.
Take the situation more seriously and seek a fish-savvy vet or advanced help if you see any of the following:
- No improvement after 3 to 5 days of excellent water, stable temperature, and careful feeding changes
- Rapid swelling, severe bloating, or pineconing scales (a serious sign that can be associated with fluid imbalance)
- Refusal to eat combined with buoyancy issues
- Ulcers, bleeding, severe fin deterioration, or other signs of systemic infection
- Repeated episodes that keep coming back despite correct care
- Multiple fish affected at the same time (points to environment or contagious disease)
If you suspect infection, the most responsible next step is usually a separate hospital tank so you can treat without impacting plants, invertebrates, or the main tank’s biological filter. A vet can help you choose the right approach based on species and symptoms, rather than guessing.
Hospital tank basics
You do not need a fancy setup. You need stable heat, clean water, and easy observation.
- Bare bottom tank or tub for easy cleaning and poop monitoring
- Heater set to the correct range for the species
- Gentle filtration or aeration like a sponge filter or air stone
- Matched parameters (temperature and dechlorinated water, avoid big swings)
- Simple cover or hiding spot to reduce stress
Preventing swim bladder flare-ups long term
Feed like you are trying to avoid constipation
- Choose quality foods and rotate them. For goldfish: mix a good sinking pellet with fresh greens and occasional protein treats.
- For bettas: use a high-quality betta pellet and rotate in frozen foods like daphnia or brine shrimp.
- Keep portions small. Most fish should look gently rounded, not bulging.
Keep water clean and boring
Fish thrive on boring consistency. Stable temperature, consistent maintenance, and a filter that is never allowed to crash prevent many “sudden” health issues.
Watch body shape, not just behavior
Buoyancy trouble often has a buildup phase. If your fish is gradually rounding out or you see long, stringy waste, that is your early warning to adjust feeding before it becomes a full upside-down episode.
Quick FAQ
Can a fish recover from swimming upside down?
Yes, many do, especially when the cause is constipation, air ingestion, or a temporary environmental stressor. Fast action on water quality, oxygenation, and feeding makes a big difference.
Should I use Epsom salt?
Epsom salt (magnesium sulfate) is sometimes used by experienced keepers as a short bath to help with constipation or fluid issues, but dosing mistakes are easy and it is not the first thing I recommend for most beginners. Start with water testing, temperature correction, oxygenation, fasting, and feeding adjustments first. If you go this route, follow a trusted dosing reference for your species or work with a fish-savvy vet.
Is it contagious?
Buoyancy symptoms themselves are not contagious. The underlying cause might be, if it is an infection or parasite. If multiple fish develop symptoms, assume an environmental problem first and test water immediately.
My fish is floating but still eating. Is that a good sign?
Usually, yes. A fish that still eats often has a better chance of recovering with husbandry changes. Still, test water and do not keep feeding normally while it is buoyant. A short fast is often the right move.