A 20-gallon aquarium offers enough space to create a beautiful freshwater community with schooling fish, a colorful centerpiece fish or a group of bottom dwellers.
However, choosing compatible fish is more important than simply filling every swimming zone.
This guide compares 12 of the best fish for a 20-gallon tank and includes six practical stocking plans based on aquarium dimensions, water conditions and fish behavior.
20-Gallon Long vs. 20-Gallon High Tank
Both aquariums have a nominal capacity of approximately 76 liters, but their shapes offer different advantages.
| Feature | 20-Gallon High | 20-Gallon Long |
|---|---|---|
| Typical dimensions | 24 × 12 × 16 in | 30 × 12 × 12 in |
| Approximate dimensions | 61 × 30 × 41 cm | 76 × 30 × 30 cm |
| Horizontal swimming space | Moderate | Better |
| Bottom surface area | Smaller | Larger |
| Tall plants | More vertical space | Limited height |
| Bottom-dwelling fish | Suitable with careful stocking | Preferred |
| Community aquarium | Good | Generally better |
Dimensions vary slightly between manufacturers.
A 20-gallon long aquarium provides approximately 25% more bottom surface area than a typical 20-gallon high aquarium.
For active schooling fish and bottom-dwelling species, the long aquarium is usually the better choice.
12 Best Fish for a 20-Gallon Tank Compared
| Fish | Adult size | Suggested number | Swimming zone |
|---|---|---|---|
| Neon Tetra | 1.5 in | 10–12 | Middle |
| Harlequin Rasbora | 1.5–2 in | 8–10 | Middle |
| Ember Tetra | 0.8 in | 10–12 | Middle |
| Cherry Barb | 2 in | 8 | Middle |
| Honey Gourami | 2 in | 1 | Upper/Middle |
| Panda Corydoras | 2 in | 6–8 | Bottom |
| Pygmy Corydoras | 1–1.2 in | 8–10 | Bottom/Middle |
| Endler’s Livebearer | 1–1.8 in | 6–8 males | Upper/Middle |
| Platy | 2–3 in | 4–5 | Middle |
| Celestial Pearl Danio | 1 in | 10–12 | Middle/Lower |
| White Cloud Mountain Minnow | 1.5–2 in | 8–10 | Middle/Upper |
| Betta Fish | 2.5–3 in | 1 | Upper/Middle |
These are suggested populations when selecting a species for an established aquarium. Do not combine every recommended group in a single tank.
1. Neon Tetra

Photo: André Karwath aka Aka | Source: Wikimedia Commons | License: CC BY-SA 2.5 | Modifications: None.
Scientific name: Paracheirodon innesi
Adult size: Approximately 1.5 inches (4 cm)
Temperature: 70–77°F (21–25°C)
Suggested group: 10–12
Water preference: Soft to moderately hard
Neon tetras are an attractive choice for planted community aquariums. Their bright blue and red markings stand out against dark substrate and green vegetation.
Compatible companions: Panda corydoras and other suitably peaceful fish with similar temperature requirements.
Setup tip: Leave an open swimming area across the middle of the aquarium.
Avoid: Large predatory fish and excessively warm water.
2. Harlequin Rasbora

Photo: Juan R. Lascorz | Source: Wikimedia Commons | License: CC BY-SA 3.0 | Modifications: None.
Scientific name: Trigonostigma heteromorpha
Adult size: 1.5–2 inches (4–5 cm)
Temperature: 73–79°F (23–26°C)
Suggested group: 8–10
Water preference: Soft to moderately hard
Harlequin rasboras have distinctive copper-colored bodies and triangular black markings.
Their generally peaceful temperament makes them excellent candidates for a community aquarium.
Compatible companions: Honey gourami and small corydoras.
Setup tip: Combine dense background planting with open horizontal swimming space.
Avoid: Keeping them in very small groups.
3. Ember Tetra

