Aquastockstocking data
HomeCompatibility › Swordtail & Pygmy Corydoras

Swordtail and Pygmy Corydoras: Can They Live Together?

Possible, with conditions
Swordtail in a freshwater aquariumSwordtail
Corydoras-adolfoi · CC BY-SA 4.0 · Commons
Pygmy Corydoras in a freshwater aquariumPygmy Corydoras
Carnat Joel · CC BY 2.0 · Commons
Swordtail and Pygmy Corydoras can work, but this is a conditional yes rather than easy one. Read the risk section below before buying — the pairing usually fails for one specific reason, not because of general incompatibility. Plan on 26 gallons minimum.

Side-by-side comparison

Where the two species overlappH7–8.4Swordtail6.2–7.4Pygmy Corydorasshared 7–7.4
Shared temperature and pH window for Swordtail and Pygmy Corydoras.
FactorSwordtailPygmy CorydorasAssessment
Water temperature72–82°F72–79°FOverlap 72–79°F
pH7–8.46.2–7.4Tight overlap
Hardness12–30 dGH2–12 dGHOverlap 12–12 dGH
Adult size5.5″1.0″5.5× difference
TemperamentPeacefulPeacefulBoth peaceful
Swim levelMidAllDifferent zones
Minimum tank20 gal10 galTogether: 26 gal+

Shared water parameters

Risks and things to watch

Size mismatch — predation risk

Swordtail reaches 5.5″ while Pygmy Corydoras tops out at 1.0″. As a rough rule, anything that fits in another fish's mouth eventually will. This is the main reason this pairing needs care.

Group requirements

Compatibility is not only about the two species getting along — each still needs its own social setup met inside the same tank.

Frequently asked questions

Can swordtail and pygmy corydoras live together?

Possible, with conditions. Swordtail and Pygmy Corydoras can work, but this is a conditional yes rather than easy one. Read the risk section below before buying — the pairing usually fails for one specific reason, not because of general incompatibility. Plan on 26 gallons minimum.

What size tank do swordtail and pygmy corydoras need together?

Plan for at least 26 gallons. Swordtail alone needs 20 gallons and Pygmy Corydoras needs 10, but combined stocking needs headroom for filtration and swimming space, not just volume.

What temperature suits both species?

Both are comfortable between 72 and 79°F. Set the heater to the middle of that window and keep it stable.

What pH works for both?

Aim for pH 7–7.4, which sits inside both species' comfortable range.

Will swordtail eat pygmy corydoras?

It is a real risk. The size difference is 5.5×, and anything that fits in a fish's mouth is eventually treated as food.

How should the tank be arranged?

Use plants, wood and rock to break sight lines, keep open swimming space along the front, and add the more territorial species last so it cannot claim the whole tank before the other settles in.

Explore further

Assessment generated from our compatibility methodology: parameter overlap, adult size ratio, temperament and swimming zone. Reviewed by Marcus Rivera.

More pairings people check

See all 630 pairs in the matrix

Marcus Rivera · Freshwater aquarist, 14 years fishkeeping

Every number on this page is cross-checked against at least four published sources and our own tank logs. Ranges reflect what keeps fish healthy long term, not the smallest tank an animal can survive in. See how we source data or our editorial policy.

✓ Reviewed 2026-08-21