Skip to content
Stock checked on Amazon · 40 aquarium gear comparisons
Fish profile · Livebearers

Swordtail

Swordtail (Xiphophorus hellerii) care: an active 4-5 inch livebearer. 30-gallon tank or larger with a lid, hard water at 72-81 °F, 1 male per 2-3 females.

By The AcuarioSano Team Updated on 4 min read
Swordtail (Xiphophorus hellerii)
Photo: Corydoras-adolfoi · CC BY-SA 4.0 · Wikimedia Commons

Quick facts

Xiphophorus hellerii

Scientific name
Xiphophorus hellerii
Group
Livebearers
Origin
Central America
Difficulty
Easy
Adult size
4.7 in (12 cm)
Minimum tank
32 gal (120 L)
Minimum group
3 fish
Temperature
72–81 °F (22–27 °C)
pH
7–8.2
Hardness (GH)
10–25 °dGH
Temperament
Peaceful
Tank zone
Middle
Diet
Omnivore
Lifespan
4 years
Breeding
Livebearer
Plant-safe
Yes
Shrimp-safe
No

If you buy through our links, Amazon pays us a small commission at no extra cost to you. That’s how we keep the site running. How we choose.

Contents +

Overview

The swordtail is unmistakable: males have the lower rays of the tail fin extended into a "sword" that can be almost as long as the body. Females lack the sword and grow larger and heavier, up to about 4.7 in (12 cm). Swordtails are sold in red, green, black, orange, tuxedo and lyretail forms. Wild fish are olive green with a red lateral stripe and live in flowing rivers and streams of Mexico, Guatemala, Belize and Honduras.

People love them because they are showy, hardy and always on the move. They suit beginners, but be aware that they grow bigger than platies, swim a lot, and males can be quite pushy with each other.

Care and tank setup

This is a large, active swimmer that needs at least a 30-gallon (115 L) tank, ideally around 3-4 ft (100-120 cm) long, for a small group.

  • Males: the simplest setup is 1 male with 2-3 females. With two males the dominant one usually harasses the other; if you want several, keep at least three in a roomy tank to spread out the tension.
  • Water: moderately hard to hard, neutral to alkaline pH, at 72-81 °F (22-27 °C), well oxygenated and with some current, which they enjoy.
  • Lid: essential; swordtails are strong jumpers.
  • Decor: hardy plants at the back and sides, a wide open swimming area and cover for females.
  • Tank mates: mollies, platies, corydoras, bristlenose plecos, calm barbs, medium-sized tetras and other peaceful hard-water fish.

Avoid very small fish and dwarf shrimp, which an adult swordtail may eat. Do not pair them with bettas or long-finned guppies, which they may pester. And never release them into the wild: they are invasive in many warm regions.

Feeding

A hungry omnivore. Use a quality flake or pellet with plant content as the staple and add brine shrimp, daphnia, bloodworms and occasional blanched vegetables. Swordtails also graze algae. Feed twice a day without overdoing it, as they put on weight easily. With slower tank mates, make sure it does not hog the food; it is fast and always gets there first.

Breeding

A very prolific livebearer: after about 4 weeks of gestation a large female can drop anywhere from 20 to more than 80 fry, and she stores sperm for several broods. Adults eat the fry, so use plenty of floating plants or a roomy breeder box (or a separate tank) for the heavily pregnant female. Fry grow fast on powdered food and baby brine shrimp.

Compatible tank mates

Species from our database that share water parameters, size and temperament with the Swordtail. Calculated from the data in each profile.

Check the compatibility of your whole tank →

What not to keep it with

Popular species you shouldn’t house with the Swordtail, and why.

Recommended equipment

What you need to keep the Swordtail healthy, checked against Amazon stock.

29 gallon aquariums 8.8 AcuarioSano rating: 8.8 out of 10
Internal aquarium filters 9.3 AcuarioSano rating: 9.3 out of 10
Aquarium heaters 8.9 AcuarioSano rating: 8.9 out of 10
Fish flakes and micro pellets 8.9 AcuarioSano rating: 8.9 out of 10
Aquarium water test kits 9.2 AcuarioSano rating: 9.2 out of 10

Frequently asked questions

How many liters does a Swordtail need?+

At least about 120 liters for a group of at least 3 fish. More space always helps keep the water stable.

What water temperature does the Swordtail need?+

Between 22 and 27 °C, with a pH of 7 to 8.2.

What fish can live with the Swordtail?+

Based on water, size and temperament, it fits with species such as Bristlenose pleco, Betta fish, Bronze cory, Zebra danio and Cherry barb. Use our compatibility calculator to check your whole tank.

Can the Swordtail be kept with shrimp?+

Not recommended: because of its size or instinct, it will eat shrimp.

You may also like

Livebearers → Freshwater fish → Complete aquarium guide →

Our pick

Tetra 29 Gallon Glass Aquarium, Rectangular Fish Tank

See price