Swordtail (Xiphophorus hellerii)

FreshwaterPoeciliidae Familypeacefulbeginner Care
Swordtail

Quick Answer

Swordtail (Xiphophorus hellerii) is a hardy, active livebearing freshwater fish ideal for beginner aquarists with hard, alkaline water. It requires a minimum 20-gallon (76 liter) long aquarium with a group of 4 to 6 fish at a ratio of 2 to 3 females per male, pH 7.0 to 8.4, temperature 70F to 78F (21C to 26C), and dGH 8 to 25. This omnivore occupies the middle water column and thrives in planted community setups.

Lifespan 5 years
Max Size 5.5 in (14 cm)
Difficulty beginner
Diet Omnivore

Quick Facts

Scientific Name Xiphophorus hellerii
Common Names Swordtail
Family Poeciliidae
Genus Xiphophorus
Type Freshwater
Temperament peaceful
Care Difficulty beginner
Lifespan 5 years
Maximum Size Up to 5.5 in (14 cm)
Diet Omnivore
Temperature 70–78°F (21–26°C)
pH 7–8.4
Hardness 8–25 dGH
Minimum Size 20 gallons

Key Takeaways

  • Requires a minimum 20-gallon (76 liter) long tank with 30 inches (76 cm) of horizontal swimming space.
  • Must maintain a ratio of 2 to 3 females per male to prevent female harassment and premature death.
  • Requires hard alkaline water: dGH 8 to 25, dKH 6 to 12, pH 7.0 to 8.4; add crushed coral to soft water.
  • Livebearer producing 20 to 100 fry every 28 to 30 days; females store sperm for 5 to 9 consecutive broods.
  • Omnivore with strong herbivorous leaning; 55% plant matter essential to prevent constipation and swim bladder disorder.
  • Do not breed with platies; hybrid offspring carry documented risk of malignant melanoma from the xmrk oncogene.
  • Quarantine all new fish for 4 weeks; prophylactic methylene blue treatment recommended.

Diet

Nutritional Requirements

Swordtails are omnivores with a strong herbivorous leaning. In the wild, they consume algae, detritus, insect larvae, and small crustaceans. In captivity, their diet must replicate this plant-heavy intake to prevent the digestive disorders common in livebearers.

Macronutrient Profile

Target a dietary composition of approximately 35% protein, 10% fat, and 55% plant matter and fiber. Juveniles benefit from elevated protein at 40% to 45% for growth. Excess fat above 12% causes hepatic lipidosis, particularly in ornamental high-finned strains that are already genetically compromised.

Recommended Foods

  • Staple: High-quality tropical flake or slow-sinking pellet food formulated for livebearers. Select brands listing spirulina, algae meal, and fish meal among the first three ingredients.
  • Protein supplement (3 to 4 times weekly): Frozen or live bloodworms, brine shrimp, daphnia, and mosquito larvae. These provide essential amino acids and carotenoids for color enhancement.
  • Plant matter (daily): Spirulina flakes, algae wafers, blanched spinach, zucchini, cucumber, or peas. Plant fiber is absolutely essential for intestinal motility and preventing constipation and swim bladder disorders.
  • Color enhancers: Foods containing astaxanthin, beta-carotene, and canthaxanthin intensify red, orange, and golden coloration. These are particularly valuable for red velvet and pineapple strains.

Feeding Schedule

Feed twice daily in portions consumed within 2 to 3 minutes. Fast the tank for 24 hours once weekly to clear the digestive tract. Overfeeding is the primary cause of water quality degradation and obesity in livebearers; swordtails will beg continuously but require only what they can consume rapidly.

Critical Dietary Restrictions

Never feed beef heart, chicken, pork, or any mammalian protein. Livebearers and all cyprinids lack the specific proteases required to digest mammalian muscle tissue. These foods cause intestinal blockages, bloat, and premature organ failure. Avoid tubifex worms sourced from polluted waters, as they are vectors for internal parasites including Camallanus and Capillaria.

Breeding

Breeding Swordtails in Captivity

Swordtails are prolific livebearers that require no special triggers to breed beyond stable water, adequate nutrition, and the presence of both sexes. They are among the easiest aquarium fish to breed, making them ideal for first-time livebearer breeders. Success depends on managing the male-to-female ratio, providing fry cover, and controlling population explosion.

