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

How Many Fish in a 5 Gallon Tank?

A 5 gallon tank holds roughly five inches of adult fish at most. What the sources support for nano fish, shrimp, and algae eaters, and how to stock it.

How Many Fish in a 5 Gallon Tank?

How many fish in a 5 gallon tank? Not many, and the published sources do not give one number that fits every species. Under the one-inch-per-gallon rule printed by Aqueon and Tetra, a 5 gallon tank tops out at roughly five inches of adult fish, and less once gravel and decor take up some of the water. In practice the sources point to one betta, a trio of Endler’s livebearers or fancy guppies, or a shrimp tank. Dwarf rasboras are named for tanks this small too, but their recommended group size strains the rule. Treat that ceiling as the most a cycled, filtered tank can carry, not a goal. This guide covers what the sources say about nano fish for a 5 gallon tank, which popular fish need more water, how algae eaters fit in, and how to stock a small tank without crashing its water quality.

This is general stocking information drawn from aquarium makers’ care guides and a university veterinary column. It does not diagnose or treat illness and does not replace a veterinarian; for a fish that looks sick, contact a licensed veterinarian who treats fish.

How Many Fish in a 5 Gallon Tank: The Rule of Thumb

Aqueon’s FAQ gives the rule as one inch of adult fish per net gallon of water, and says activity level, territoriality, available habitat, and filtration should also be taken into account. It counts net gallons and notes that the average aquarium holds less water than its designated size once gravel and decorations are added. Tetra’s aquarium Q&A states it as one gallon of water per one inch of mature tropical fish.

Neither source gives a decorated water volume for a 5 gallon tank, so the exact allowance depends on your substrate and decor. What both rules agree on is the unit: inches of adult fish. A fish sold at half an inch counts at its grown size.

A small tank also reacts faster when something goes wrong. Aqueon’s guide to choosing an aquarium says toxic ammonia and nitrite rise more rapidly and to much more dangerous concentrations in smaller aquariums, and that one of the first signs of trouble can be fish dying. By that logic, a missed water change or a heavy feeding shows up sooner in 5 gallons than in 20.

Nano Fish for a 5 Gallon Tank: What the Sources Support

These are the species groups where a source we opened names a tank of 5 gallons or smaller, or a range that includes it. Each line repeats only what that source says.

Fish or invertebrateWhat the source says about tank sizeAdult size or group the source givesSource
BettaIdeally a 5-gallon tank or largerOne betta; males must be kept separatelyUniversity of Illinois veterinary column; Aqueon betta care sheet
Endler’s livebearers or fancy guppiesA 3 to 5 gallon aquarium will house a trio2 to 3 females per maleAqueon livebearer article
Dwarf rasboras (Boraras, dwarf emerald)Desktop and nano aquariums of 3 to 10 gallonsMax out at 1 inch or less; groups of 7 or moreAqueon rasbora care guide
Red cherry, crystal, and bee shrimpBetter suited to aquariums of 10 gallons or less; shrimp tanks suit 5 to 10-gallon planted aquariumsNot givenAqueon shrimp care guide and shrimp setup article
Nerite snailsNo tank size given; described as relatively small and suited to planted and shrimp tanksNot givenAqueon snail article

Table sources: the University of Illinois College of Veterinary Medicine column on bettas, Aqueon’s betta care sheet, livebearer article, rasbora care guide, freshwater shrimp care guide, shrimp setup article, and article on types of aquarium snails.

One Betta

The Illinois column quotes Dr. Krista Keller saying bettas should not live in bowls and should ideally be in a 5-gallon glass or plastic tank or larger. Aqueon’s care sheet says male bettas are highly territorial towards each other and must be kept separately. So a 5 gallon is the starting size for one betta, not a community. The same column says other species such as snails and ghost shrimp can be added, but the tank size and filtration must increase to keep everyone healthy. Which tank mates the sources name, and at what tank size, is covered in our betta tank mates guide.

A Trio of Small Livebearers

