Best Fish for a 40 Gallon Tank
34 species that unlock at 40 gallons — Angelfish, Rainbowfish, and active swimmers that finally have room to thrive.
The 40 gallon tank — especially the 40 breeder (36×18×16") — is where serious fishkeeping starts. You finally get Angelfish. You get Rainbowfish that need room to show off their colors. You get active species like Giant Danios and Denison Barbs that would pace endlessly in anything smaller.
This isn't just "more fish than a 30 gallon." It's access to species that genuinely require this footprint. The 40 breeder's extra depth makes it ideal for tall fish like Angels and gives bottom dwellers like Pictus Catfish the floor space they need. Every species below is selected because 40 gallons is where they start to work — not where they merely survive.
Schooling Fish for a 40 Gallon Tank
At 40 gallons, you can keep the larger schooling species in proper numbers. Boesemani Rainbowfish need a group of 6 to color up. Giant Danios need the swimming length. Denison Barbs — one of the most striking fish in the hobby — finally fit. Mix and match, but give each school enough numbers to behave naturally.









Centerpiece Fish for a 40 Gallon Tank
This is where Angelfish become viable. The 40 gallon's height accommodates their tall bodies, and the footprint gives them room to establish territory without terrorizing everything else. Larger gouramis, peaceful cichlids, and underrated species like the Kribensis all work here as focal points.






Rainbowfish for a 40 Gallon Tank
Rainbowfish are built for tanks this size. They're active swimmers that need horizontal space, they color up best in groups, and males display constantly when competing for female attention. A rainbowfish-focused 40 gallon is one of the most underrated setups in the hobby.


Bottom Dwellers for a 40 Gallon Tank
The 40 breeder's extra floor space (36×18") opens up species that need room to roam. Pictus Catfish are active hunters that pace constantly. Weather Loaches get large and quirky. The standard Corydoras and loach options still apply — but you can keep them in larger, more natural groups.






Livebearers for a 40 Gallon Tank
At 40 gallons, livebearers have room to establish social groups without constant stress. Males can display, females can escape harassment, and the inevitable fry have hiding spots. Population control is still your main challenge — keep all males, or accept that you're running a breeding operation.


Invertebrates for a 40 Gallon Tank
The cleanup crew scales with tank size. More water means more surfaces for algae, more substrate for detritus, and more capacity for filter-feeding shrimp. Bamboo Shrimp especially benefit from the flow patterns possible in a 40 gallon.



Stocking Ideas for a 40 Gallon Tank
Four proven combinations where every species is compatible by temperament, temperature, and tank zone. These work as complete setups or starting points for your own plan.
The Rainbowfish Display
Intermediate6 Boesemani Rainbowfish + 6 Corydoras Sterbai + 1 Bristlenose Pleco + 4 Nerite Snails
Built around the Boesemani — give them good food and time, and the males will color up into the best fish in the hobby.
The Angelfish Community
Intermediate2 Angelfish + 8 Rummy-Nose Tetras + 6 Corydoras Julii + 5 Amano Shrimp
Classic pairing that works because adult Rummy-Nose are too large to eat. Avoid adding small tetras later — the Angels will hunt them.
The Active Tank
Intermediate6 Giant Danios + 6 Denison Barbs + 4 Yoyo Loaches
Constant motion. All three species are active, semi-boisterous, and can handle each other's energy. Not a peaceful tank — an exciting one.
The Peaceful Planted
Beginner15 Cardinal Tetras + 1 Pearl Gourami + 8 Kuhli Loaches + 6 Amano Shrimp + 2 Bamboo Shrimp
Calm and beautiful. A big school of Cardinals, an elegant centerpiece, and a cleanup crew that includes the unique Bamboo Shrimp filter feeders.
⚠️ Fish to Avoid
A 40 gallon is a substantial tank — but these species will still outgrow it or cause problems. Most are sold as juveniles when they're small and manageable. They don't stay that way.
Will outgrow a 40 gallon within the first year. Needs 280+ liters and produces massive waste.
Small and cute at purchase, enormous at maturity. Needs a school of 5+ and eventually 400+ liters.
Active schooling fish that needs 450+ liters. The name is marketing — it's not a shark, just a big, nervous fish.
Disc-shaped vegetarians that need groups of 5+ and 200+ liters. Will eat every plant.
Beautiful but large cichlid. Needs 280+ liters and gets territorial during breeding.
Hybrid cichlid that grows large and produces significant waste. Needs 280+ liters minimum.
Named after a boxer. Aggressive, territorial, and needs 200+ liters with carefully chosen tankmates.
How Many Fish in a 40 Gallon Tank?
The number depends on species, not some universal formula. A 40 gallon can hold a pair of Angelfish with a supporting cast of tetras and Corydoras. Or 6 Boesemani Rainbowfish with bottom dwellers. Or a dense community of smaller species.
The "inch per gallon" rule is useless — it ignores bioload, activity level, territory needs, and how fish actually use space. A 40 breeder's footprint (36×18") matters more than its volume for bottom dwellers. The length matters more for active swimmers. Stock based on what the specific species need.
🐟 25-35
small-medium fish
Typical community: 12-15 schoolers + 6-8 bottom dwellers + centerpiece
📐 Breeder vs Long
Breeder has more floor space
Long (48×13×16") has more swimming length
⚖️ Activity matters
As much as size
6 Giant Danios need more space than 15 Cardinals
40 Gallon Setup Notes
A few things to consider before stocking your 40 gallon — tank shape, cycling, and filtration all matter more at this size.
Know your tank shape
40 breeder (36×18×16") is ideal for Angelfish and bottom dwellers. 40 long (48×13×16") suits active swimmers like Danios and Rainbowfish. Choose fish based on your actual dimensions.
Cycle time doesn't change
Bigger tank, same cycling requirement: 4-6 weeks before fish. Add species in groups over a month — your filter bacteria need time to catch up with each addition.
Filtration matters more
A 40 gallon needs robust filtration, especially with messy fish like Pictus Catfish or large schools. Aim for 8-10x turnover per hour. Canister filters shine at this size.
Underrated 40 Gallon Picks Worth a Look
Beyond the obvious community staples, a 40 gallon opens the door to a handful of species most stocking lists skip. The Electric Blue Acara is the standout — a cichlid mellow enough for a community tank, and it finally has room to swim here. If you want a smaller centerpiece, the Bolivian Ram forgives harder, cooler water in a way German Blues never will, and a pair of Keyhole Cichlids will quietly bond and spawn without bullying anyone.
For the bottom third, a group of six Bronze Corydoras on sand is the low-effort choice, while Dwarf Chain Loaches bring constant movement and clear out pest snails. Run higher flow and cooler water and you can add a Hillstream Loach to graze the glass and hardscape. Want something genuinely different? A Peacock Eel works in a 40 gallon provided the tank mates are too big to swallow, and a Pearl Gourami makes a calm, elegant surface-level centerpiece. Bottom-dweller shopping in general is easier once you know the family — see all types of loaches for group sizes, flow and temperature needs.
Ready to stock your 40 gallon?
Check compatibility, bioload, and tank capacity for your exact setup.






