Can I keep 1 goldfish in a 5 gallon tank?

No. A 5 gallon tank is not safe for any goldfish, even one small fish, and even for a short stretch. Fancy goldfish need around 20 gallons to themselves as a minimum, and commons, comets, and shubunkins need 75 gallons or more because of how big they get and how much waste they produce. This is fixable, and the rest of this piece walks you through what to do next.
What Should I Do if My Goldfish Is Already in a 5 Gallon Tank?
The real fix is a bigger tank, and it should happen sooner rather than later. In the meantime, the goal is to keep the water from poisoning the fish while you plan the upgrade. Goldfish are heavy waste producers, and in 5 gallons ammonia and nitrite climb fast. Frequent small water changes are what buy you time.
Do a 25 percent water change every two to three days with dechlorinated water that matches the tank's temperature. Cut feeding to once a day, and use a small amount the fish finishes in under a minute. Less food in means less waste out, and a goldfish can coast on light feeding for weeks without harm. Keep the filter running the whole time, even if it looks undersized. Anything it's doing is better than nothing.
Here's a short list you can work through today:
- Test the water for ammonia and nitrite. If either reads above zero, do a water change now.
- Change about 25 percent of the water using a dechlorinator like Seachem Prime.
- Drop feeding to once a day, a pinch the fish finishes in a minute.
- Start planning the upgrade: 20 gallons for a fancy, 75+ for a common or comet.
- Leave the filter running and do not clean the media in tap water.
This is a bridge, not a destination. Even with perfect maintenance, a 5 gallon cannot hold a goldfish's full-grown waste load, and the fish will start showing it within weeks to a few months. Treat this stretch as the time you have to sort out the new tank.
Why Isn't 5 Gallons Enough for One Small Goldfish?
Two reasons, and they compound each other.
The first is size. Goldfish do not stay small. A fancy goldfish, the round-bodied kind sold as a fantail or oranda, grows to about 6 to 8 inches. Commons, comets, and shubunkins routinely hit 10 to 14 inches in a home tank and can reach the length of a forearm in a pond. A 5 gallon tank is roughly 16 inches long. The adult fish physically does not fit, long before you get into anything else.
The second is waste. Goldfish eat more and process it faster than almost any other freshwater aquarium fish their size. In 5 gallons, the ammonia their gills release and the waste that settles on the bottom hit water-toxic levels in days, sometimes in hours if the filter isn't keeping up. Ammonia and nitrite damage gill tissue and the nervous system, and the fish has no way out of it. A bigger tank dilutes the same waste across more water and gives the filter bacteria room to keep up.
You may have heard the old line that fish "grow to the size of their tank." They don't, not in a healthy way. What actually happens in a tank that's too small is stunting: the body keeps growing but the organs can't keep pace, deformities set in, and the fish's lifespan drops from ten or fifteen years to a couple of bad ones. A small, "fine-looking" goldfish in a cramped tank is often a fish whose growth has been arrested by chronically bad water, not a fish that has adapted to its surroundings.
The inch-per-gallon rule you may also have read is worth forgetting here. It was built around slim-bodied tropical fish with low waste output, and it falls apart completely for anything as chunky and messy as a goldfish. A 4-inch fancy puts more load on a filter than a 4-inch school of neon tetras, and the math that works for one does not work for the other.
How Big a Tank Does One Goldfish Actually Need?
The numbers depend on which goldfish you have. The two big camps are the fancy varieties, which stay relatively compact and slow, and the single-tailed varieties, which grow large and swim hard.
For a single fancy goldfish (fantail, oranda, ryukin, black moor, telescope, ranchu), 20 gallons is the working minimum. A 29 or 30 gallon is more comfortable and gives the filter and water volume some slack. If you want a second fancy, add about 10 gallons, so two fancies do well in a 30 and very well in a 40 breeder.
For a single common, comet, or shubunkin, plan on 75 gallons at a bare minimum, and understand that these are pond fish wearing an aquarium label. They swim in straight sprints, get large enough that a 75 gallon starts to look cramped within a year or two, and live best in an outdoor pond of several hundred gallons in climates that allow it. If an indoor tank is your only option, bigger matters more here than it does for most aquarium fish.
| Goldfish type | Adult size | Minimum tank for 1 | Notes |
|---|---|---|---|
| Fancy (fantail, oranda, ryukin, black moor) | 6 to 8 inches | 20 gallons | Add 10 gallons per extra fish. A 29 gallon is a comfortable starting point. |
| Common | 10 to 14 inches indoors, longer in ponds | 75 gallons | Really a pond fish. Long and hard-swimming. |
| Comet | 10 to 14 inches | 75 gallons | Same as common, with a longer flowing tail. Outgrows most home tanks. |
| Shubunkin | 9 to 14 inches | 75 gallons | Calico single-tail. Pond fish first, tank fish second. |
A useful way to think about it: pick the target tank, then shop for the goldfish, not the other way around. If the tank you can realistically set up is 20 to 40 gallons, you're in fancy territory. If you can go 75+, the single-tailed varieties open up. If the tank you have is 5, the goldfish isn't the right fish for it.
What Fish Can Actually Live in a 5 Gallon Tank Instead?
A 5 gallon is a real aquarium, it's just not a goldfish aquarium. There's a short list of species that thrive in it.
A single male betta is the classic answer, and for good reason. One betta in a heated, filtered, planted 5 gallon is a comfortable life for the fish and a pleasant tank to keep. They're alert, colorful, and interactive without needing a shoal. If you were hoping for a single showpiece fish, this is the fish the tank is sized for. Even a 5 gallon tank is not ok for one goldfish, but it can be a genuinely good home for a betta, a small nano school, or a shrimp colony.
If you want movement and a small school, a group of nano fish works. Chili rasboras (Boraras brigittae) do well at six to eight fish in 5 gallons, and endler's livebearers (Poecilia wingei) can do a small male-only trio. Both stay under an inch, color up in planted setups, and don't push the bioload.
A shrimp-only tank is the other strong option. Ten to fifteen neocaridina shrimp, the red cherry and yellow neon varieties, look beautiful in 5 gallons and graze the tank clean as they go. Pair them with a few small snails and you have a low-maintenance tank that stays interesting.
Whichever route you pick, planning the tank size around the fish first saves a lot of trouble later. A 5 gallon with a betta or a shrimp colony is a good tank, and the goldfish now has a clear path to a home it can grow into. The tank isn't a mistake. It just wasn't the goldfish's tank.