Sexual Maturity and Gonopodium

Both sexes reach sexual maturity at 10 to 12 weeks under optimal conditions. Males develop the gonopodium, a rod-like modified anal fin formed by the fusion of anal fin rays 3, 4, and 5. This structure delivers sperm packets (spermatophores) directly into the female's reproductive tract. Males also develop the signature sword extension on the lower caudal fin lobe, which is entirely absent in females. Females develop a dark gravid spot near the anal fin that enlarges and darkens from orange-brown to nearly black as pregnancy progresses.

Sperm Storage and Multiple Broods

Critical fact for population control: Females can store viable sperm for 5 to 9 consecutive broods after a single mating. This means removing the male will not immediately stop births. The gestation period is 28 to 30 days at 75F to 78F (24C to 26C) but can extend to 63 days at cooler temperatures. Females produce 20 to 100 fry per brood; larger females over 2.5 inches (6.4 cm) standard length produce the most. A single female can deliver over 500 fry in her lifetime if sperm storage is active.

Breeding Tank Setup

No special breeding tank is required; swordtails breed readily in community tanks. If you wish to raise fry, you have three approaches:

  • Dense planting method (recommended): Plant 40% of the tank with java moss, guppy grass, hornwort, or floating water sprite. Fry hide in the vegetation and a percentage survives to adulthood. This is the most natural and lowest-stress method.
  • Breeding box method: Transfer a visibly gravid female to a floating breeding box when the gravid spot is large and dark. Remove her immediately after birth. Never leave a female in a breeding box for more than 24 hours; ammonia buildup kills fry rapidly. This method has high fry mortality due to stress and poor water quality in the confined space.
  • Separate breeding tank: Set up a 10-gallon (38 liter) planted tank with a sponge filter. Transfer the gravid female 24 hours before expected birth. Remove her immediately after delivery. Raise fry in the tank with daily 10% water changes.

Fry Rearing

Newborn swordtail fry are relatively large at 0.3 inches (8 mm) and can accept crushed flake food, powdered fry food, or newly hatched brine shrimp immediately. Feed 3 to 4 times daily in small portions. Perform 10% daily water changes with matched-temperature water to prevent growth stunting. Sexual maturity is reached at 10 to 12 weeks. Separate males and females by 8 weeks if you wish to prevent uncontrolled breeding.

Population Control

To prevent tank overpopulation, choose one of the following strategies: maintain a male-only tank (4 to 5 males display fascinating hierarchy behavior without reproduction), remove all fry and donate them to local fish stores, or house swordtails with small predatory fish such as dwarf gouramis that consume fry without threatening adults. Never release swordtails into local waterways; they are invasive in many warm-climate regions.

Hybrid Warning

Do not breed swordtails with platies. They are closely related and will freely hybridize, but the offspring carry a documented risk of malignant melanoma caused by the xmrk oncogene. Cull any accidental hybrid offspring and do not distribute them.

Species Comparison

FeatureSwordtailPlatyMollyGuppyEndler
Scientific NameXiphophorus helleriiXiphophorus maculatus / variatusPoecilia sphenops / latipinnaPoecilia reticulataPoecilia wingei
Adult Size4 to 5.5 inches (10 to 14 cm)2 to 3 inches (5 to 7.6 cm)3 to 5 inches (7.6 to 13 cm)1.5 to 2.5 inches (3.8 to 6.4 cm)1 to 1.8 inches (2.5 to 4.6 cm)
TemperamentPeaceful; males spar for dominancePeaceful; males occasionally chasePeaceful; can be mildly nippyPeaceful; males display constantlyPeaceful; extremely active
Minimum Tank Size20 gallons (76 L) long10 gallons (38 L)20 gallons (76 L) long10 gallons (38 L)10 gallons (38 L)
Temperature Range70F to 78F (21C to 26C)70F to 78F (21C to 26C)72F to 82F (22C to 28C)72F to 82F (22C to 28C)72F to 82F (22C to 28C)
Water Hardness (dGH)8 to 25 dGH8 to 25 dGH10 to 30 dGH; tolerates brackish8 to 20 dGH8 to 20 dGH
Breeding MethodLivebearer; 20 to 100 fry every 28 to 30 daysLivebearer; 20 to 80 fry every 28 to 30 daysLivebearer; 20 to 100 fry every 30 to 40 daysLivebearer; 10 to 50 fry every 28 to 30 daysLivebearer; 5 to 25 fry every 23 to 28 days