Aqueon’s livebearer article says the rule of one inch of adult fish per net gallon works well for livebearers, and that a 3 to 5 gallon aquarium will house a trio of Endler’s livebearers or fancy guppies. It also calls the Endler’s livebearer a perfect addition to desktop aquariums due to its small size. Keep the 2 to 3 females per male ratio Aqueon advises. Plan ahead for fry: Aqueon’s livebearer care guide says these fish reproduce without any help and females can give birth approximately once a month, so a trio in 5 gallons will not stay a trio for long.

Dwarf Rasboras, With a Caveat

Aqueon names Boraras and dwarf emerald rasboras as perfect inhabitants for nano aquariums of 3 to 10 gallons, and says rasboras are best purchased in groups of 7 or more. Put those two statements next to the inch rule and they do not fit neatly into 5 gallons: seven fish at up to an inch each is up to 7 inches of fish in a tank with less than 5 net gallons. The sources do not resolve that conflict. If you want a full group, the cautious choice is the upper end of Aqueon’s range, a 10 gallon. Ask your fish store for the adult size of the exact species it sells before you decide.

Dwarf Shrimp

Aqueon’s shrimp setup article says dwarf freshwater shrimp are perfect for 5 to 10-gallon planted aquariums, and its care guide lists red cherry, crystal, and bee shrimp as better suited to tanks of 10 gallons or less. The care guide also says to never place dwarf freshwater shrimp in a newly set up aquarium, and the setup article adds that even the smallest, most peaceful fish are capable of eating baby shrimp. A shrimp-only 5 gallon is the setup these sources describe most directly.

These fish come up often in small-tank questions, and the sources give them more water:

  • Most tetras, including neons. Aqueon’s tetra care guide says most tetras can be kept in aquariums of 10 to 20 gallons, in schools of 6 or more.
  • Harlequin and similar rasboras. Aqueon calls them good beginner fish for 10-gallon aquariums or larger.
  • Platies and most mollies. Aqueon’s livebearer article says a 10 gallon is sufficient for them, and swordtails and sailfin mollies need a minimum of 20 to 30 gallons.
  • Most Corydoras catfish. Aqueon’s Corydoras care guide says a 30-gallon aquarium is best for most species, with smaller tanks only for pygmy species.
  • Goldfish. Aqueon’s goldfish care sheet says goldfish should never be kept in bowls, small aquariums, or any unfiltered container.

If one of these is the fish you want, the next step up is covered in our guide to how many fish fit a 10 gallon tank.

Algae Eaters for a 5 Gallon Tank

Most fish sold as algae eaters are a poor match for 5 gallons. Aqueon’s FAQ names plecostomus, otocinclus, and flying foxes as algae-eating fish, and Aqueon’s community fish article says some plecostomus species grow over 12 inches long. The sources we opened give no tank size for otocinclus or flying foxes, so we do not recommend either for a 5 gallon.

The options the sources do support are invertebrates. Aqueon’s shrimp care guide says dwarf freshwater shrimp are largely algae eaters. Its snail article calls nerite snails fantastic algae eaters that are relatively small and do not eat plants, and says their larvae need brackish or saltwater to develop, so there is little risk of them overrunning an aquarium. The same article warns that nerites love to crawl out of the water, so keep a secure lid on the tank.

No animal replaces the basics. Aqueon’s FAQ says algae grows when there is an abundance of nutrients and light, and lists proper filtration, sparing feeding, frequent small water changes, and limiting light as the ways to keep it down. Our aquarium algae control guide goes further.

How to Stock a 5 Gallon Tank Without a Crash

A 5 gallon tank has very little buffer, so the order of steps carries more weight than the final count.

  • Cycle the tank before any animal goes in. Aqueon’s nitrogen cycle article says a tank is fully cycled when nitrates are being produced and ammonia and nitrite are at zero, and that this typically takes three to eight weeks. Our guide on how to cycle a fish tank covers a fishless method.
  • Add one species first. Aqueon’s do’s and don’ts page warns against adding too many fish at once and singles out smaller and newly set up aquariums.
  • Wait between additions. Give the tank at least a week before the next purchase, the minimum gap in Aqueon’s first 60 days guide.
  • Check ammonia and nitrite first. A water test kit before each addition tells you whether the filter has kept up.

