Best fish for a 40-gallon tank

A 40-gallon aquarium is the size where freshwater stocking choices open up considerably. You have enough horizontal length and water volume to keep a...

Best fish for a 40-gallon tank aquarium compatibility guide with fish tank
Visual aquarium guide for Best fish for a 40-gallon tank.

Short answer

A 40-gallon aquarium is the size where freshwater stocking choices open up considerably. You have enough horizontal length and water volume to keep a single mid-size centerpiece fish, a calm shoaling community, or a carefully chosen pair - but you still need to match temperament, water parameters, and adult size to the footprint you actually have. This guide walks through which species in our database list a 40-gallon (or smaller) minimum tank and how to think about combining them.

How to read this guide

Every species mentioned below comes from the tankmatcher species data file. For each one we list the figures the data file actually carries: adult size, minimum tank, temperature range, pH range, temperament, diet, and social behavior. Anything beyond those fields - assured compatibility, medical guidance, marine or reef advice - is out of scope. If you want to size up or down from 40 gallons before committing, use the tank size guide first.

Species that fit a 40-gallon tank

Electric Blue Acara

Scientific name: Andinoacara pulcher hybrid - Adult size: 6 in - Minimum tank: 40 gallons - Temperature: 72-82 degrees F - pH: 6.5-8 - Temperament: aggressive - Diet: omnivore - Social behavior: single or pair (recommended group minimum: 1) The Electric Blue Acara is the largest of the three species here and the one that most defines what a 40-gallon community can look like. A single fish or a bonded pair will use the full footprint. Its temperament is listed as aggressive, and the data caveat is firm: it will hunt and eat small tetras, rasboras, and dwarf shrimp. Choose tankmates large enough not to fit in its mouth, and do not combine it with shrimp colonies. See the full Electric Blue Acara species page for details.

Pearl Gourami

Scientific name: Trichopodus leerii - Adult size: 4.5 in - Minimum tank: 30 gallons - Temperature: 77-82 degrees F - pH: 6-7.5 - Temperament: peaceful - Social behavior: single or group (recommended group minimum: 1) - Diet: omnivore Pearl Gouramis fit comfortably in a 40-gallon tank since their listed minimum is 30 gallons. They are peaceful, but the data caveat reminds you that an adult size of 4-5 inches means they need horizontal length - they are not nano fish despite the calm temperament. A 40-gallon tank gives them more room to display and reduces territorial pressure if you keep more than one. See the full Pearl Gourami species page.

Congo Tetra

Scientific name: Phenacogrammus interruptus - Adult size: 3.5 in - Minimum tank: 40 gallons Congo Tetras list a 40-gallon minimum because they shoal actively and grow larger than most aquarium tetras. They suit the same general footprint as a Pearl Gourami setup. See the full Congo Tetra species page.

Quick comparison

SpeciesAdult sizeMin tank
pHTemperament
---------
---Electric Blue Acara
40 gal72-82 degrees F6.5-8
Pearl Gourami4.5 in
77-82 degrees F6-7.5peaceful
Congo Tetra3.5 in40 gal

- | - | - |

Thinking about combinations

Combining these species in one 40-gallon tank is conditional, not assured: - Water-parameter overlap. Pearl Gourami (77-82 degrees F, pH 6-7.5) and Electric Blue Acara (72-82 degrees F, pH 6.5-8) overlap in the upper 70s degrees F and around pH 6.5-7.5. Any community would need to sit inside that overlap. - Temperament mismatch. The Acara is listed as aggressive while the Pearl Gourami is listed as peaceful. The Acara's data caveat explicitly warns that small tetras and rasboras are at risk of predation - small shoalers are not safe tankmates. - Group sizes. All three species list a recommended group minimum of 1, meaning a single specimen is acceptable for the data file's purposes. That does not mean shoaling species shouldn't be kept in groups when space allows; it means the data file does not mandate a minimum group above 1. - Footprint vs. volume. 40 gallons is a volume number, not a length. Horizontal swimming room matters more than capacity for mid-size fish like these.

What this guide will not tell you

- It will not say any combination is assured safe. Compatibility is always conditional on the individual fish, the tank layout, and your maintenance routine. - It will not cover marine, reef, or saltwater stocking. - It will not offer veterinary or medical treatment advice. - It will not recommend species that are not present in the tankmatcher data files.

Conditions and caveats

  • Electric Blue Acara adult size: 6 in; minimum tank: 40 gallons.
  • Electric Blue Acara temperature range: 72-82 F; pH range: 6.5-8.
  • Electric Blue Acara temperament: aggressive; diet: omnivore.
  • Electric Blue Acara social behavior: single or pair; recommended group minimum: 1.
  • Data caveat: Will hunt and eat small tetras, rasboras, and dwarf shrimp " choose tankmates large enough not to fit in its mouth, and don't combine with shrimp colonies.
  • Pearl Gourami adult size: 4.5 in; minimum tank: 30 gallons.
  • Pearl Gourami temperature range: 77-82 F; pH range: 6-7.5.
  • Pearl Gourami temperament: peaceful; diet: omnivore.

FAQ

Is this a low-risk stocking idea?

Only if the article's conditions are satisfied. Treat any aggression, predation, size, or parameter warning as a reason to slow down and plan the setup before adding animals.

What should I check before stocking?

Check tank size, group size, temperature overlap, pH overlap, diet, temperament, and whether the setup has enough cover or territory for the species involved.

What is the backup plan?

Have a cycled, heated separation option ready before trying a conditional pairing. If chasing, hiding, fin damage, refusal to feed, or repeated stress behavior appears, separate the animals rather than waiting for the pattern to resolve on its own.

Compatibility claim limits

Allowed claims

  • Use exact species and invertebrate facts from repository data.
  • State compatibility as conditional where risk exists.
  • Include tank size, group size, water-parameter overlap, and behavior caveats.
  • Keep freshwater fish-welfare guidance conservative.

Not allowed

  • No marine, reef, or saltwater content.
  • No unconditional compatibility or absolute safety claims.
  • No veterinary or medical treatment advice.
  • No species outside the supporting data files.

Related TankMatcher tools