Guide

Best fish for a 20 gallon tank

Stocking ideas: community fish, schooling species, and how to avoid overstocking.

⏱ 10 min read 📐 Stocking 📅 Updated May 2026
Quick answer
  • Tank size: A standard 20-gallon long (30" × 12") gives far more usable swimming space than a 20-gallon high - always choose long if you can.
  • Best communities: Six to eight small tetras or rasboras, six corydoras, and one centrepiece fish (dwarf gourami, honey gourami, or a single betta) is a proven, sustainable combination.
  • Cycle first: Never add fish to an uncycled tank. A proper nitrogen cycle takes 4-6 weeks and protects fish from ammonia poisoning.
  • Stock gradually: Add fish in small groups two weeks apart. Your filter's bacteria colony needs time to catch up to each new bioload.
  • Water changes: 25-30% weekly keeps nitrates under 20 ppm for most community species - skipping weeks is the fastest route to sick fish.
  • Check compatibility before you buy: Temperature and pH overlap matters more than appearance. A mismatch that looks fine for weeks will shorten fish lives.

Why a 20-gallon tank is a genuinely good size

Ten-gallon tanks get recommended for beginners constantly, but a 20 gallon is the better starting point. The extra water volume means parameters swing more slowly - an ammonia spike that would crash a 10-gallon in hours takes longer to reach lethal levels in 20, giving you more time to catch it. You also have enough room to stock a proper school (not three lonely tetras), which means the fish behave naturally and look far better.

The one thing most guides skip: footprint matters more than volume. A 20-gallon long (typically 30" × 12" × 12") gives corydoras and bottom dwellers room to spread out. A 20-gallon high (24" × 12" × 16") has the same volume but a narrower base - corydoras will feel cramped, and tall-bodied fish have less horizontal territory. If you haven't bought the tank yet, go long.

75%
Of fishkeeping problems stem from water quality, not disease

Ammonia, nitrite, and nitrate issues are almost always behind fish that look "off" - which is why testing regularly is non-negotiable.

What fish actually work in a 20-gallon tank

The best stocking plan for a 20-gallon community tank uses three layers: a mid-water school, a bottom crew, and an optional centrepiece. Here's what works reliably.

Schooling fish (mid-water layer)

Neon tetras (Paracheirodon innesi) and cardinal tetras (Paracheirodon axelrodi) are the classic choice - 6 to 8 fish, 22-26°C (72-79°F), pH 6.0-7.0. Cardinals are slightly hardier than their reputation suggests, but they do prefer softer, more acidic water. If your tap runs alkaline and hard, neons adapt better.

Ember tetras (Hyphessobrycon amandae) are underrated. They stay small (2 cm), tolerate a wide parameter range, and a school of 10 in a planted 20-gallon looks spectacular. They're peaceful enough to keep with shrimp too.

Harlequin rasboras (Trigonostigma heteromorpha) are bulletproof for beginners - 22-27°C (72-81°F), pH 6.0-7.8, eat anything, and are genuinely hard to kill. A group of eight fills the mid-water nicely without overcrowding.

Chili rasboras (Boraras brigittae) are tiny (2.5 cm) and brilliant red. A school of 12-15 is possible in a 20-gallon, but they're delicate and don't mix well with anything larger than themselves. Best in a species-focused or nano setup.

Bottom dwellers

Corydoras are almost always the right answer for the bottom of a 20-gallon community. They're social, peaceful, and useful at picking up uneaten food. Six is the minimum to see natural schooling behaviour - three corydoras huddled in a corner are stressed, not happy.

Species to consider: Corydoras sterbai (24-28°C / 75-82°F - the only corydoras reliably warm enough for discus tanks, and a good match for warmer communities), Corydoras panda (cooler, 22-25°C / 72-77°F), and Corydoras pygmaeus (pygmy cories, which are tiny and actually swim mid-water, not just along the bottom).

Watch out

Corydoras breathe from the surface occasionally - this is normal. But if they're gasping at the surface constantly, check dissolved oxygen and ammonia. Cories are sensitive to salt; don't add aquarium salt to a tank with corydoras.

Centrepiece fish

Dwarf gourami (Trichogaster lalius) is the standard recommendation - 24-28°C (75-82°F), pH 6.0-7.5, peaceful with most community fish, and visually striking. The honest caveat: dwarf gourami iridovirus (DGIV) is widespread in commercially farmed fish. There's no treatment. Buy from reputable local breeders when possible, and quarantine new arrivals for at least two weeks.

Honey gourami (Trichogaster chuna) is a better choice if you want a peaceful, slightly smaller gourami that's less prone to disease. Males colour up beautifully in a well-planted tank. Often mislabelled in shops - check the dorsal fin length and body shape if you're unsure.

Betta (Betta splendens) can work in a 20-gallon community, but only with the right tank mates. Short-finned, peaceful species like ember tetras or harlequin rasboras generally coexist fine. Avoid anything nippy (serpae tetras, tiger barbs) or anything with flowing fins that a betta might mistake for a rival. One betta per tank, always.

Honest take

The "inch per gallon" rule is nearly useless. A 10-inch Oscar in a 10-gallon is obviously wrong, but the rule doesn't tell you that. What actually matters is adult size, bioload, swimming space, and territorial behaviour. Use a proper stocking calculator and think about the fish's needs, not a formula.

Livebearers

