Fish Identifier
Swordtail (Xiphophorus hellerii)
Cleanerfish cleaning face of a west indian manatee in zoo tierpark friedrichsfelde berlin germany by Photo made by User:Sebastian Wallroth, via Wikimedia Commons, Public domain
freshwater

Swordtail

Xiphophorus hellerii

Named for the elongated, sword-like extension on the male's tail fin, this energetic livebearer from Mexico and Central America is a long-standing favorite in freshwater aquariums.

Habitat
Fast streams, rivers, springs
Size
4-5.5 in (10-14 cm) incl. sword
Diet
Omnivore

Spotted a fish like this?

Identify any fish from a photo, free.

Overview

The swordtail (Xiphophorus hellerii) is a lively, torpedo-shaped livebearer native to fast-flowing streams and rivers of Mexico and Central America. Its defining feature is the male's elongated lower caudal fin ray, or 'sword,' which can extend nearly as long as the body itself and is thought to play a role in female mate choice. Wild-type swordtails display an olive-green body with a reddish lateral stripe, but decades of selective breeding have produced red, black, orange, and calico varieties, along with hi-fin and lyretail fin shapes. Swordtails are hardy, adaptable, and easy to breed, making them a staple of the aquarium hobby since the early 20th century and a common subject in behavioral and genetic research.

How to identify it

  • Body shape: Elongated, streamlined, and only mildly compressed compared to platies
  • Sword: Males possess a long, pointed extension of the lower caudal fin rays, often edged in black; absent in females
  • Coloration: Wild type olive-green with a red-brown lateral stripe; captive strains include red, black, and calico
  • Size: Larger than platies and mollies of similar age
  • Sexual dimorphism: Only males grow a sword and gonopodium; females are deeper-bodied and lack tail extensions

Look-alikes: Green swordtail refers to the same wild-type coloration; platies (Xiphophorus maculatus) are shorter-bodied and never develop a sword.

Habitat & range

Swordtails are native to clear, fast-flowing streams, rivers, and spring outflows on the Atlantic slope of Mexico and northern Central America, typically in foothill and lowland habitats with rocky or gravel substrate and moderate to strong current. They favor well-oxygenated water with dense marginal vegetation for cover, often sharing habitat with platies and other livebearers. The species tolerates a range of temperatures and water hardness, and introduced feral populations have become established in parts of the southern United States, Australia, South Africa, and Asia, where escaped or released aquarium fish have colonized warm freshwater streams and canals.

Behavior & ecology

Swordtails are active, fast-swimming fish that occupy the middle and upper water column, feeding opportunistically on algae, small invertebrates, and plant matter. Males are territorial toward one another, often sparring and displaying their sword and dorsal fin to establish dominance and attract females. Courtship involves persistent following and fin display before mating via a gonopodium, and females can store sperm to produce multiple broods of 20 to 100 live fry from a single mating, typically every 4 to 6 weeks. Some female swordtails can spontaneously develop male characteristics, including a sword, later in life due to hormonal sex reversal. Fry receive no parental care and rely on cover to avoid predation from adults.

Frequently asked questions

What is the "sword" on a swordtail fish?

It is an elongated extension of the lower rays of the male's caudal fin, used in courtship displays and thought to influence female mate choice.

Do female swordtails have swords?

No, only males naturally grow a sword, though some older females can develop male traits, including a sword, through spontaneous sex reversal.

What water conditions do swordtails prefer?

They thrive in warm, well-oxygenated freshwater with moderate hardness and benefit from some current, reflecting their native stream habitat.

Swordtail guides

In-depth guides for identifying, understanding, and caring about Swordtail.