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

Short answer: plan for one centerpiece fish, not a group. A 5-gallon comfortably holds one male betta on its own, or a single small nano species such as 5–6 chili rasboras or ember tetras, or a colony of shrimp and snails. The old “1 inch per gallon” rule overstocks tanks this small because it ignores swimming room and how quickly waste builds up in low water volume.

Why a 5-gallon is a one-fish (or one-group) tank

Five gallons is the smallest size most fishkeepers can run reliably, and the limited water volume is the catch. A small tank has very little margin: temperature swings faster, and ammonia and nitrate from fish waste concentrate quickly because there is so little water to dilute them. That is why the answer is usually one thing — one betta, one small school, or one shrimp colony — rather than a mix.

The fish also need room to behave. A handful of active swimmers may “fit” on paper but spend their lives bumping into glass. Nano species that stay under about 1.5 inches and stick to one part of the tank are the ones that genuinely do well at this size.

Realistic 5-gallon stocking examples

OptionStockingNotes
Single betta1 male bettaThe classic 5-gallon setup. Add a gentle filter + heater; no other fish.
Nano school5–6 chili rasboras or ember tetrasTiny, peaceful, stay small. One species only at this size.
Shrimp colony8–10 cherry shrimp + 1–2 snailsLowest bioload; great for a planted nano. No fish needed.
Single centerpiece1 sparkling gourami or 1 scarlet badisOne small, calm specimen fish on its own.
Over the lineSeveral guppies, a group of corydoras, a goldfishToo much waste, too little swimming room, or too big — skip in 5 gallons.

Note what is missing: guppies breed fast and quickly overstock a nano; corydoras are social and need a longer footprint; goldfish are high-waste coldwater fish that need ten-plus gallons each. None belong in a 5-gallon.

Why the “1 inch per gallon” rule fails here

You will see the one-inch-per-gallon rule everywhere, and it is the single biggest reason small tanks get overstocked. It treats a 5-gallon as if it can hold “5 inches of fish,” but that ignores three things that matter far more on a small tank:

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

Make a 5-gallon work

Recommended nano gear · affiliate
For a stable 5-gallon: a gentle filter, a small heater, and a separate thermometer go a long way in a tank this small.
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

Can I keep a betta with other fish in a 5-gallon?

It is risky. A 5-gallon doesn’t give tankmates enough room to escape a territorial betta. If you want company, shrimp or snails are the safest choice; avoid adding other fish at this size.

How many guppies can I keep in a 5-gallon?

Realistically none long-term — guppies are active, social, and breed quickly, so even a trio overstocks a 5-gallon fast. They do better in 10 gallons or more.

Is a 5-gallon big enough for a school of fish?

Only for the smallest nano species, and one species at a time — for example 5–6 chili rasboras or ember tetras. Anything larger or more active needs a bigger footprint.

Related: Aquarium stocking calculator · How many fish per gallon, really · What size filter? · What size heater?

Affiliate disclosure