Swordtail

Xiphophorus hellerii

Synonyms Green swordtail · Red swordtail · Xiphophorus helleri · Kohaku swordtail · Pineapple swordtail · Lyretail swordtail

Swordtail (Xiphophorus hellerii) is a semi-aggressive freshwater fish that reaches about 12 cm (4.7 in) and swims in open water. It wants 72–82°F (22–28°C) and pH 7–8.3, is kept in groups of 3 or more, and needs a tank of at least 100 L (26 gal).

Swordtail (Xiphophorus hellerii)

At a glance

TypeFish
Adult size12 cm (4.7 in)
Minimum tank100 L (26 gal)
Group size3 or more
Temperature72–82°F (22–28°C)
pH7–8.3
TemperamentSemi-aggressive
GH12–30
Lifespan3–5 years
Eats shrimpYes

Before it goes in

What tank size does it need?

At least 100 L (26 gal). The smallest size here that clears it is the 29 Gallon.

How many should I keep?

3 or more. Fewer than that and it spends its time hiding instead of out in the open.

Will it eat shrimp?

Yes. Shrimp are food to it, so pick one or the other.

What water does it want?

72–82°F (22–28°C), pH 7–8.3, GH 12–30.

How long does it live?

3–5 years in a tank that suits it. That is how long you are signing up for.

Good tank mates

Often compared with

SwordtailPlatyBoesemani Rainbowfish
Adult size12 cm6 cm12 cm
Min tank100 L60 L200 L
Group3+3+6+
Temperature72–82°F (22–28°C)68–79°F (20–26°C)75–82°F (24–28°C)
Eats shrimpYesShrimplets onlyYes

More livestock

Plan a tank with Swordtail →

Sources (4) · checked Sep 2026