Figuring out how many fish in a 20 gallon tank is the first real puzzle of a new setup, and the number on the shelf tag is rarely the number that works. Fish grow, groups matter, and some species need far more room than their size suggests. The right count depends on a few things about the tank you actually own.
How Many Fish Can You Keep in a 20 Gallon Tank?
For most setups the answer is 10 to 15 small fish, each 1 to 2 inches long, with solid filtration and regular water changes. A well-planned community of mixed layers can stretch to 14 to 18 fish, weighted toward the smallest species. Go past that and water quality gets harder to hold steady with every fish you add.
Drop the old rule of one inch of fish per gallon. It only roughly works for the smallest fish in the simplest tanks, and it falls apart once you add heavy-bodied or very active species. A better habit is to understock on day one, watch how the tank behaves, and add a few fish at a time. Because new fish go in gradually, cycle the fish tank before the first one arrives.
What Limits the Number of Fish in a 20 Gallon
Adult size, not store size
A one-inch juvenile in a store tank may double or triple in length. Always plan from the adult size listed for the species. Small fish such as ember tetras stay under an inch, while a betta reaches about 2.5 inches and many gouramis and cichlids land between 2 and 4 inches. Large species like oscars outgrow a 20 gallon long before the first year is out.
Group size
Schooling fish need numbers to act naturally. A group of six is the floor for small tetras, and eight to twelve is where a school really looks right. Three neon-style tetras is not a school. This is why a 20 gallon fills up faster than the inch count suggests: one species may take 8 to 10 of your slots.
Bioload and filtration
Bioload is the amount of waste the fish produce. Heavy eaters and larger fish put more load on the filter and the water, so you keep fewer of them. Pick a filter rated above the tank volume. A model rated for 30 to 40 gallons is a common choice here, and our rundown of the best filter for a 20 gallon tank covers what to look for.
Tank shape: 20 long versus 20 high
Both hold 20 gallons, but the footprint differs. The 20 long measures 30 by 12 inches, about 360 square inches of floor. The 20 high measures 24 by 12 inches, about 288 square inches. The long tank gives active swimmers more horizontal room, gives bottom dwellers more floor and leaves more space for plants, so it supports a wider choice of fish. If you are still choosing a tank, the fish tank sizes chart shows how these dimensions compare with other sizes.
Decor and plants
Rock piles and big ornaments take swimming room away from the fish. Live plants such as java fern, anubias and cryptocoryne work well here, need no CO2 and give shy species cover, but keep open water in the middle of the tank.
20 Gallon Stocking Table: Adult Size and Group Size
Use this table to build a list. The group column shows the number to buy for each species, and the plans below combine them into full tanks.
| Species | Adult size | Group size for 20 gallons |
|---|---|---|
| Ember tetra | 0.75 inches | 10 to 12 |
| Cardinal tetra | 1.25 inches | 6 to 12 |
| Zebra danio | 1.5 to 2 inches | 6 to 8 |
| Cherry barb | 2 inches | 6 or more |
| Rummy nose tetra | 2 inches | 8 to 10 |
| Harlequin rasbora | 2.5 inches | 8 to 10 |
| Corydoras catfish | 1 to 3 inches, by species | 4 to 6 |
| Honey gourami | 2 inches | 1 |
| Betta (male) | 2.5 inches | 1 |
| Apistogramma | 2 to 3 inches | 1 pair |
| Bolivian ram | 2.5 to 3 inches | 1 pair |
Two notes on the table. A 20 gallon is the smallest tank that suits Bolivian rams, so one pair is the limit. Apistogrammas are territorial, so keep a single male and female rather than several. Also check temperature ranges before mixing species: some fish like cooler water and others need warm conditions, and they cannot share a tank.
3 Sample Stocking Plans for a 20 Gallon Tank
Plan 1: Peaceful planted community
- 10 rummy nose tetras in the midwater
- 6 panda corydoras on the bottom
- 1 pair of apistogrammas as the centerpiece
That is 18 fish in three layers. The cichlids claim the lower third of the tank, the corydoras work the floor and the tetras fill the open water, so everyone has their own zone. Because corydoras feed on the floor, give them sinking corydoras food instead of relying on flakes the midwater fish catch first. This one suits a 20 long best.
Plan 2: Betta community
- 1 male betta
- 10 ember tetras
- 6 small corydoras
- 4 to 6 Amano shrimp
Twenty gallons gives a betta room to claim a corner while peaceful tankmates stay out of its way. Embers and harlequin rasboras both work as the school. Avoid fin nippers such as tiger barbs, and never add a second male betta.
Plan 3: Nano fish and shrimp
- 10 ember tetras
- 3 to 4 otocinclus
- 10 to 20 Neocaridina shrimp
- 2 to 3 nerite snails
This is a lightly stocked tank with a lot of small movement. The tiny fish leave adult shrimp alone, and a planted layout gives the shrimp plenty of places to graze. It carries the lowest bioload of the three, so it is the easiest one to keep tidy.
Fish That Do Not Belong in a 20 Gallon Tank
Goldfish make heavy waste and need a tank in the 40 to 55 gallon range at minimum, so the right number for a 20 gallon is zero. Large cichlids, oscars, flowerhorns and plecos sold as babies outgrow the tank within a year. Aggressive or territorial species injure tankmates in tight quarters. Angelfish grow tall and territorial, so give them a bigger tank. When in doubt, look up the adult size and recommended minimum tank before you buy.
How to Add Fish Without Overloading the Tank
- Finish cycling the tank so the filter is ready for waste.
- Start with the school or the centerpiece, not everything at once.
- Wait a couple of weeks between additions and watch the water readings.
- Add the bottom dwellers and shrimp last.
- Stop adding fish when the tank feels full, even if the math says there is room.
FAQ
How many neon tetras fit in a 20 gallon tank?
Around 15 to 20 is a common figure when neons are the only school, since they are small and do best in groups. If you share the tank with other species, 8 to 10 is plenty.
Can I keep goldfish in a 20 gallon tank?
No. They make too much waste and need a tank of 40 to 55 gallons at minimum.
Can I add shrimp and snails?
Yes. A group of 20 to 30 shrimp and a handful of snails fits easily, and you can add a few tiny fish too.
Should I buy a 20 long or a 20 high?
Get the 20 long if you have the room. Its larger footprint means more swimming space, more floor for corydoras and more planting area.
How Many Fish in a 20 Gallon Tank Is Right for You?
A 20 gallon rewards patience. Pick species by adult size, buy proper groups, give each layer of the tank its own fish and leave some empty space for the future. A tank with breathing room looks better and is easier to run than one packed to the brim on day one.

- Types of Betta Fish: Tails, Colors, and Patterns Explained
- Best Food for Corydoras: 7 Sinking Picks for Bottom Feeders
- Best Food for Angelfish: 7 Flakes, Pellets and Freeze-Dried Picks
- Best Canister Filter for Goldfish: 6 High-Flow Picks for Messy Tanks
- Best Food for Guppies: 6 Top Picks for Every Stage