Arrival-day acclimation steps are in our guide to adding fish to a new tank.

Filter, Heater, and Water Changes in a Small Tank

Equipment choices matter more in a small volume. Aqueon’s FAQ advises choosing a filter rated one size larger than your aquarium. Kit filters are sized by the kit maker, so compare the rating on a starter kit’s filter with that advice. If you keep shrimp or tiny fry, Aqueon’s shrimp care guide recommends sliding a sponge pre-filter over the intake of a hang-on or canister filter so shrimp are not sucked in, and notes that dedicated shrimp breeders typically use air-driven sponge filters. The filters section compares filter types.

Most of the animals above are tropical. Aqueon’s betta care sheet gives 76° to 85°F and recommends its flat or mini heaters for bowls and other small containers; its livebearer care guide gives 74° to 78°F for most livebearers. A betta and a group of livebearers want different ranges, which is one more reason to keep a 5 gallon to a single species. Pick a heater sized for a 5 gallon tank by its maker’s rating; the heaters section lists options.

For water changes, Aqueon’s FAQ calls 10% weekly ideal, which in a 5 gallon is about half a gallon, and says to avoid changing more than 50% at once because large changes can swing temperature and water chemistry.

Signs a 5 Gallon Tank Holds Too Much

In a tank that has finished cycling, any ammonia or nitrite reading is a warning: Tetra’s Q&A ties it to overstocking or over-feeding in a mature system. Cloudy water in an established tank is the other common flag, and Aqueon’s FAQ names too many fish, overfeeding, and inadequate filtration among its causes. If either shows up, cut back on food, check the filter, and do not add more animals. If fish look unwell, contact a licensed veterinarian who treats fish instead of adding treatments on a guess.

Who Should Look Elsewhere

  • Anyone who wants a mixed community. A 5 gallon fits one betta, one small livebearer trio, or one nano species. A mix needs a larger tank; Aqueon sets 15 gallons or larger for a community with a betta.
  • First-time keepers who want room for error. Aqueon’s choosing guide says bigger tanks are easier to take care of and far more forgiving of beginner mistakes, and Tetra’s beginner guide recommends starting with 20 gallons or more.
  • Anyone planning on goldfish, tetras, or Corydoras. The sources above give these fish more water than a 5 gallon holds.
  • Owners of sick fish. Stocking changes do not treat illness. Contact a licensed veterinarian who treats fish.

Frequently Asked Questions

How many guppies can go in a 5 gallon tank?

Aqueon’s livebearer article says a 3 to 5 gallon aquarium will house a trio of fancy guppies, kept at 2 to 3 females per male. Guppies breed on their own, so plan for the fry before the tank fills up.

What are the best nano fish for a 5 gallon tank?

The sources we opened support a single betta, a trio of Endler’s livebearers or fancy guppies, or dwarf rasboras that stay under an inch, though Aqueon’s group size of 7 or more for rasboras is a tight fit in 5 gallons. Dwarf shrimp and nerite snails are invertebrate options.

Can a betta live with other fish in a 5 gallon tank?

The Illinois column says the tank size and filtration must increase before tank mates are added, and Aqueon sets 15 gallons or larger for a community with a betta. In a 5 gallon, a betta is best kept alone.

Is a 5 gallon tank good for beginners?

It can work, but it is less forgiving. Aqueon says ammonia and nitrite rise faster in smaller aquariums, and both Aqueon and Tetra point beginners toward larger tanks. If you start with a 5 gallon, cycle it fully and stock it with one species.

Can I keep a goldfish in a 5 gallon tank?

No. Aqueon’s goldfish care sheet says goldfish should never be kept in small aquariums and calls for at least 10 gallons per adult fancy goldfish.

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.