Photo: Mbdtsmo | Source: Wikimedia Commons | License: CC BY-SA 4.0 | Modifications: None.
Scientific name: Hyphessobrycon amandae
Adult size: Approximately 0.8 inches (2 cm)
Temperature: 73–80°F (23–27°C)
Suggested group: 10–12
Water preference: Soft to moderately hard
Ember tetras are ideal for aquarists who want a colorful group of miniature fish.
Their small adult size makes it possible to combine them with another suitable small species without immediately using all the available space.
Compatible companions: Pygmy corydoras and calm honey gouramis.
Setup tip: Use dark substrate, Cryptocoryne and Java moss.
Avoid: Fish large enough to swallow them.
4. Cherry Barb

Photo: Uditha Thejan | Source: Wikimedia Commons | License: CC BY-SA 4.0 | Modifications: None.
Scientific name: Puntius titteya
Adult size: Approximately 2 inches (5 cm)
Temperature: 73–79°F (23–26°C)
Suggested group: 8
Water preference: Soft to moderately hard
Male cherry barbs develop attractive red coloration, while females generally display more subtle brown and orange tones.
They are usually more peaceful than many other popular barb species.
Compatible companions: Peaceful bottom-dwelling fish with overlapping water requirements.
Setup tip: Provide planted areas where females can retreat from persistent male attention.
Avoid: Confusing them with more aggressive tiger barbs. Choose responsibly sourced captive-bred specimens.
For more brightly colored species, explore our 20 Most Colorful Freshwater Aquarium Fish guide.
5. Honey Gourami

Photo: Vincent Lim Show Chen | Source: Wikimedia Commons | License: CC BY-SA 2.0 | Modifications: None.
Scientific name: Trichogaster chuna
Adult size: Approximately 2 inches (5 cm)
Temperature: 75–80°F (24–27°C)
Suggested number: One for a beginner community tank
Honey gouramis make attractive centerpiece fish without reaching the adult size of many larger gourami species.
They generally prefer quiet surroundings, gentle water movement and sheltered areas near the surface.
Compatible companions: Harlequin rasboras, ember tetras and suitably peaceful small catfish.
Setup tip: Add partial floating plant cover while maintaining open surface access.
Avoid: Aggressive gouramis, bettas and persistent fin-nipping fish.
Confirm the scientific name before purchasing, as some larger gouramis are sold under similar names.
6. Panda Corydoras

Photo: Giniro | Source: Wikimedia Commons | License: CC BY 3.0 | Modifications: None.
Scientific name: Hoplisoma panda (formerly Corydoras panda)
Adult size: Approximately 2 inches (5 cm)
Temperature: 68–77°F (20–25°C)
Suggested group: 6–8
Preferred aquarium: 20-gallon long
Panda corydoras have distinctive black markings around their eyes and near the tail.
They spend much of their time searching for food along the aquarium bottom.
Compatible companions: Neon tetras and other peaceful fish that tolerate relatively cool tropical temperatures.
Setup tip: Provide fine sand, good oxygenation and sufficient open bottom space.
Avoid: Keeping them alone or relying on leftover food as their only diet.
Feed suitable sinking pellets and small frozen foods.
7. Pygmy Corydoras

Photo: Sesarma | Source: Wikimedia Commons | License: CC BY-SA 3.0 | Modifications: None.
Scientific name: Corydoras pygmaeus
Adult size: 1–1.2 inches (2.5–3 cm)
Temperature: 72–78°F (22–26°C)
Suggested group: 8–10
Pygmy corydoras are smaller than panda corydoras and frequently swim together in the middle water column.
They are particularly suitable for communities built around miniature fish.
Compatible companions: Ember tetras, small rasboras and other peaceful nano fish.
Setup tip: Combine fine sand with low-growing plants, smooth driftwood and sheltered resting places.
Avoid: Rough substrate and larger aggressive fish.
Explore more miniature species in our 15 Best Nano Fish guide.
8. Endler’s Livebearer

