How many fish can you put in a 20-gallon tank?

Short answer: a 20-gallon is your first true community tank — it comfortably holds roughly 15–25 small, peaceful fish once cycled and well filtered, spread across two or three species. A classic mix is a small centerpiece fish, a school of 10–12 tetras or rasboras, and a group of 6 corydoras. Favor a 20-gallon long over a 20 high for community fish, stock slowly, and still skip goldfish and large cichlids. As ever, the “1 inch per gallon” rule overstates what fits.

The 20-gallon: where real community tanks begin

If a 10-gallon is your first school, a 20-gallon is your first community. Doubling the water again from 10 to 20 gallons is the single biggest jump in beginner fishkeeping: it buys enough volume and footprint to layer fish that live in different parts of the tank — surface, mid-water, and bottom — into one stable, varied display.

That extra water also buys forgiveness. A 20-gallon swings more slowly in temperature and water chemistry than a nano tank, so a small mistake is less likely to crash the whole system. It is the size most experienced keepers recommend a beginner actually start with, rather than the 5 or 10 they often buy first.

20-gallon long vs 20-gallon high — this matters

Two tanks both labelled “20 gallons” can stock very differently. A 20-gallon long (about 30×12×12 in) and a 20-gallon high (about 24×12×16 in) hold the same water, but the long spreads it over a bigger footprint and more surface area:

When you can choose, pick the 20 long for a general community.

Realistic 20-gallon stocking examples

OptionStockingNotes
Classic community1 dwarf gourami + 10–12 harlequin rasboras + 6 corydorasSurface, mid, and bottom all covered — the textbook 20-long community.
Tetra display12 neon or cardinal tetras + 6 pygmy corydoras + 1 nerite snailOne big, calming school plus a tidy bottom crew.
Livebearer tankTrio of platies + trio of guppies + 6 corydorasColorful and active; they breed, so plan to rehome fry.
Centerpiece + school1 male betta or 1 honey gourami + 8–10 ember tetras + shrimpA peaceful centerpiece over a small school works well in a 20.
Single fancy goldfish1 fancy goldfish (20-long only, to start)Workable as a starter; fancy goldfish are high-waste, so over-filter and plan to upgrade.
Over the lineCommon/comet goldfish, oscars and most large cichlids, a school of full-size barbs, multiple angelfish long-termOutgrow a 20 or pollute too heavily — size up.

The pattern in every good option is the same: one peaceful centerpiece or one extra species at most, built around a single proper school, with the bottom worked by corydoras or shrimp. That layered approach — not a dozen singles of different fish — is what makes a 20 look full without being overstocked.

Why the “1 inch per gallon” rule still misleads here

At 20 gallons the inch rule would promise “20 inches of fish,” which sounds generous — but it still ignores the three things that actually set a tank’s limit:

A bioload-based estimate — what our stocking calculator uses — gives a far more honest picture than counting inches. For the full reasoning, see how many fish per gallon, really.

Make a 20-gallon work

Recommended 20-gallon gear · affiliate
For a stable 20-gallon community: a filter rated a step above the tank, a roughly 100 W heater, a separate thermometer, and a siphon for water changes cover the essentials.
Stocking guidance here is a starting point, not a guarantee — individual temperament, plants, filtration, and maintenance all shift what a given tank can hold. When in doubt, understock and watch your water parameters.

Frequently asked questions

How many tetras can I keep in a 20-gallon?

A 20-gallon comfortably holds a school of 10–12 small tetras such as neons, cardinals, or embers as the centerpiece school, with room left for a bottom group of corydoras or shrimp. Keeping them in a real group of at least six is what keeps schooling fish calm and showing their best color.

Can I keep angelfish in a 20-gallon?

One angelfish can work temporarily in a 20-gallon high, but angelfish grow tall and tall-bodied and are best kept in a 29-gallon or larger, especially as a pair. For a lasting community, treat a 20 as a small-fish tank rather than an angelfish tank.

How many corydoras can I keep in a 20-gallon?

A 20-gallon long is a great corydoras tank — a group of 6–8 of one standard species (or more of the dwarf species) works well and gives them the social group they need. The long footprint matters more to corydoras than the gallon number.

Can I put a betta in a 20-gallon community?

Often, yes. A 20-gallon gives a single male betta plenty of room alongside peaceful, non-nippy tankmates like ember tetras, rasboras, corydoras, and shrimp. Avoid fin-nippers, bright flashy fish, and other bettas, and always have a backup plan in case your individual betta turns out to be too aggressive.

Related: Aquarium stocking calculator · How many fish in a 10-gallon? · How many fish in a 5-gallon? · How many fish per gallon, really · Best filter for a 20-gallon · Best heater for a 20-gallon

Affiliate disclosure

New calculators & fishkeeping guides — first.

Leave your email and we'll send the occasional plain-English guide and a heads-up when we add a new tool. No spam, we never sell your data, unsubscribe anytime.

Published by Cedarstone Ventures. We'll only email you about TankStocked.