Frequently Asked Questions

What is the absolute minimum tank size for Swordtails and why do most guides get it wrong?

The absolute minimum tank size for a small group of swordtails is 20 gallons (75.7 liters) with a footprint of 30x12 inches (76x30 cm). However, the ornamental aquatic trade association recommends 80 liters (21 gallons) or larger for swordtails specifically, because they are significantly more active and grow larger than platies. A 10-gallon (38 liter) tank is inadequate and will cause chronic stress, stunted growth, and elevated male aggression.

Most beginner guides incorrectly recommend 10 to 15 gallons because they conflate swordtails with smaller livebearers like guppies. Swordtails reach 4 to 5.5 inches (10 to 14 cm) including the male sword extension and require horizontal swimming space. The ideal setup is a 30-gallon (114 liter) long aquarium measuring 36x12 inches (90x30 cm) or larger for a group of 4 to 6 fish. Tank length is critical; height is secondary.

What are the exact water parameters for Swordtails and why is hardness non-negotiable?

Swordtails require hard, alkaline water to thrive long-term. Target the following: pH 7.0 to 8.4, General Hardness 8 to 25 dGH (143 to 446 ppm), Carbonate Hardness 6 to 12 dKH (107 to 214 ppm), Total Dissolved Solids 150 to 400 ppm, Electrical Conductivity 300 to 800 microS/cm, and temperature 70F to 78F (21C to 26C). They will tolerate brief excursions to 82F (28C) but suffer chronic stress below 68F (20C).

Hardness is non-negotiable because swordtails are native to Central American rivers with limestone geology. Soft water (dGH below 4) causes osmoregulatory stress, weakened immunity, and failed molting of their scales. If your tap water is soft, you must add crushed coral, aragonite, or Wonder Shell to the filter or substrate to maintain dGH above 8 and dKH above 6. Maintain nitrates below 20 ppm with weekly 25% water changes. Use a hang-on-back or canister filter providing 4 to 6 times turnover per hour with moderate flow.

What is the correct male-to-female ratio and what happens if it is wrong?

You must maintain a ratio of 2 to 3 females per male as the absolute minimum. In a 20-gallon (76 liter) tank, this means either 1 male with 2 to 3 females, or 2 males with 4 to 6 females. Never keep a single male with a single female; the male will harass her relentlessly, causing physical exhaustion, fin damage, and premature death from stress.

Male swordtails are persistent livebearers that use their gonopodium (modified anal fin) to inseminate females multiple times daily. A lone female cannot escape this harassment. Conversely, male-only tanks are viable if you keep 4 to 5 males together; they will establish a dominance hierarchy with minor sparring and dorsal fin displays but rarely cause serious injury. Do not mix 2 males with only 2 females; the males will compete aggressively for the limited females. The female swordtail displays a dark gravid spot near the anal fin when pregnant; this spot enlarges and darkens as birth approaches.

How do Swordtails breed and how do you control their prolific reproduction?

Swordtails are livebearers; females give birth to fully developed free-swimming fry rather than laying eggs. They are among the easiest aquarium fish to breed, requiring no special triggers beyond stable water and adequate nutrition. Males reach sexual maturity at 10 to 12 weeks and fertilize females using the gonopodium, a rod-like modified anal fin.

Critical fact: Females can store viable sperm for 5 to 9 consecutive broods after a single mating. This means even separating males from females will not immediately stop births. The gestation period is 28 to 30 days at 75F to 78F (24C to 26C) but can extend to 63 days at cooler temperatures. Females produce 20 to 100 fry per brood depending on size; larger females over 2.5 inches (6.4 cm) produce the most.

To control population, you have three options: (1) Maintain a male-only tank, (2) Provide dense planting (java moss, guppy grass, hornwort) so fry survive and then trade them to local fish stores, or (3) Use a breeding box only when a female is visibly gravid and remove her immediately after birth. Never leave a female in a breeding net for more than 24 hours; the confined space causes lethal ammonia and nitrite spikes that kill fry, as documented repeatedly in hobby forums.