How Many Fish in a 40 Gallon Tank?
The 40 gallon breeder is the workhorse of the hobby. Its unique 36" x 18" footprint offers more floor space than 55 gallon tanks, making it ideal for bottom dwellers, territorial species, and diverse communities. Here's how to stock it properly.
























TL;DR
- Total capacity: 20-35 small fish or 15-20 medium fish or 8-12 larger fish
- Classic setup: 15 tetras + 8 corydoras + 1 centerpiece (gourami or angelfish pair)
- Unique advantage: 18" width gives more floor space than a 55 gallon
- Opens up: Angelfish pairs, dwarf cichlids, larger schools, yoyo loaches
- Avoid: Large cichlids, common plecos, fish over 6 inches, goldfish
Quick Answer
A 40 gallon tank can comfortably hold 20-35 small fish (1-2 inches like tetras or rasboras), 15-20 medium fish (2-3 inches like mollies or barbs), or 8-12 larger fish (3-5 inches like angelfish or gouramis).
The 40 gallon breeder is especially valued for its footprint. At 36" x 18", it has more floor space than a standard 55 gallon (48" x 12"). This makes it superior for:
- Bottom dwellers like corydoras (more foraging area)
- Territorial species like dwarf cichlids (more territories possible)
- Breeding setups (the name "breeder" comes from this use)
- Active swimmers that need horizontal room
Try our 40 gallon stocking calculator to test specific combinations.
Why the 40 Gallon Breeder?
The 40 gallon breeder has earned cult status in the hobby. Here's why experienced fishkeepers often prefer it over larger tanks:
| Tank | Dimensions (L x W x H) | Floor Space | Notes |
|---|---|---|---|
| 29 gallon | 30" x 12" x 18" | 360 sq in | Tall but narrow |
| 40 breeder | 36" x 18" x 16" | 648 sq in | Best footprint |
| 55 gallon | 48" x 12" x 20" | 576 sq in | Long but narrow |
Notice that the 40 breeder has more floor space than a 55 gallon despite holding less water. For fish that use the bottom of the tank (corydoras, loaches, dwarf cichlids), this is a significant advantage.
Best Uses
- Angelfish pairs (minimum viable size)
- Dwarf cichlid communities
- Large corydoras schools (10+)
- Breeding setups for livebearers
- Aquascaping with horizontal layouts
Limitations
- 16" height limits tall plants and decor
- Too small for large cichlids (oscars, jack dempseys)
- Not enough length for fast schooling fish
- Still too small for goldfish
Best Fish for 40 Gallon Tanks
A 40 gallon opens up fish that don't work in smaller tanks. Here are the best options by category:
Schooling Fish
You can now keep larger schools (15-20 fish) or multiple species. The footprint allows proper schooling behavior.
Neon TetraKeep 15-20 in a 40g
Rummy Nose TetraKeep 12-15 in a 40g
Cherry BarbKeep 10-12 in a 40g
Tiger BarbKeep 10-12 in a 40gCenterpiece Fish (New Options)
A 40 gallon unlocks species that don't work in smaller tanks:
AngelfishKeep 1-2 in a 40g breeder
Pearl GouramiKeep 2-3 in a 40g
German Blue RamKeep 2-4 in a 40g
Bolivian RamKeep 2-4 in a 40gBottom Dwellers
The extra footprint really benefits bottom species. You can now keep larger loaches:
Bronze CorydorasKeep 8-12 in a 40g
Yoyo LoachKeep 4-5 in a 40g
Bristlenose PlecoKeep 1-2 in a 40gFish Too Large for 40 Gallons
- Oscar: Grows to 12-14 inches, needs 75+ gallons
- Common Pleco: Grows to 18+ inches, needs 125+ gallons
- Clown Loach: Grows to 12 inches, needs schools, 75+ gallons
- Goldfish: Need cold water and 20-40+ gallons per fish
- Jack Dempsey: Grows to 10+ inches, highly aggressive
- Bala Shark: Grows to 12 inches, needs 120+ gallons
All Suitable Species for 40 Gallons (85)
Neon Tetra1.5"
Cardinal Tetra2"
Black Skirt Tetra2.5"
Harlequin Rasbora2"
Zebra Danio2"
Leopard Danio2"
Cherry Barb2"
Tiger Barb3"
Guppy2"
Fancy Guppy2.5"
Platy2.5"
Swordtail4"
Molly4"
Black Molly4"
Dalmatian Molly4"
Betta2.5"
Dwarf Gourami3.5"
Honey Gourami2"
Pearl Gourami4.5"
German Blue Ram2.5"
Angelfish6"
Convict Cichlid5"
Yellow Lab4"
Bronze Cory2.5"
+ 61 more species. Browse all fish →
Sample Community Setups
These are proven combinations optimized for the 40 gallon breeder footprint:
Rainbow Community
- 15x Neon Tetra
- 8x Cherry Barb
- 8x Corydoras
- 1x Bristlenose Pleco
A vibrant, colorful display with movement at all levels. Cherry barbs add warm reds while tetras provide the classic blue shimmer. All hardy species.
Angelfish Feature Tank
- 2x Angelfish
- 10x Rummy Nose Tetra
- 6x Sterbai Corydoras
A 40 breeder is the minimum for a pair of angelfish. Rummy nose tetras are fast enough to avoid predation once established. Sterbais tolerate warmer water.
Dwarf Cichlid Paradise
- 4x German Blue Ram
- 12x Cardinal Tetra
- 6x Otocinclus
- 6x Amano Shrimp
A planted South American biotope. Requires pristine water quality and temperatures of 82-84°F. The extra footprint of a breeder gives rams territory.
Livebearer Explosion
- 6x Swordtail
- 8x Platy
- 8x Corydoras
- 4x Nerite Snail
Keep 2-3 females per male to reduce harassment. Expect fry. The footprint of a breeder tank is perfect for these active swimmers.
Gourami Centerpiece
- 3x Pearl Gourami
- 12x Harlequin Rasbora
- 6x Kuhli Loach
- 3x Mystery Snail
Pearl gouramis are among the most peaceful gouramis and work well in groups. A well-planted tank gives everyone hiding spots.
Barb Community
- 10x Tiger Barb
- 8x Odessa Barb
- 4x Yoyo Loach
Barbs need fast-moving tank mates that can handle their energy. Keep tiger barbs in large groups (10+) to reduce fin nipping. No long-finned fish!
Stocking by Swimming Level
A balanced 40 gallon occupies all three zones. Here's a suggested breakdown:
Top Level (10-20% of bioload)
Optional but adds completeness. Options: hatchetfish, pencilfish, or top-swimming livebearers like guppies.
Mid Level (40-50% of bioload)
Your primary display fish. One or two schools of tetras, rasboras, or barbs (15-25 total fish). Consider a centerpiece like gouramis or angelfish.
Bottom Level (30-40% of bioload)
Essential for a complete ecosystem. One large school of corydoras (8-12) or a mix of loaches. Add a bristlenose pleco for algae control.
40 Gallon Breeder Advantage
The 18" width means you can keep larger bottom-dwelling schools than in narrower tanks. 10 corydoras in a 40 breeder have more room than 10 corydoras in a 55 gallon.
Equipment Recommendations
| Equipment | Recommendation | Notes |
|---|---|---|
| Filter | HOB rated 60-80 gal or canister | AquaClear 70, Fluval 307, or Oase Biomaster |
| Heater | 150-200W adjustable | Consider two 100W for redundancy |
| Lighting | 36" LED rated for plants | Fluval Plant 3.0, Finnex, or Nicrew |
| Substrate | Sand for bottom dwellers | Pool filter sand or CaribSea |
| Stand | Must support 400+ lbs | 40 breeder is heavy when full |
Common 40 Gallon Mistakes
1. Putting Too Many Angelfish
A 40 breeder fits a pair of angelfish, not 4-6. Angelfish become territorial as adults and will fight. One established pair works; more leads to constant aggression and stress.
2. Mixing Incompatible Barbs
Tiger barbs and other fin nippers are tempting in a 40 gallon, but they destroy long-finned tank mates. If you keep tiger barbs, avoid angelfish, bettas, guppies, and gouramis.
3. Underfiltering
A filter rated for 40 gallons is inadequate for a fully stocked 40 gallon. Use a filter rated for 60-80 gallons (1.5-2x the tank size). Canister filters are worth the investment at this size.
4. Using Gravel with Corydoras
Corydoras barbels (whiskers) are sensitive. Sharp gravel damages them, leading to infections. Use sand or fine, smooth gravel if you keep any bottom dwellers.
5. Buying "Algae Eaters" Without Research
Common plecos are sold as algae eaters for any tank. They grow to 18+ inches and produce massive waste. For a 40 gallon, use bristlenose plecos, otocinclus, or nerite snails instead.
Frequently Asked Questions
- How many fish can I put in a 40 gallon tank?
- A 40 gallon tank can hold 20-35 small fish (1-2 inches) or 15-20 medium fish (2-3 inches) or 8-12 larger fish (3-5 inches). The 40 gallon breeder's extra footprint (36" x 18") compared to a tall tank makes it particularly versatile for active swimmers and territorial species.
- What is a 40 gallon breeder tank?
- A 40 gallon breeder measures 36" x 18" x 16". It's shorter and wider than a regular 40 gallon, providing more floor space. The extra footprint makes it ideal for bottom dwellers, territorial fish, and species that need horizontal swimming room. It's one of the most versatile tank sizes in the hobby.
- Can I keep angelfish in a 40 gallon tank?
- Yes, a 40 gallon breeder can house 1-2 angelfish. The breeder's 18" width gives them adequate horizontal space. A regular 40 gallon tall also works due to the height. Avoid keeping more than a pair, as angelfish become territorial as adults.
- How many tetras can I keep in a 40 gallon?
- A 40 gallon can comfortably hold 20-30 small tetras (neon, ember, cardinal) or 12-15 larger tetras (black skirt, serpae, congo). You can mix species if they share water requirements. Larger schools look more impressive and reduce individual stress.
- Can I keep a cichlid community in a 40 gallon?
- Yes, but only with dwarf cichlids like German blue rams, bolivian rams, or apistogrammas. You could keep 2-4 dwarf cichlids with appropriate dither fish. African cichlids and larger South American cichlids need 55+ gallons minimum.
- Is a 40 gallon tank good for beginners?
- Yes, a 40 gallon breeder is excellent for beginners. The larger water volume is more stable than nano tanks (more forgiving of mistakes), and the footprint allows for diverse community setups. It's also not so large that maintenance becomes overwhelming.
- What filter should I use for a 40 gallon tank?
- Choose a filter rated for 60-80 gallons (1.5-2x tank size). Good options include the AquaClear 70, Fluval 307 canister, or two smaller HOB filters. Canister filters are more efficient for larger tanks but cost more upfront.
- How often should I do water changes in a 40 gallon?
- Perform 20-25% water changes weekly. Larger tanks can sometimes extend to every 10-14 days if lightly stocked and heavily planted, but weekly is the gold standard. Test nitrates to calibrate your schedule.
Related Guides
- 29 Gallon Stocking Guide — Smaller community option
- 55 Gallon Stocking Guide — More length, less footprint
- Best Community Tank Fish — Peaceful species recommendations
Use our calculator to check bioload and compatibility for any fish combination