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:
- Lateral swim space. Schooling fish (tetras, rasboras, danios) move side-to-side as a school. A 30-inch footprint gives the school real movement room; a 24-inch (20-high) or 20-inch (10-gallon) footprint cramps it.
- Parameter stability.Larger water volume buffers against ammonia spikes, temperature swings, and the inevitable beginner overfeed. 20 gallons isn't huge, but it's twice the buffer of a 10.
- Stocking flexibility. A real community — schooling fish + bottom-dwellers + a centerpiece — actually fits. In a 10, you have to pick two of those three. In a 20-long, you can have all three.
Equipment list
- 20-gallon long glass tank. Standard dimensions ~30×12×12 inches. Aqueon and Marineland are the common brands. Holds about 18 gallons of actual water once substrate and fill-below-rim are accounted for.
- Stand or sturdy surface. Full tank weighs ~190 lb (water + glass). A purpose-built aquarium stand or a solid hardwood desk; not a flimsy IKEA bookcase.
- Filter. Hang-on-back (HOB) at 150–200 GPH (e.g. AquaClear 30 / Fluval 110) or a sponge filter rated for 20+ gallons. HOBs are easier for beginners; sponge filters are shrimp-safe and quieter. The filter-flow calculator handles the math.
- Heater. 100W adjustable. See the heater sizing calculator if your room runs cold or you're keeping species that need higher target temperatures.
- Light.Most kits include one. Skip planted-tank high-output lighting unless you're going planted — unnecessary lumens grow algae.
- Substrate. 20–30 lb of inert gravel or pool filter sand. Sand looks better with cory cats; gravel is fine for most other fish. Skip dyed or coated decorative gravel.
- Dechlorinator. Seachem Prime is the standard. Treats tap water for chlorine and chloramine.
- Test kit. API Freshwater Master is the beginner-safe reference. Strips are fine for pH/GH/KH/nitrate but unreliable for ammonia and nitrite — see the water parameters guide.
- Pure ammoniafor fishless cycling. Hardware-store unscented works; aquarium-specific products like Dr. Tim's are calibrated.
- Decor. Driftwood + a few rocks + plants (live or silk) cover the basics. Skip anything sharp-edged for tetras and anything plastic-coated.
Setup sequence
- 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.
- 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.
- 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).
- 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).
- Install the filter and start it. The HOB should self-prime in 30 seconds; if not, pour water through the top. Confirm flow.
- Set heater targetto 78°F. Wait 24 hours and verify with a thermometer (don't trust the heater dial alone).
- 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.
- 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
- Overstocking.A 20-gallon long can hold a real community — but not a HUGE one. The old "1 inch of fish per gallon" rule overestimates capacity badly for body-massive species (goldfish at 6+ inches, cichlids). Conservative beginner answer: stay under 10 small fish + 6 corydoras + 1 centerpiece.
- Mixing incompatible water-parameter species. Soft-water tetras (cardinals, ember) at pH 6.0–7.0 don't mix well with hard-water livebearers (mollies, platies) at pH 7.5–8.5. Pick a parameter range and stock to it.
- Adding all stocking at once. Even a fully cycled tank has a bacterial colony sized for the bioload that cycled it. Dropping 15 fish in on day 1 spikes ammonia faster than the colony can scale up. Stagger stocking over 4–6 weeks.
- Single corydoras or single neon tetra. Both are obligate schooling species. A single individual hides constantly and is more disease-prone. Minimum 6 of each schooling species.
- Skipping the cycle.Adding fish to an uncycled tank is the #1 cause of beginner fish death. Doesn't matter if it's a 20-long or a 200-gallon — uncycled is uncycled.
Where hobbyists disagree
- 20-long vs 29-gallon. Some keepers argue the 29 is a strictly better starter — same footprint with more height. True for vertically-oriented species (angelfish, gouramis), but the 20-long is cheaper, lighter, and easier to find used. The 29 is a fine alternative; the 20-long is the conservative answer.
- Sponge filter vs HOB.Some experienced keepers run sponge-only on community tanks; others insist HOBs are necessary for the bioload. Both work. HOB is more beginner- friendly because the visible mechanical filtration tells you when something's wrong; sponge requires more parameter testing to detect issues.
- Live plants from day 1.Some sources push for heavily-planted setups during cycling (plants consume ammonia directly). Others prefer to cycle bare and add plants later. Either works; start simple if you're new to plants.
- Centerpiece fish in 20 gallons. Dwarf gourami is the standard suggestion; some keepers swear by a single German blue ram. Rams are more demanding (warmer water, higher water-quality bar). Dwarf gourami is the conservative beginner answer.
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
- How to cycle a new aquarium — non-negotiable before adding any fish.
- Water parameters explained — the testing reference you'll use weekly.
- Tank volume calculator — verify your tank actually holds 20+ gallons after substrate.
- Heater sizing — wattage for your specific room temperature.
- Filter buying guide — sourced explainer for 20-gallon-class filters.
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.