Run your exact mix through the Aquarium Stocking Calculator before you buy fish. Tank size rules are easy to quote and easy to get wrong, because goldfish break the usual inch per gallon thinking in both directions.
Start with adult size, because that is where most stocking mistakes begin. A fancy goldfish, the round bodied kind like a fantail, oranda, or ranchu, reaches 6 to 8 inches as an adult. A common or comet goldfish reaches 10 to 12 inches, swims constantly, and produces waste like a fish twice its size. Both start life as the same two inch fish in the pet store cup, which is why a 20 gallon tank looks generous on day one and cramped a year later. The tank did not shrink. The fish did what fish do.
So here is the rule I use, and it matches the conservative end of what experienced keepers recommend. A 20 gallon tank holds one adult fancy goldfish comfortably for the long term. Two small fancy juveniles can live in it short term, but you should be planning the upgrade to 30 or 40 gallons as they grow. A common, comet, or shubunkin goldfish does not belong in a 20 gallon tank long term at all: the widely used guideline is 20 to 30 gallons per long bodied fish at minimum, and many keepers put two commons in 55 gallons or more. If someone tells you three or four commons are fine in 20 gallons, they are describing fish that survive, not fish that thrive.
How many goldfish in a 20 gallon tank, and what keeps them healthy
Goldfish are messy in a way tetras simply are not. They eat constantly, they stir up the substrate, and they excrete ammonia at a rate that punishes weak filtration. A filter rated for at least twice your tank volume helps, and a canister filter earns its keep here. Aim for ammonia and nitrite at 0 ppm, nitrates under 20 to 30 ppm, and a weekly water change of at least 25 percent. With two juveniles in a 20 gallon, expect that change to creep toward 50 percent, or twice a week, as they grow. That maintenance load is the real cost of pushing the stocking limit: the tank does not fail all at once, it just demands more of you every week until you resent it.
Tank shape matters too, and it is the detail people skip. A long 20 gallon gives far more swimming room and surface area for gas exchange than a tall column of the same volume, and goldfish need oxygen rich water. If you are choosing between two 20 gallon tanks, take the longer one every time. Add an air stone if your filter does not break the surface well, keep the temperature in the 65 to 72 degree range, and skip the tropical heater: goldfish are cold water fish, and warm water holds less oxygen while speeding up their metabolism and waste output.
The upgrade question is worth settling before you buy, not after. A single fancy in a 20 gallon is a finished setup, not a starter kit, provided the filtration and water changes stay on schedule. Two fancies in a 20 gallon is a starter kit with a deadline: plan on a 30 gallon tank within the year, 40 if you want both fish to reach full size without a second move. One common in a 20 gallon is a grow out tank with an even shorter deadline, and if you cannot picture a 55 gallon tank or a pond in that fish's future, that is your answer about whether to buy it.
I would rather see one fancy goldfish in a well kept 20 gallon than three in a neglected 40. Stocking numbers get all the attention, but water quality does the actual work. Keep the ammonia at zero, change the water on schedule, and let the adult size of the fish, not the size of the fish in the store, decide how many you keep.
Frequently asked questions
How many goldfish in a 20 gallon tank?
One adult fancy goldfish long term, or two small fancy juveniles short term with an upgrade planned. Common and comet goldfish need far more space and do not belong in 20 gallons long term.
Can two fancy goldfish live in a 20 gallon tank?
Temporarily, yes, while they are small. Plan on moving them to 30 to 40 gallons as they approach adult size of 6 to 8 inches.
How many gallons does one common goldfish need?
At least 20 to 30 gallons per fish at minimum, with 55 gallons widely recommended for two commons, since adults reach 10 to 12 inches.
How often should I change water in a goldfish tank?
At least 25 percent weekly, rising toward 50 percent once or twice a week in a heavily stocked or undersized tank. Keep ammonia and nitrite at 0 ppm.
Do goldfish need a heater?
No. Goldfish are cold water fish and do best around 65 to 72 degrees. Warm water holds less oxygen and increases waste output.
Want more of these? One practical guide a week. Subscribe free here.