Short answer

For freshwater: 6-10 small community fish (tetras, rasboras, dwarf corydoras) plus a single centerpiece (a betta, dwarf gourami, or pair of small rams). For saltwater: 2-3 small fish total - a clownfish pair plus one small goby or watchman is the realistic max in a 20-gallon reef. The old "1 inch per gallon" rule is wrong for both.

In depth

The "inch per gallon" rule was made up before anyone understood bioload. A 20-gallon tank can hold dozens of harlequin rasboras (1.5 inches each) but only one bichir (8 inches). Bioload is what matters - waste production, oxygen demand, and territorial space.

20-gallon freshwater stocking - what works

  • 1 betta + 5-6 amano shrimp + 5-6 corydoras (CO2-injected planted tank)
  • 10 ember tetras + 6 dwarf corydoras + 1 honey gourami
  • 1 pair apistogramma cacatuoides + 8 cardinal tetras + 6 hatchet fish
  • 1 Bolivian ram pair + 8 black neon tetras

20-gallon saltwater stocking - what works

A 20-gallon nano reef tops out at 2-3 small fish. Realistic options:

  • 1 pair of captive-bred Ocellaris clownfish + 1 small goby (Yellow Watchman, Tailspot Blenny)
  • 1 captive-bred Banggai Cardinal + 1 Firefish + 1 Yasha Goby
  • 1 small wrasse (Six-Line or Possum) + 1 cardinal

The bioload reality

Saltwater fish produce more waste per inch than freshwater fish, the water holds less oxygen at higher salinity, and the smaller water volume of a nano amplifies parameter swings. A 20-gallon reef with three fish runs cleanly; a 20-gallon reef with five fish struggles.

More questions

Aquarium-keeping fundamentals

Whatever specific topic brought you here, four fundamentals govern long-term aquarium success: water quality, parameter stability, biological filtration, and species-appropriate husbandry. Skip any one and the others struggle to compensate.

Water quality: ammonia + nitrite at zero, nitrate under 30 ppm freshwater + 10 ppm reef. Test weekly with API or Salifert kits. Use our water parameter checker to score your readings against your tank type.

Parameter stability: stable wrong parameters beat fluctuating ideal parameters. Most fish tolerate a wide pH range if it's stable. Sudden swings of 0.4+ pH or 5+°F kill fish faster than chronic suboptimal values. Use temperature controllers (Inkbird) + automated dosing for consistency.

Biological filtration: the bacterial colony on your filter media + rock + substrate is the engine. Never replace all media at once. Use our filter turnover calculator to size correctly.

Species-appropriate husbandry: research adult size, territoriality, diet, and tankmate compatibility before purchase. Use our tank stocking calculator + compatibility guides.

Frequently asked questions

How long does an aquarium take to set up? 4-6 weeks for full cycling + first stocking. Use our cycle ETA calculator + how long does cycling take.

What's the best aquarium for beginners? 20-gallon long. Big enough for parameter stability, small enough for budget + space. See beginner picks.

How often should I do water changes? 25-30% weekly. See water change frequency Q&A + water change calculator.

Why does my fish keep dying? 5 leading causes: uncycled tank, wrong species pairings, no quarantine, undersized tank, neglected water-change schedule. See full diagnosis.

Related resources

Saltwater livestock · Freshwater livestock · Coral catalog · Care library · Q&A library (222) · Glossary (127) · Disease database (50) · Calculators (29) · Interactive tools (7) · Husbandry deep-dives · DIY projects · State legality directory