Photo: Karen Koomans | Source: Wikimedia Commons | License: CC BY 2.5 | Modifications: None.
Scientific name: Poecilia wingei
Adult size: 1–1.8 inches (2.5–4.5 cm)
Temperature: 72–79°F (22–26°C)
Suggested group: 6–8 males
Water preference: Moderately hard to hard
Male Endlers display colorful combinations of metallic green, orange, blue and black.
They are an excellent option for aquarists whose tap water contains relatively high mineral levels.
Compatible companions: Other peaceful fish that thrive in similar hard-water conditions.
Setup tip: Plant the sides and rear of the aquarium while leaving open swimming space.
Avoid: Mixing males and females unless you have a plan for offspring.
9. Platy

Photo: Marrabbio2 | Source: Wikimedia Commons | License: CC BY-SA 3.0 | Modifications: None.
Scientific name: Xiphophorus maculatus
Adult size: 2–3 inches (5–7.5 cm)
Temperature: 70–77°F (21–25°C)
Suggested group: 4–5
Water preference: Moderately hard to hard
Platies are available in many colors and patterns, including red, orange, yellow and black.
They are relatively adaptable, active fish and a popular choice for beginners with suitable water chemistry.
Compatible companions: Endler’s livebearers and other small, peaceful hard-water fish.
Setup tip: Maintain a balance of open swimming areas and sheltered vegetation.
Avoid: Uncontrolled breeding. Females purchased from mixed-sex tanks may already be pregnant.
10. Celestial Pearl Danio

Photo: Cisamarc | Source: Wikimedia Commons | License: CC BY-SA 3.0 | Modifications: None.
Scientific name: Danio margaritatus
Adult size: Approximately 1 inch (2.5 cm)
Temperature: 70–75°F (21–24°C)
Suggested group: 10–12
Celestial pearl danios have beautiful pale body spots and colorful red-orange fins.
A 20-gallon aquarium allows more space for vegetation, social interactions and separate territories than a smaller nano tank.
Compatible companions: Small, calm fish that prefer similar temperatures.
Setup tip: Provide several densely planted areas and keep multiple females in the group where possible.
Avoid: Large, boisterous fish that may intimidate them or outcompete them for food.
11. White Cloud Mountain Minnow

Photo: Ethmostigmus | Source: Wikimedia Commons | License: CC BY-SA 4.0 | Modifications: None.
Scientific name: Tanichthys albonubes
Adult size: Approximately 1.5–2 inches (4–5 cm)
Temperature: 64–72°F (18–22°C)
Suggested group: 8–10
Preferred aquarium: 20-gallon long
White cloud mountain minnows are active, attractive schooling fish that prefer cooler water than most tropical aquarium species.
They are a useful alternative for homes where aquarium temperatures remain within their preferred range without substantial heating.
Compatible companions: Other peaceful species with genuinely overlapping cooler-water requirements.
Setup tip: Provide good oxygenation and a long, unobstructed swimming area.
Avoid: Warm-water species such as bettas and German blue rams.
A heater may still be necessary if room temperatures fluctuate excessively.
12. Betta Fish

Photo: Funfood | Source: Wikimedia Commons | License: CC0 1.0 | Modifications: None.
Scientific name: Betta splendens
Adult size: 2.5–3 inches (6–7.5 cm)
Temperature: 76–79°F (24–26°C)
Suggested number: 1
A 20-gallon aquarium provides excellent opportunities to create a spacious planted betta habitat.
Some calm bettas may tolerate suitable community fish, while others need to live alone.
Potential companions: Ember tetras, harlequin rasboras or pygmy corydoras.
Setup tip: Use plants and driftwood to create visual barriers and sheltered territories.
Avoid: Other bettas, aggressive gouramis and long-finned fish that may trigger territorial behavior.
Before attempting a community, read our Betta Fish Tank Mates Guide.
6 Practical Stocking Plans for a 20-Gallon Tank

