Walk into a pet store, look at the molly tank, and you will see a dozen fish crammed into ten gallons. The display tanks are not stocking advice. Mollies grow to about 4 inches as adults, they are active swimmers, and they are livebearers, which is the fact that ruins most beginner stocking plans. How many mollies in a 20 gallon tank? Five to six adults is the number I would give anyone, and then I would spend more time on the breeding than on the math, because the breeding is what actually sets the limit.
The math first, since it is quick. The old inch-per-gallon guideline says a 20 gallon tank holds about 20 inches of fish. A molly at full size is 4 to 4.5 inches. Twenty divided by 4.5 is about 4.4, and you always round down, so call it 4 to 5 full-grown mollies by the book. In practice, five or six healthy adults do fine in a filtered 20 gallon with regular water changes, since the rule is conservative and most mollies in captivity land closer to 3 to 4 inches. Push past six and the tank starts paying for it in nitrate and algae.
How many mollies in a 20 gallon tank: the ratio that matters
Mollies are social fish that need a group, but males are relentless. A single male with two females will chase them without pause, and the stressed female stops eating. The fix is the ratio, not the total: keep at least two to three females per male. Two males and four females is a good 20 gallon group. Some keepers go further and keep an all-male group, which eliminates the fry problem entirely and usually settles into a pecking order without the breeding harassment. That is a legitimate option if you just like how mollies look and do not want population management as a hobby.
Now the fry. Mollies give birth to live young, and a single female can drop 20 to 100 fry in one brood, then do it again a month later, sometimes from stored sperm with no male present. This is why the stocking guides that say "8 mollies in a 20 gallon" are writing fiction. You can start with six adults and be holding twenty juveniles before the season ends. In a planted tank some fry survive. In a bare tank the adults eat most of them, which sounds harsh and works as population control, but relying on it is sloppy fishkeeping.
So decide on day one: breeding tank or display tank. If breeding, start with the 2-male-4-female group, add dense cover like java moss for the fry, and have a plan for the surplus, whether that is a grow-out tank, a local store that takes donations, or a predatory tank mate. If display, go all male, or keep females but commit to removing fry. The worst outcome is the default one, which is doing nothing and discovering thirty juveniles in a tank built for six.
A last detail that gets skipped: mollies prefer slightly brackish water, a teaspoon of aquarium salt per gallon is the common guidance, and they are prone to fungal issues in soft, acidic water. If your tank is soft and the mollies keep getting sick while your tetras thrive, that is the parameter mismatch, not bad luck. Keep the pH neutral to slightly alkaline and they do far better.
Frequently asked questions
How many mollies can go in a 20 gallon tank?
Five to six adult mollies is the safe number for a 20 gallon tank. That gives each fish 3 to 4 gallons, which fits the inch-per-gallon guideline for a fish that grows to about 4 inches.
How many male and female mollies should I get?
Aim for at least 2 to 3 females per male. Males harass females constantly, and a group of 2 males and 4 females spreads the attention so no single female is exhausted.
Will mollies breed in a 20 gallon tank?
Yes, almost certainly. Mollies are livebearers, and a single pregnancy produces 20 to 100 fry. If you keep both sexes, expect babies within months and plan for them, either with a second tank or by keeping only males.
Can mollies live with other fish in a 20 gallon tank?
Yes, but every tank mate reduces the molly count. If you add a school of tetras or a few corydoras, drop the molly group to 3 or 4 adults so the total waste load stays manageable.
Check your stocking: run the tank through the Aquarium Stocking Calculator, then keep reading: How Many Platies in a 10 Gallon Tank · How Many Corydoras in a 10 Gallon Tank · Stocking a 20 Gallon Community Tank · The Inch Per Gallon Rule.
Want more of these? I write one practical fishkeeping guide a week on stocking, water chemistry, and the tanks that actually work. Subscribe free here.