As an Amazon Associate I earn from qualifying purchases. Learn more›

How Many Fish in a 20 Gallon Tank?

The inch per gallon rule for a 20 gallon, why the 20 Long and 20 High suit different fish, and community groups built from maker care sheets.

How Many Fish in a 20 Gallon Tank?

How many fish in a 20 gallon tank? No single number fits every species. The rule of thumb that two aquarium makers publish is about one inch of adult fish per gallon: Tetra’s aquarium Q&A says to keep one gallon of water per inch of mature tropical fish, which works out to about 20 inches of adult fish in a 20 gallon, and Aqueon’s FAQ counts net gallons, noting that a tank holds less water than its rated size once gravel and decorations go in. Treat that figure as an upper limit for a cycled, filtered tank, not a target. A 20 gallon also comes in two common shapes, the 20 High and the 20 Long, and the shape changes which fish suit it.

This guide summarizes stocking and care guidance published by aquarium makers and a university veterinary column. It does not diagnose illness or replace veterinary care. If fish breathe rapidly, gasp at the surface, or show new marks, stop adding fish and contact a licensed veterinarian who treats fish.

How Many Fish in a 20 Gallon Tank: What the Inch Rule Allows

Both makers start from inches of adult fish, not the size of the fish in the store. They differ in how they count the water, and neither publishes a net figure for a 20 gallon.

SourceRule as publishedWhat it means in a 20 gallon
Tetra aquarium Q&AOne gallon of water per one inch of mature tropical fishAbout 20 inches of adult fish
Aqueon FAQOne inch of adult fish per net gallon; a fully decorated 10 gallon holds about 8 gallons of waterFewer than 20 inches once substrate and decor displace water
Aqueon fish compatibility articleOne inch of adult size fish per net gallon; territorial fish need even more spaceFewer inches again for territorial species
Tetra aquarium Q&A (goldfish)Three gallons of water per one inch of goldfishA far smaller allowance; see the goldfish section

Aqueon’s FAQ adds that activity level, territoriality, available habitat, and filtration should also be taken into account, and that most fish you buy are going to grow. Its fish compatibility article says crowded fish become more agitated and more likely to quarrel. Aqueon’s questions to ask before buying fish warns that some store fish may double, triple, or more in size, and its article on saltwater difficulty calls the idea that a fish only grows to the size of its tank false. Plan the count on adult sizes from the care sheet, not on what you see in the bag.

20 High vs 20 Long: Same Volume, Different Fish

Aqueon’s standard glass aquarium page lists the 20 High at 24.25 x 12.5 x 16.75 inches and the 20 Long at 30.25 x 12.5 x 12.75 inches. The Long is 6 inches longer and 4 inches shorter. Multiply length by depth and the Long has about 378 square inches of floor against about 303 for the High, roughly 25% more bottom area for the same nominal volume.

The inch rule does not change with shape, but the fish that suit each tank do. Aqueon’s guide to choosing an aquarium says active fish like danios and barbs need longer aquariums, that territorial fish need lots of bottom space and should not go in narrow or taller tanks, and that tall, narrow tanks can suit less active fish such as gouramis, though they offer less swimming area and less surface area for gas exchange. The compatibility article says the same about wider tanks giving danios and barbs room to spread out.

  • Pick the 20 Long for schools of danios or barbs, for territorial fish that Aqueon says need bottom space, and if you want the most surface area.
  • The 20 High works for a slower community built around a small gourami, where swimming length matters less. It does not make room for fish that need a bigger tank.

Stands, lids, and lights differ between the two shapes; the 20 gallon tank dimensions guide covers which parts fit each one.

Good Fish for a 20 Gallon Tank: Community Groups From the Care Sheets

Most good fish for a 20 gallon tank are small fish that live in groups, so the question is less which species and more how many schools fit. The groups below come from the tank mate lists in Aqueon’s care guides. Each row shares a temperature range and lists only what the source states. None is a fish count; check each against the inch rule and your shop’s advice.