Photo: Sandhiya Rangasami | Source: Wikimedia Commons | License: CC BY 4.0 | Modifications: None. Layout inspiration only; the photographed aquarium’s volume and fish population are not verified.
The following plans are alternative starting populations for mature, appropriately filtered aquariums.
Choose one plan rather than combining several.
Plan A: Classic Schooling Community
| Fish | Quantity |
|---|---|
| Neon Tetra | 10 |
| Panda Corydoras | 6 |
| Total | 16 |
Preferred tank: 20-gallon long
Temperature: 73–75°F (23–24°C)
Water: Soft to moderately hard
Neon tetras occupy the middle water column, while panda corydoras explore the sandy bottom.
Plants: Java fern, Cryptocoryne and Anubias.
Best for: A traditional, peaceful community aquarium.
Plan B: Golden Centerpiece Aquarium
| Fish | Quantity |
|---|---|
| Honey Gourami | 1 |
| Harlequin Rasbora | 8 |
| Total | 9 |
Preferred tank: 20-gallon high or long
Temperature: 77°F (25°C)
Water: Soft to moderately hard
The honey gourami provides a golden focal point, while the rasboras create movement across the aquarium.
Plants: Java fern, Vallisneria and suitable floating plants.
Best for: Beginners who want a centerpiece fish with a peaceful school.
Plan C: Miniature Planted Community
| Fish | Quantity |
|---|---|
| Ember Tetra | 12 |
| Pygmy Corydoras | 8 |
| Total | 20 |
Preferred tank: 20-gallon long
Temperature: 76°F (24–25°C)
Water: Soft to moderately hard
Both species remain small, creating a lively community without relying on larger fish.
Provide sufficient feeding areas, sandy substrate and dense planting.
Plants: Java moss, Cryptocoryne and Anubias Petite.
Best for: Nano fish enthusiasts upgrading from a smaller aquarium.
Plan D: Colorful Hard-Water Community
| Fish | Quantity |
|---|---|
| Male Endler’s Livebearer | 6 |
| Platy | 4 |
| Total | 10 |
Preferred tank: 20-gallon long
Temperature: 75°F (24°C)
Water: Moderately hard to hard
This plan suits homes with naturally mineral-rich tap water.
Plants: Guppy grass, Java fern and Vallisneria.
Select the platy group carefully and prepare for potential breeding or aggression. If population growth becomes difficult to manage, choose a single livebearer species instead.
Best for: Aquarists with hard tap water.
Plan E: Cooler-Water Aquarium
| Fish | Quantity |
|---|---|
| White Cloud Mountain Minnow | 10 |
| Total | 10 |
Preferred tank: 20-gallon long
Temperature: 68–72°F (20–22°C)
Water: Stable, moderately mineralized water
A single larger school creates a more natural display than several small, incompatible groups.
Plants: Java moss, suitable Vallisneria and Java fern.
Best for: Homes with stable, relatively cool indoor temperatures.
Plan F: Planted Betta Community
| Fish | Quantity |
|---|---|
| Betta Fish | 1 |
| Ember Tetra | 10 |
| Total | 11 |
Preferred tank: 20-gallon long
Temperature: 77–78°F (25–26°C)
Water: Soft to moderately hard
Create several planted territories with broad leaves and sheltered surface areas.
Introduce the betta after the peaceful schooling fish have settled when establishing a new community.
Important: This combination is conditional on the betta’s temperament. Have a separate heated and filtered aquarium available in case aggression develops.
Best for: Experienced betta owners.
Which Stocking Plan Should You Choose?
| Your priority | Best plan |
|---|---|
| Traditional community aquarium | Plan A |
| Colorful centerpiece fish | Plan B |
| Miniature planted community | Plan C |
| Naturally hard tap water | Plan D |
| Cooler-water aquarium | Plan E |
| Betta-focused community | Plan F |
Plan B and Plan E have relatively simple population structures. Plan C contains more individuals, but they are much smaller.
Fish count alone is not a reliable measure of aquarium stocking capacity.
How to Arrange the Three Swimming Zones
A well-planned aquarium provides usable space throughout the tank.
| Swimming zone | Suitable fish | Layout requirements |
|---|---|---|
| Upper | Honey gourami, betta | Surface access and sheltered areas |
| Middle | Tetras, rasboras, livebearers | Open horizontal swimming space |
| Bottom | Panda and pygmy corydoras | Fine sand and accessible feeding areas |
These zones are general preferences. Fish do not remain exclusively in one part of the aquarium.
You do not need to populate all three levels. A lightly stocked aquarium with two compatible species can be healthier and easier to maintain.
For layout inspiration, explore our 15 Stunning Aquascaping Ideas.
Best Plants for a 20-Gallon Community Tank
| Plant | Recommended placement |
|---|---|
| Anubias Nana | Driftwood and rocks |
| Java Fern | Midground |
| Cryptocoryne Wendtii | Middle and sides |
| Vallisneria | Background |
| Java Moss | Rocks and sheltered areas |
| Water Sprite | Background or surface |
| Suitable floating plants | Partial surface cover |
Most of these plants can grow without pressurized CO2 under appropriate conditions.
See our 15 Low-Light Aquarium Plants guide for planting instructions.
For surface cover, compare species in our 10 Best Floating Aquarium Plants guide.
Fish You Should Avoid in a 20-Gallon Tank
| Fish | Why it needs a different setup |
|---|---|
| Common Goldfish | Large adult size and heavy waste production |
| Common Pleco | Can grow well beyond 12 inches |
| Oscar | Large, territorial cichlid |
| Clown Loach | Large adult size and social requirements |
| Bala Shark | Large, active schooling fish |
| Discus | Requires a larger, specialized aquarium |
| Boesemani Rainbowfish | Needs more horizontal swimming space |
| Adult Angelfish | Requires more height, space and territory |
Some of these species are sold as small juveniles, but they are unsuitable for permanent housing in a typical 20-gallon aquarium.
Always plan around adult requirements.
How Many Fish Can You Keep in a 20-Gallon Tank?
There is no single safe number for every aquarium.
For example:
- One honey gourami and eight harlequin rasboras form a relatively simple community.
- Twelve ember tetras and eight pygmy corydoras contain more individuals but much smaller fish.
- Ten platies would produce a different biological load and require more attention to breeding.
Safe stocking depends on adult body size, behavior, oxygen requirements, filtration, aquarium dimensions and maintenance.
Avoid using the one-inch-per-gallon rule as your main stocking method.
If you have a smaller aquarium, our 10 Best Fish for a 10-Gallon Tank guide offers more suitable population examples.
When to Add Fish to a New 20-Gallon Aquarium
Do not add your entire community immediately after filling the aquarium.
| Stage | What to do |
|---|---|
| Initial setup | Install equipment, substrate and plants |
| Fishless cycling | Establish the biological filter using an appropriate ammonia source |
| Cycle completion | Confirm the filter processes ammonia and nitrite reliably |
| First fish group | Introduce one appropriately sized social group after quarantine |
| Observation | Monitor water quality, feeding and behavior |
| Additional fish | Add compatible inhabitants only when conditions remain stable |
Fishless cycling often takes several weeks, but the actual duration varies.
Do not use a fixed calendar date as proof that an aquarium is ready. Water testing is more important.
20-Gallon Aquarium Maintenance Checklist
| Item | Recommended starting routine |
|---|---|
| Ammonia | 0 ppm |
| Nitrite | 0 ppm |
| Nitrate | Keep low according to species needs |
| Temperature | Check daily |
| Water testing | At least weekly; more often when newly stocked |
| Water changes | Approximately 20–30% weekly, adjusted to test results |
| Filter maintenance | As needed, preserving biological media |
| Plant trimming | As needed |
| Fish observation | Daily |
| Feeding | Appropriate portions and species-specific food |
Use conditioned, temperature-matched replacement water.
Avoid replacing all biological filter media at once. Beneficial microorganisms are essential for processing aquarium waste.
What Is the Best 20-Gallon Aquarium Setup for Beginners?
For a first community aquarium, consider eight harlequin rasboras and one honey gourami in a planted tank.
If you prefer a cooler aquarium, a single group of white cloud mountain minnows is another attractive option.
For a miniature community, ember tetras and pygmy corydoras provide color, movement and interesting social behavior.
Choose a 20-gallon long aquarium whenever practical, match fish to your existing water conditions, and introduce compatible groups gradually.
A successful community aquarium is built around healthy fish and stable conditions, not the maximum possible fish count.