Guppies (Poecilia reticulata) and platies (Xiphophorus maculatus) are hardy, colourful, and beginner-friendly - pH 7.0-8.0, 22-28°C (72-82°F). The catch with livebearers is reproduction. A pair of guppies becomes dozens within months. Either keep all males, or be prepared to manage fry (a breeding trap, a separate grow-out tank, or a predator that eats fry like a single betta).

Platies are slower to reproduce and easier to manage. A group of five to six platies - mostly males, or all one sex - makes a clean, colourful community with minimal drama.

Complete stocking examples

These are tested combinations, not theoretical lists. All assume a cycled, filtered, planted 20-gallon long with weekly water changes.

Community classic: 8 harlequin rasboras + 6 Corydoras panda + 1 honey gourami. Temperatures overlap at 24-26°C (75-79°F), pH 6.5-7.5. Peaceful, easy to feed, looks great.

Betta community: 1 male betta + 10 ember tetras + 6 pygmy corydoras. Keep the tank well-planted so the betta has sight breaks. Introduce the betta last.

Livebearer tank: 6 male platies + 6 Corydoras sterbai + 1 dwarf gourami. Harder water suits the platies; sterbai handle the slightly warmer temps the gourami prefers.

Single-species school: 20 ember tetras or 15 chili rasboras in a planted nano-style 20-gallon. Minimal bioload, maximum visual impact, easy water chemistry.

Tip

Add fish in order of temperament - peaceful bottom dwellers first, then schoolers, then the centrepiece last. Introducing a territorial centrepiece into an established community is harder than establishing the community around it.

What most stocking guides get wrong

Most guides list compatible species without telling you why combinations fail. Here's what actually causes problems:

Temperature mismatch: Corydoras panda (22-25°C) and dwarf gourami (26-28°C) don't share an ideal temperature range. You can find a compromise at 25°C, but you're not giving either fish optimal conditions. Check the overlap before you commit.

Understocking schools: Six neon tetras sounds like a school. In practice, five or fewer tetras in the same species often school poorly and show stress colouration. Eight is better. Ten is better still if the tank can handle the bioload.

Ignoring the surface layer: A 20-gallon community often leaves the top third of the water column empty. Hatchetfish (Carnegiella strigata) occupy this space naturally - but they're jumpers. A tight-fitting lid is non-negotiable if you add them.

Buying fish before cycling: This is the single most common cause of early fish loss. A brand-new tank has no beneficial bacteria to process ammonia. Running a proper fishless cycle before you stock takes patience but saves fish lives. Understand the nitrogen cycle and you'll avoid most beginner mistakes.

Common mistake

Buying fish the same day as the tank. Even with a water conditioner, an uncycled tank will spike ammonia within 24-48 hours of adding fish. "Cycling with fish" works eventually but puts them through unnecessary stress and often kills sensitive species outright.

Water parameters for a 20-gallon community

Most popular community fish share enough parameter overlap to make a single community tank work, but you need to know where the boundaries are. Aim for:

Temperature: 24-26°C (75-79°F) covers the majority of tetras, rasboras, corydoras, and gouramis. This is the safe middle ground for mixed communities.

pH: 6.8-7.4 suits almost everything on this page. Extremes in either direction (below 6.5 or above 7.8) start narrowing your options fast.

Ammonia and nitrite: 0 ppm at all times. Any detectable level means something is wrong - check your water parameters guide for how to respond.

Nitrate: Under 20 ppm for most species. Under 10 ppm if you're keeping shrimp. Regular water changes are the main control lever here - live plants help but don't replace water changes.

Test weekly while the tank is young, then every two weeks once it's stable and you've logged consistent results. App-aquatic's parameter log lets you track trends over time, which is far more useful than a single reading.

Track your parameters and get care reminders with App-aquatic.

Get the free app

How many fish can I put in a 20-gallon tank?

There's no universal number because it depends entirely on species size, bioload, and behaviour. A realistic community might be 8 small tetras, 6 corydoras, and 1 centrepiece fish - around 15 fish total. A single large cichlid might be the only fish the tank can support. Use the free stocking calculator rather than counting heads.

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

Yes, with the right tank mates. Peaceful, fast-moving fish like ember tetras or harlequin rasboras generally coexist with bettas. Avoid fin-nipping species (tiger barbs, serpae tetras), other labyrinth fish, and anything brightly coloured with flowing fins. Always introduce the betta last into an established community, and have a backup plan if aggression develops - it's individual as well as species-dependent.

Do I need a heater for a 20-gallon tank?

For virtually all tropical fish on this page, yes. Most community species need 22-28°C (72-82°F), and room temperature in most homes - especially overnight or in winter - drops below that range. A reliable 100W heater is sufficient for a 20-gallon. Get one with a separate thermometer to verify the actual temperature rather than trusting the heater's dial.

How often should I do water changes in a 20-gallon tank?

Weekly 25-30% water changes are the standard for a moderately stocked community. Heavily planted tanks with light stocking can sometimes go two weeks between changes, but testing should confirm nitrates stay under 20 ppm before you stretch the interval. See the full guide on how often to do water changes.

What's the easiest fish to keep in a 20-gallon for a beginner?

Harlequin rasboras, platies, and corydoras are the most forgiving choices. They tolerate a wide parameter range, eat most prepared foods, and show stress clearly without dying immediately - which gives you time to diagnose and fix problems. If you want a full beginner-focused list, see More guides · 10 gallon · 5 gallon · Community tank · Get the app