Community ideaWhat the care sheets sayShared temperatureBetter shape
Tetras, rasboras, small daniosTetra guide names rasboras and small danios as good tank mates. Tetras: 10 to 20 gallons, schools of 6 or more. Harlequin-type rasboras: 10 gallons or larger, typically no larger than 2 inches, groups of 7 or more. Danios: most under 2 inches, schools of at least 675° to 78°F (overlap of tetras 75° to 80°F, rasboras 75° to 80°F, danios 70° to 78°F)Long, for the danios
Platies and mollies, with tetras or daniosMost livebearers: 5 to 20 gallons, 2 to 3 females per male. A 10 gallon is sufficient for platies and most mollies. Livebearer guide names tetras, rasboras, danios, peaceful barbs, and rainbowfish as tank mates75° to 78°F (livebearers 74° to 78°F, tetras 75° to 80°F)Either
One small gourami with a peaceful schoolDwarf, honey, sparkling, and croaking gouramis: tanks as small as 10 gallons. Males are usually kept individually. Tank mates: larger tetras, livebearers other than fancy guppies, peaceful barbs, most danios75° to 80°F (gouramis and tetras both 75° to 80°F)High suits the gourami; Long suits danios
Cherry or gold barbsCherry and gold barbs: 10 to 20 gallons, schools of at least 6 to 10. The barb guide advises not mixing barbs with timid or long-finned fish such as neon tetras, guppies, and bettas75° to 80°FLong
Blue-eye rainbowfish“Blue Eyes” and threadfin rainbows: community aquariums of 20 gallons; rainbowfish in groups of 6 or more. Tank mates: pygmy rasboras, small tetras, peaceful barbs, Otocinclus, Corydoras76° to 80°F (blue eyes 76° to 82°F, tetras 75° to 80°F)Either

Table sources: Aqueon care guides for tetras, rasboras, danios, livebearers, gouramis, barbs, and rainbowfish, plus Aqueon’s livebearer aquarium article. Overlap ranges are the shared part of each source’s range.

Run the Inch Math Before You Add a Second School

Group sizes add up fast. Seven harlequin rasboras at up to 2 inches come to as much as 14 inches, and six danios under 2 inches come to just under 12. Together that is up to about 26 inches, past the 20 inches the Tetra rule allows before you count any lost water. The cautious plan is one school of a 2 inch species, or two schools of smaller fish, plus a small bottom group, not three full schools. Aqueon does not give an adult size for every tetra, so ask your shop for the adult size of the exact variety before you count it.

Small Fish for the Bottom of a 20 Gallon Tank

Aqueon’s Corydoras care guide says a 30-gallon aquarium is best for most species, while pygmy Corys such as C. hastatus, C. habrosus, and C. pygmaeus can live in smaller tanks; it advises groups of 5 or more and says Corydoras should never be added to new aquariums. Its plecostomus care guide says Otocinclus will be content in a 10-gallon tank. The loach care guide says loaches should be bought in groups of 6 or more, but gives no tank size because size varies so much by species. A bottom group counts toward the inch total like any other fish.

Betta Communities: Summary Only

A 20 gallon clears the size Aqueon sets for a betta community: its betta care sheet says bettas can live with other fish in a peaceful community aquarium of 15 gallons or larger, and to avoid male gouramis, fin nippers such as tiger barbs, and very active fish such as giant danios. The betta tank mates guide covers which species to pair and how to watch for trouble.

Big Fish for a 20 Gallon Tank: What Fits and What Does Not

A 20 gallon is still a small tank for large fish. Among the tropical community fish in these sources, the largest whose minimum tank size reaches down to 20 gallons are swordtails and sailfin mollies: Aqueon’s livebearer article sets a minimum of 20 to 30 gallons for swordtails and sailfin mollies, and Aqueon’s community fish article says swordtails grow to about 5 inches. Four adult swordtails at that size, one male and three females to match the 2 to 3 females per male ratio, already reach the 20 inches the Tetra rule allows, so a swordtail group leaves little room for anything else in a 20 gallon.

Many fish sold as juveniles need more water than a 20 gallon offers, according to their care sheets:

FishTank size the source givesSource
Pearl, blue, gold, opaline, and moonlight gouramis30 gallons or largerAqueon gourami care guide
Tiger, rosy, and black ruby barbsA minimum of 30 gallonsAqueon barb care guide
Most Corydoras30 gallons is best for most speciesAqueon Corydoras care guide
Most larger rainbowfish (Melanotaeniids)At least 50 gallons; smaller species such as the neon dwarf rainbow, 30 gallonsAqueon rainbowfish care guide
Angelfish55 gallons or larger when full grownAqueon angelfish care guide
Kissing gouramis55 gallons or larger when full sizeAqueon gourami care guide
Common plecoCan grow to over 12 inches; at least 75 gallonsAqueon plecostomus care guide
Bala sharkGrows to about 13 inches; 125 gallons or largerAqueon community fish article

Goldfish in a 20 Gallon Tank

Aqueon’s goldfish care sheet calls for at least 20 gallons of water per adult common goldfish, comet, or shubunkin, and at least 10 gallons per adult fancy goldfish. Read literally, a 20 gallon reaches the floor for one common goldfish or two fancy goldfish, before you subtract the water that gravel and decor displace. Tetra’s beginner guide also says tropical fish and goldfish should not mix, so a goldfish tank is its own plan. The goldfish tank setup guide covers it in full.

Good Saltwater Fish for a 20 Gallon Tank

