← Aquarium Stocking Calculator

How Many Fish Can You Put in a 5-Gallon Tank? Fewer Than You Think

Standing in the pet store aisle, five gallons looks bigger than it is. The honest answer comes later in this guide, because the number only makes sense after you understand why the tank punishes every mistake.

You bought a 5-gallon tank because it fits the desk, and now you are standing in front of the fish wall wondering how many you get. The raw math says 5 inches of fish. A betta is 2.5 inches, so two bettas? Do not. That number is where the trouble starts, because inches of fish are the wrong thing to count in a tank this small.

Five gallons is not half of a 10-gallon. It is a different animal. The water volume is small enough that one missed feeding rots into an ammonia spike overnight, one hot afternoon swings the temperature 4 degrees, and one territorial fish claims the whole footprint. Everything that is forgiving in a 20-gallon becomes a test of your attention in a 5-gallon. That is why experienced keepers stock these tanks lighter than the math allows.

You are probably skimming for the number, so here it is: 2 to 4 fish, and only if every one of them stays under an inch as an adult. That is the ceiling, not the target. What follows is how to spend that budget, and the three plans that actually work.

Three 5-gallon plans that work

Plan 1: One betta

The classic, and the honest best use of a 5-gallon. A betta is territorial but sedentary enough that five gallons gives it real room, especially with a couple of silk or live plants to break up sightlines. You can add a nerite snail or a few cherry shrimp as cleanup crew. Watch the shrimp for the first week: some bettas ignore them, some treat them as snacks, and you will know by day 3.

Plan 2: A shrimp colony

Start with 5 to 10 cherry shrimp. Their bioload is tiny, they graze algae all day, and they breed, so 10 becomes 40 within a few months. This is the most forgiving plan on this list. It is also, in my opinion, the most interesting to watch. A shrimp colony in a planted 5-gallon is better television than most fish tanks twice the size.

Plan 3: A small group of true nano fish

Chili rasboras, ember tetras, celestial pearl danios, or pygmy corydoras, in a group of 5 to 8, and that is your whole tank. These fish stay under an inch. Note the tension: schooling fish want groups of 6 or more, but six inches of schooling fish already fills the tank. It works if the species is genuinely tiny and you commit to the water changes. Do not mix two schools. There is no room left.

The mistake to avoid: goldfish. Despite what the store display suggests, goldfish need at least 20 gallons for the first fish and 10 more for each additional one. They grow to 6 inches plus and produce far more waste than a nano filter can handle. A goldfish in a 5-gallon is not a fish in a small tank. It is a fish slowly poisoning its own water.

Why neon tetras do not belong here

This deserves its own section because everyone asks. Yes, three neon tetras fit the inch math. No, they should not be in a 5-gallon. Neon tetras are schooling fish that need a group of 6 minimum to behave normally, and a school of 6 needs at least 10 gallons of swimming room. Three tetras in a 5-gallon are stressed fish hiding behind the filter intake. They will eat and survive, which fools people into thinking it worked. Survival is not the standard. If you want tetras, step up to a 10-gallon; our neon tetra guide has the math.

The water-change rule that saves nano tanks

The stocking plans above assume you do 20 to 25 percent water changes weekly. In a 5-gallon, that is one pitcher of water. It takes five minutes and it is the entire margin of safety. Skip a week and nitrates double. Skip two and your shrimp stop breeding and your fish start flashing against plants. Nano tanks do not forgive neglect; they just schedule it. Small, frequent, boring water changes are the whole hobby at this size.

Frequently asked questions

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

About 2 to 4 fish, as long as each fish stays under 1 inch as an adult. The old inch-per-gallon rule gives roughly 5 inches of fish total, but behavior matters more than inches: schooling fish need groups of 6, which most cannot get in a 5-gallon.

Can a betta live in a 5 gallon tank?

Yes. 5 gallons is the widely recommended minimum for a single betta, and it is one of the best uses of a tank this size. You can add a nerite snail or a few cherry shrimp, but watch the betta: some tolerate shrimp, some eat them.

Can you put 2 goldfish in a 5 gallon tank?

No. Goldfish need at least 20 gallons for the first fish and 10 more for each additional one. They grow to 6 inches or more and produce far more waste than a 5-gallon filter can handle. This is the single most common 5-gallon mistake.

Can neon tetras live in a 5 gallon tank?

They can survive in one, but they should not. Neon tetras are schooling fish that need a group of 6 minimum, which needs at least a 10-gallon tank. Three tetras in a 5-gallon are chronically stressed fish, not a compromise.

How many shrimp can live in a 5 gallon tank?

Start with 5 to 10 cherry shrimp in a 5-gallon tank. They breed readily, so 10 becomes 40 within months. Their bioload is tiny, which makes shrimp the most forgiving stocking plan for a nano tank.

Check your plan: run your tank size and species list through the Aquarium Stocking Calculator for an instant verdict on capacity and schooling. Then read What Fish Can Live With a Betta in a 10-Gallon Tank and The Inch-Per-Gallon Rule: What It Gets Right, and Where It Falls Apart.

Want more of these? I write one practical guide a week on money, careers, and tools that pay for themselves. Subscribe free here.

Check your stocking plan

Enter your tank size and fish list to get an instant verdict on capacity, schooling, and compatibility.

Open the Aquarium Stocking Calculator

Keep reading

How Many Neon Tetras in a 10-Gallon Tank? Six Is the Number That Works

The consensus answer is 6 to 8, with 6 as the sweet spot: the math, the schooling rule, and tank mates.

The Inch-Per-Gallon Rule: What It Gets Right, and Where It Falls Apart

When the inch-per-gallon guideline helps, when it misleads, and what experienced keepers use instead.