Swordtail Fish (Xiphophorus Hellerii): Care Guide, Types & Breeding

The swordtail fish is a 12-16 cm livebearer for a 75 cm, 100 L hard-water tank. Males carry a long sword on the tail; females do not. One male to two or three females is the ratio that keeps the group calm.
Xiphophorus hellerii comes from the Atlantic slope of Central America, from Veracruz to Honduras. It is peaceful with other species, aggressive between males and easy to breed. The Aqua-Fish swordtail article covers the same range and breeding basics. This guide covers size, male and female differences, types, tank setup, diet, breeding, sale and the four community fish that fit.
Swordtail Fish: Quick Facts
The table below gives the working numbers. Its size depends on sex and on whether the sword is counted.
| Fact | Detail |
|---|---|
| Scientific name | Xiphophorus hellerii (Heckel, 1848) |
| Common names | Swordtail, green swordtail |
| Family | Poeciliidae, Cyprinodontiformes |
| Adult size | Male 10 cm plus sword; female 12 cm; maximum 16 cm |
| Temperature | 20 to 28°C (68 to 82°F) |
| pH | 7.0 to 8.5 |
| Hardness | 10 to 30 dGH |
| Minimum tank | 75 cm (30 in), 100 L (26 US gal) |
| Lifespan | About 5 years |
| IUCN status | Least Concern; invasive in 30+ countries |
Swordtail Fish Size
Males reach about 10 cm (4 in) of body plus a sword that can add 3 to 4 cm. Females reach 12 cm (4.7 in) and carry more body depth. FishBase gives a maximum total length of about 16 cm (6.3 in), and a big female can look larger than a male because the sword is thin.
Do not buy a 4 cm juvenile for a 40 L tank and assume it stays small. A group of adults needs the 75 cm footprint, and the females need room to escape the males. The sword is not the fish; the body is. A male with a long sword still has a 10 cm body, and the female is the larger fish.
Swordtail Fish Male and Female
The sword is the fastest sex check, but it is not the only one. Males also have a gonopodium, a modified anal fin used for reproduction, and a slimmer body. Females are fuller, especially when carrying fry, and they have a normal anal fin.
| Feature | Male vs female |
|---|---|
| Tail | Male has a long sword; female has a rounded tail |
| Anal fin | Male has a gonopodium; female has a fan-shaped fin |
| Body | Male slimmer; female deeper and fuller |
| Size | Male 10 cm plus sword; female 12 cm |
| Behavior | Male displays and chases; female chooses and hides |
Female Swordtail Fish
A female swordtail fish has no sword, a rounded tail and a fuller belly. When she is close to giving birth, the gravid spot near the anal fin darkens and the belly looks square. She can store sperm from one mating and produce several broods without a male present.
That is why a single female can surprise a keeper weeks after the male is gone. If you do not want fry, keep only males, or keep females separate from males. A female that has never seen a male can still produce a brood from stored sperm.
Types of Swordtail Fish
Most swordtails in the trade are color forms of Xiphophorus hellerii. The table below separates the common names from the species names. A color name is not a species, and a rare label is not always a rare fish.
| Type | What it is |
|---|---|
| Green swordtail | Wild-type olive body with a red lateral stripe |
| Red swordtail | Red-orange color morph, the most common in stores |
| Koi swordtail | Orange, black and white patchwork, like koi carp |
| Pineapple swordtail | Yellow-orange body with a red stripe |
| Black swordtail | Dark body, often with a black sword |
| Albino swordtail | Pink-white body and red eyes |
| Lyretail swordtail | Both tail lobes elongated, not just the lower one |
Red Swordtail Fish
The red swordtail fish is a color morph, not a separate species. It is bred for a deep red-orange body and a red sword. The color can fade under poor light or a low-quality diet, so a red fish is also a rough indicator of condition.
Koi Swordtail Fish
The koi swordtail fish carries orange, black and white patches, a pattern borrowed from koi carp. No two fish are identical, which is the appeal. It is still Xiphophorus hellerii and needs the same hard, alkaline water as the green form.
Rare Swordtail Fish
The “rare swordtail fish” label usually means a different species, not a rare color. Montezuma swordtail, Xiphophorus montezumae, has a much longer sword and comes from cooler, faster water in Mexico. It is less common and less tolerant of warm community tanks.
Other rare species include Xiphophorus clemenciae, the yellow swordtail, and Xiphophorus birchmanni. They are not beginner fish, and they are not the same care as the common swordtail. Buy them only from a breeder who keeps them cool.
Swordtail vs Platy
The platy is the swordtail’s closest relative, and the two are often sold side by side. They share hard water, a livebearer life cycle and a peaceful community temperament. The differences matter when you plan a tank.
| Feature | Swordtail vs platy |
|---|---|
| Size | Swordtail 12 to 16 cm; platy 6 to 7 cm |
| Male tail | Swordtail has a sword; platy does not |
| Tank | Swordtail 100 L; platy 60 L |
| Male aggression | Swordtail higher; platy lower |
| Breeding | Both livebearers; swordtail matures later |
A 100 L tank can hold a small swordtail group or a larger platy group, not both at full stocking. If you want both, use a 150 L tank and keep one male swordtail to two or three females.
Tank Size and Setup
A 75 cm (30 in) tank of about 100 L (26 US gal) is the minimum for a group of adults. The 90 cm (36 in) tank is better because the males need room to display and the females need room to leave. A 40 L tank is a grow-out for juveniles, not a home for adults.
| Tank size | Recommendation |
|---|---|
| 40 L (10 US gal) | Juvenile grow-out only |
| 75 L (20 US gal), 60 cm (24 in) | Too short for a group |
| 100 L (26 US gal), 75 cm (30 in) | Minimum for adults |
| 150 L (40 US gal), 90 cm (36 in) | Better for a group and dither fish |
- Use a sand or gravel base with open swimming space.
- Plant the back and sides, not the whole tank.
- Add floating plants for fry cover and shade.
- Fit a lid, because swordtails jump.
Tank Setup Step by Step
A swordtail tank is open in the middle and planted at the edges. The fish needs swimming room more than it needs decoration.
- Add a sand or gravel base and a background plant wall.
- Leave the middle and top open for swimming.
- Add floating plants for fry cover and shade.
- Fit a filter with gentle flow and a tight lid.
- Cycle the tank and test pH and GH before adding fish.
- Add the females first, then the male.
Water Parameters
Swordtails want hard, alkaline water. They tolerate a range, but they do not want soft, acidic blackwater. The table below gives the practical range.
| Parameter | Target |
|---|---|
| Temperature | 20 to 28°C (68 to 82°F) |
| pH | 7.0 to 8.5 |
| General hardness | 10 to 30 dGH |
| Ammonia and nitrite | 0 ppm |
| Nitrate | Below 40 ppm |
Change 25 to 30% of the water every week. The aquarium water chemistry guide explains how KH holds pH steady. Do not use RO water without a mineral buffer; a swordtail in soft water is a stressed fish.
Diet and Feeding
Swordtails are omnivores. In the wild they eat worms, crustaceans, insects and plant matter. Captive fish take flake, small pellets and live or frozen food, and they graze algae from plants and glass.
| Food | Frequency |
|---|---|
| Flake or small pellet | Once or twice daily |
| Frozen bloodworm or daphnia | Three times a week |
| Blanched spinach or peas | Twice a week |
| Live brine shrimp | Once or twice a week |
Feed what the group clears in two minutes. Uneaten food raises nitrate, and a heavily stocked livebearer tank already produces a lot of waste. Fry need smaller food, not more food. A group of adults can eat twice a day, but the tank should never cloud after feeding.
Health and Quarantine
Livebearers arrive stressed and often carry ich or internal parasites. Quarantine for two to four weeks in a bare tank with a sponge filter, a few plants and a lid. Watch for white spots, clamped fins, a sunken belly and rapid breathing.
- White spots or flashing point to ich or poor water.
- A sunken belly means the fish has not eaten or has parasites.
- Clamped fins and a dark body point to stress or low temperature.
- A fish that hides and refuses food for several days needs a water test.
Test pH, ammonia and nitrate before you treat. A water change and a stable temperature solve more problems than a random medication. This article is educational and does not replace advice from a veterinarian who treats fish.
Behavior and Temperament
Swordtails are peaceful toward other species and hard on each other. Males chase, display and fight, and a cramped tank makes it worse. The standard fix is one male to two or three females, with enough space for the females to leave.
They are active in the middle and upper layers, and they use the whole tank. A group in a 90 cm tank looks busy; a pair in a 60 cm tank looks harassed. The difference is space, not personality. A tank with too many males looks like a constant chase, and the females pay for it.
4 Compatible Tank Mates
These four all have profiles in our freshwater fish library, and all four overlap with the swordtail at 24 to 26°C. They are community fish, not big cichlids. The corydoras is the bottom option; the other three are mid-water.
| Species | Temperature overlap |
|---|---|
| Platy | 24 to 26°C |
| Guppy | 24 to 26°C |
| Molly | 24 to 26°C |
| Panda corydoras | 24 to 26°C |
The platy is the closest match. It shares the same hard water, the same size range and the same livebearer habits. A mixed platy-swordtail tank is common because the two species ignore each other.
The guppy adds color to the upper layer. It is smaller and faster, and it does not compete for the same space. Guppies and swordtails can crossbreed in rare cases, so do not mix them if you plan to sell fry as pure stock.
The molly is a hard-water livebearer that handles the same pH. It is a little more territorial than the platy, but a 100 L tank with one male swordtail and a small molly group works.
The panda corydoras works the bottom and ignores the swordtails. Keep it in a group of six, on sand, and do not expect it to clean the glass.
Swordtail Fish Breeding
Swordtails are livebearers. The male fertilizes the female with his gonopodium, and the female carries the fry for about 24 to 30 days. A brood can range from 20 to 200 fry, and the female can store sperm for several months.
- Keep one male with two or three females.
- Add floating plants or a fry box for cover.
- Watch for a square belly and a dark gravid spot.
- Move the female to a separate tank if you want to save the brood.
- Feed the fry crushed flake and baby brine shrimp.
Adults eat fry. If you leave the female in the community tank, a few fry may survive in the plants, but most will be eaten. That is normal, and it is why a separate fry tank is the reliable method.
Swordtail Fish for Sale
Common swordtails are inexpensive. Prices depend on color, size and sex, and a confirmed pair costs more than two random juveniles. The table below gives a realistic range. A koi or lyretail costs more than a green swordtail because the pattern takes more selective breeding.
| Fish | Typical price |
|---|---|
| Juvenile, unsexed | USD 3 to 6 |
| Adult male or female | USD 6 to 12 |
| Confirmed pair | USD 15 to 25 |
| Koi or lyretail | USD 15 to 35 |
| Rare species, Montezuma | USD 40 to 100 |
A low price for a “rare swordtail” is a warning. The fish may be a common color morph, a hybrid or a sick import. Ask for the scientific name and a photo of the actual fish, not a stock image. A confirmed pair from a local breeder is worth more than a bargain bag of unsexed juveniles.
Lifespan
Most swordtails live about 5 years in a well-run tank. The range depends on water quality, diet and how hard the females are bred. One female that produces brood after brood may live a shorter, harder life than a lone male. A group with too many males also shortens the females’ lives through constant harassment. The calm ratio is a health decision, not just a social one.
Common Mistakes
- Keeping two males in a 60 cm tank.
- Putting swordtails in soft, acidic water.
- Buying a “pair” of juveniles and hoping for one of each.
- Adding a large cichlid as a tank mate.
- Leaving fry in the community tank and expecting survivors.
- Releasing extra fish into a pond or canal.
- Buying a group of unsexed juveniles and ending up with five males.
Frequently Asked Questions
What to Check Before You Buy
Measure the tank first. A 60 cm tank is too short for a group, and 100 L is the minimum. Then check the hardness and the lid. Soft water stresses a swordtail, and an open tank invites a jump. A 90 cm tank gives the group room to spread out and the females room to leave.
Buy one male and two or three females, or a group of females if you do not want fry. Quarantine for two to four weeks. Compare the profiles in the freshwater fish library before you commit. A 5-year fish is a long commitment, and the group ratio is the difference between a calm tank and a chase. Plan the group before you buy. Measure twice, stock once. That is the whole plan. Plan well now. That is all. It works. Plan well now. That is all. Plan first. That is all. Now. It works. Plan well now. That is all.