This guide covers freshwater stocking only. The inch rules and care sheets above are written for freshwater fish, and none of the sources here gives a saltwater species list or count for a 20 gallon. Aqueon’s saltwater article says bigger aquariums are more stable and more forgiving of beginner mistakes than nano tanks, and that you should understand the needs and compatibility of all livestock and quarantine new purchases before they go into the display tank. Start with the saltwater tank setup guide, then ask your shop about species for the exact tank you have.

Stocking a 20 Gallon Tank Without Overloading It

A bigger tank buys time, not permission to add everything at once. Aqueon’s choosing guide says that in a larger volume of water, problems happen more gradually, and Tetra’s beginner guide recommends starting with a 20-gallon aquarium or larger because more water is easier to keep in balance. That margin is the reason to stock slowly, not a reason to stock heavily.

  1. Cycle the tank first. Aqueon’s nitrogen cycle article says a tank is fully cycled when nitrates are being produced and ammonia and nitrite read zero, and that the process typically takes three to eight weeks. The guide on how to cycle a fish tank covers a fishless method.
  2. Add a few fish at a time. Aqueon’s first 60 days guide says to buy only a few fish at a time and wait at least a week between additions. Tetra’s Q&A says that after three to four weeks you can add new fish at one to two per week.
  3. Save sensitive fish for later. Corydoras should never go into a new aquarium, per Aqueon’s care guide, so they belong in a later round once the tank is stable.
  4. Check ammonia and nitrite before each round. Use a water test kit. Tetra’s Q&A says elevated ammonia and nitrite should not occur in a cycled tank and, in a mature system, point to overstocking or over-feeding.

For the acclimation steps on the day fish come home, see the guide to adding fish to a new tank.

Filter and Water Changes for a 20 Gallon

Aqueon’s FAQ advises a filter rated one size larger than your aquarium and extra biological media in heavily populated tanks, so a stocked 20 gallon calls for a filter rated above 20 gallons. The filters section compares filter types. The same FAQ calls a 10% weekly water change ideal, which is about 2 gallons a week in a 20 gallon, and says about 25% once or twice a month is sufficient for most aquariums. Aqueon’s care guides say to use a heater when the room runs below a fish’s range, and a mixed community has to sit inside the shared range; the heaters section covers options.

Who Should Look Elsewhere

  • Keepers set on angelfish, larger gouramis, tiger barbs, most rainbowfish, or plecos that grow past a foot. The care sheets above call for 30 to 75 gallons.
  • Keepers who want several full schools. Two schools of 2 inch fish already pass the inch rule in a 20 gallon. A larger tank fits that plan better.
  • Anyone planning saltwater. Use saltwater care sources; the freshwater rules here do not carry over.
  • Anyone with sick fish. Stocking changes do not treat illness. Aqueon’s 60-day guide lists rapid breathing, gasping at the surface, clamped fins, white spots, and scratching against objects as signs to watch for. Contact a licensed veterinarian who treats fish rather than adding treatments on a guess.

Frequently Asked Questions

How many neon tetras can go in a 20 gallon tank?

None of the sources here gives a maximum. Tetra’s tropical fish page recommends at least six neon tetras to start, and Aqueon says most tetras can be kept in 10 to 20 gallons, in schools of 6 or more. Start with one school in a cycled tank, count the adult size against the inch rule, and check ammonia and nitrite before adding more.

How many guppies in a 20 gallon tank?

The sources give no upper number. Aqueon’s livebearer article says a 3 to 5 gallon tank will house a trio of fancy guppies, and its care guide advises 2 to 3 females per male and says females can give birth about once a month. Plan for the fry, because a guppy group grows without new purchases.

Is a 20 Long better than a 20 High for fish?

For active fish, yes, per Aqueon: danios and barbs need longer tanks, and the 20 Long has about 25% more floor than the 20 High by Aqueon’s dimensions. The 20 High can suit a slower community, such as a small gourami with a peaceful school, but it offers less swimming room and surface area.

Can goldfish live in a 20 gallon tank?

Only in small numbers and without tropical fish. Aqueon calls for at least 20 gallons per adult common goldfish or comet and 10 gallons per adult fancy goldfish, and Tetra says goldfish and tropical fish should not mix.

Can I stock a 20 gallon tank faster than a 10 gallon?

Not much faster. Aqueon’s choosing guide says problems develop more gradually in a larger volume of water, but a new 20 gallon still has to cycle before it can handle a full load. Aqueon’s advice to add a few fish at a time and wait at least a week between additions applies to any new tank. For smaller tanks, see the 10 gallon stocking guide.

About the author

Marsha Bates
Marsha Bates

Marsha Bates is an aquarium enthusiast focused on freshwater fishkeeping and everyday tank maintenance. At AquariumTechLab.com, Marsha shares practical guides on tank setup, water quality, and essential equipment to help beginners build healthy, manageable aquariums.