Setting up a 20-gallon community aquarium

Updated April 2026.

The 20-gallon long (30 × 12 × 12 inches) is the most-recommended starter community tank in established hobby consensus. It's big enough to hold a small school plus tank mates, forgiving on water-parameter swings, and small enough to fit on a sturdy desk or dedicated stand. The setup sequence is nearly identical to the 10-gallon, but the stocking options open up dramatically — you can finally have a real community instead of a single solo fish.

Why 20-gallon long, specifically

Three things make the 20-long the standard community choice over either 10-gallon or 20-high:

Equipment list

Setup sequence

  1. Place tank on stand at final location. Once full, the tank weighs ~190 lb and is impossible to move without draining. Leave 4 inches of clearance behind for the HOB filter.
  2. Rinse substrate in plain water (no soap) until runoff is clear. With sand, this takes a while — keep going until the water comes out clean. Add to the tank.
  3. Fill with dechlorinated waterto 1–2 inches below the rim. Pour over a plate or your hand to avoid disturbing substrate. Use the dechlorinator at the bottle's dose (5 mL per 50 gal for Prime).
  4. Install the heaterhorizontally near the filter outflow for good current mixing. Don't plug in for 15 minutes after installation (thermal shock cracks heater glass).
  5. Install the filter and start it. The HOB should self-prime in 30 seconds; if not, pour water through the top. Confirm flow.
  6. Set heater targetto 78°F. Wait 24 hours and verify with a thermometer (don't trust the heater dial alone).
  7. Begin fishless cycling. Dose pure ammonia to 2 ppm; test daily; wait 3–6 weeks until ammonia and nitrite both hit 0 within 24 hours. See the cycling guide.
  8. Add fish gradually.Once cycled, add the first species (start with the schooling fish — they're the most sensitive to parameter swings). Wait 2 weeks. Add the next species. Wait 2 weeks. Etc.

Stocking templates that work

Three stocking patterns that consistently succeed in a 20-long community. Each balances schooling fish + bottom-dwellers + (optional) a centerpiece, and stays within reasonable bioload.

The classic tetra community

  • 8 neon tetras OR 8 ember tetras (mid-water schoolers)
  • 6 corydoras catfish (panda cory or pygmy cory; bottom)
  • 1 dwarf gourami (centerpiece, surface)

All compatible at 76–78°F. Established beginner community.

The shrimp-safe rasbora community

  • 8 harlequin rasboras (mid-water schooler)
  • 4 panda corydoras (bottom)
  • 6 cherry shrimp (clean-up crew, breeds in tank)

Skip the dwarf gourami — adult gouramis predate on shrimp. Add shrimp last, after parameters are rock-stable for 3+ weeks.

The nano-fish nature-style tank

  • 10 chili rasboras (small surface schooler)
  • 6 otocinclus (algae eaters)
  • 4 amano shrimp (algae eaters, larger than cherry)

Best with a planted setup. Otos need an established tank with biofilm — don't add them in week 1 of fish stocking.

Common 20-gallon mistakes

Where hobbyists disagree

Frequently asked questions

20 gallon long or 20 gallon high — which is better for community fish?
20-gallon long (30 in × 12 in × 12 in) is the standard recommendation for community tanks. The extra length gives schooling fish (tetras, rasboras) the lateral swim space they actually use. The 20-gallon high (24 in × 12 in × 16 in) has the same volume but the shorter footprint cramps schooling behavior. The exception is if you're keeping vertically-oriented species like angelfish or pearl gourami, where the extra height matters — but even then 29 gallons is a better fit.
What's a good starter stocking for a 20-gallon community?
A few stable templates: (a) 8 neon or ember tetras + 6 corydoras + 1 dwarf gourami; (b) 8 harlequin rasboras + 4 panda cories + 6 cherry shrimp; (c) 10 chili rasboras + 6 ottos + 4 amano shrimp. All three avoid the common beginner mistakes (overstocked aggression-prone, single-of-schooling-species, mixed water-parameter requirements). Add fish gradually — a few species per visit, two weeks apart.
Do I need a heater for a 20-gallon tank?
Yes for tropical fish (which is most community fish). Room temperature in most homes drops below 72°F at least seasonally, and consistent 76–78°F is what tropical species need. A 100W adjustable heater is the safe default for 20 gallons in most US homes; the FishTankMath heater calculator handles edge cases (cold rooms, large temperature lifts).
How long until I can add fish to a new 20-gallon?
3–6 weeks for fishless cycling. The cycle has to be fully established (ammonia and nitrite both reading 0 within 24 hours of dosing 2 ppm ammonia) before any fish go in. Skipping cycling is the #1 reason beginner tanks fail. See the cycling guide for the full procedure.
Can I keep angelfish or a betta in a 20-gallon?
Angelfish: not realistically — they need 29+ gallons with vertical height for adult body size and territorial behavior, especially as a pair. Bettas: yes, a 20-gallon is more than enough for one male, but it's overkill if the betta is the only fish; consider a community tank with the betta as the centerpiece and tank-mate compatibility researched per fish (cories and otos are usually fine; guppies and gouramis are not).

Related

Sources: Aqueon and Marineland published spec sheets, Aquarium Co-Op stocking references, manufacturer guidance from Hikari (corydoras food), and mainstream beginner-safe hobby consensus on community- tank stocking. Where sources diverged, this guide takes the conservative beginner-safe position.