Freshwater Fish · Livebearer
Green Swordtail Care Guide: Breeding, Tank Mates, and Color Varieties
Xiphophorus hellerii
Master Green Swordtail (Xiphophorus hellerii) care. Learn about ideal water parameters, the best tank mates, and how to breed these active livebearers.
Species Overview#
The green swordtail (Xiphophorus hellerii) is the fish that taught a generation of hobbyists what a livebearer can really be. Where guppies are tiny jewels and platies are stocky little tanks, the green swordtail is a long, muscular swimmer with a single dramatic feature: a sword-like extension trailing from the lower lobe of the male's caudal fin. Wild specimens, collected from fast-flowing streams in southern Mexico, Guatemala, and Honduras, wear a quiet olive-green body with a faint rusty stripe and a yellow-edged sword. Decades of selective breeding have layered red, black, orange, and lyretail morphs over that base, but the wild green is still the form most experienced keepers come back to.
Swordtails belong to the family Poeciliidae, the same group as guppies, mollies, platies, and Endler's livebearers. They share the family's defining trait: the female does not lay eggs. Fertilization happens internally, the female carries developing fry for about four weeks, and then drops live, free-swimming young that are immediately ready to hide and feed. That biology, combined with their hardiness in hard alkaline water, makes them one of the easiest community fish in the hobby — provided you give them the swimming room they actually need.
- Adult size
- 4-5 in (10-13 cm)
- Lifespan
- 3-5 years
- Min tank
- 20 gallons
- Temperament
- Peaceful, active
- Difficulty
- Beginner
- Diet
- Omnivore
Sexual Dimorphism: Identifying the "Sword" in Males#
Sexing green swordtails is one of the easier jobs in livebearer keeping. By the time a fish reaches roughly 1.5 inches, the difference is unmistakable. Males develop the namesake sword — a pointed, often yellow-edged extension off the bottom of the tail fin — that can grow nearly as long as the body itself. They also carry a gonopodium, a modified, rod-like anal fin used to deliver sperm internally to the female. If you see that pointed anal fin tucked under the body, the fish is male.
Females are larger overall, deeper-bodied, and rounder through the belly, with a normal fan-shaped anal fin. They lack the sword entirely. A mature female often shows a dark gravid spot near the vent — a smudge of pigment behind the swollen abdomen that signals developing fry. Juvenile swordtails can be tricky for the first few weeks, but by 2 inches every fish in the tank will have declared itself.
One quirk worth knowing: swordtails are protogynous in rare cases, meaning a long-time "female" can occasionally develop male features and even a partial sword later in life. These late-bloomers are usually infertile, but they're a reminder that the species has more biological flexibility than the rigid male/female labels suggest.
Wild Green vs. Fancy Color Morphs (Red, Lyretail, Tuxedo)#
The wild green form is olive on the back, silvery on the flanks, with a thin red or rusty horizontal line and a sword tipped in yellow and black. It is a beautiful fish, but in most retail tanks you will see fancy morphs instead. Red swordtails are bred from a long line of Xiphophorus hybrids and glow a deep velvet crimson. Tuxedo morphs split the body into a colored front half and a black rear. Pineapple swordtails wear a soft yellow-orange body with a contrasting darker sword. Lyretail morphs replace the single sword with extended top and bottom fin rays — striking, but less efficient swimmers.
Many of the "swordtail" varieties at chain stores are actually platy/swordtail hybrids, which is why morphs cross so freely between the two species. They will interbreed, and the offspring are usually fertile. If you want to maintain a clean strain, keep your color morph isolated from platies entirely.
The same extended fin rays that make lyretail swordtails so striking also lengthen the gonopodium until it can no longer reach the female effectively. If you specifically want to breed a lyretail line, plan to outcross occasional standard-finned males back into the population, then re-select for lyretail offspring.
Natural Habitat: Fast-flowing Streams of Central America#
In the wild, Xiphophorus hellerii lives in the warm, fast-flowing streams and spring-fed rivers of southern Mexico, Belize, Guatemala, and Honduras. These waters run hard and alkaline — fed by limestone karst that mineralizes everything — with general hardness often above 20 dGH and pH consistently above neutral. Water temperatures sit in the high 70s most of the year and the current is brisk enough that swordtails are constantly working against it.
That habitat shapes everything about their care in captivity. Soft acidic water, the kind that tetras and discus thrive in, will stress swordtails over time. Stagnant low-flow tanks bore them. They are fish that evolved to swim, and they want the room and the current to do it.
Water Parameters & Tank Requirements#
Green swordtails are forgiving about a lot of things — they tolerate inexperienced keepers, occasional missed water changes, and a wide range of foods — but they have firm preferences on tank size, hardness, and lid security that don't bend.
Tank Size: Why 20+ Gallons is Essential for Active Swimmers#
A 20-gallon long is the practical minimum for a small group of green swordtails. The volume is not the limiting factor — their bioload is moderate — but the swimming room is. Swordtails are active, mid-water cruisers that patrol the length of the tank constantly. Crammed into a 10-gallon, they pace, fight, and become visibly stressed within weeks.
For a group of one male and three to four females, plan for 20 gallons of footprint. For a colony intended to breed and hold fry, step up to 29 or 40 gallons. The horizontal length matters more than depth — a 20-long (30 inches wide) is meaningfully better for swordtails than a 20-tall (24 inches), even though the volumes are identical. If you are still sizing your first tank around this species, the 20-gallon fish tank setup guide walks through the actual footprint differences.
Ideal Parameters: Hard Water (GH 12-30) and Alkaline pH (7.0-8.4)#
This is where green swordtails diverge sharply from most South American community fish. They want hard, alkaline, mineralized water — the kind that comes out of the tap in much of the American Southwest, parts of Texas, Florida, and most of Europe. Soft RO water will actually shorten their lives.
| Parameter | Target | Notes |
|---|---|---|
| Temperature | 72-79 F (22-26 C) | Tolerant down to 65 F briefly |
| pH | 7.0-8.4 | Alkaline strongly preferred |
| General hardness | 12-30 dGH | Very hard water tolerated |
| Carbonate hardness | 10-25 dKH | Stabilizes pH |
| Ammonia / Nitrite | 0 ppm | Cycled tank required |
| Nitrate | Under 30 ppm | Weekly 25-30% water changes |
| Flow | Moderate to brisk | Mimics stream habitat |
If your tap water is naturally soft, supplement with crushed coral, aragonite substrate, or Wonder Shells to raise GH and KH. Don't try to force soft water with peat or driftwood tannins — you'll just stress the fish chasing parameters they didn't evolve for. And before any swordtail goes in, the tank must be fully cycled. The nitrification cycle is non-negotiable for livebearers; an ammonia spike at 1 ppm will burn gills within a day.
Swordtails are flexible but they reward consistency. If your tap reads pH 7.4 and 15 dGH, leave it alone. Constant tinkering with pH-down or pH-up products causes more swordtail deaths than slightly imperfect parameters ever do. Stable beats ideal every time.
The Importance of a Tight-Fitting Lid (Jumpers)#
Green swordtails are champion jumpers. In their native streams, they leap to clear small rapids and catch insects skimming the surface, and that instinct does not turn off in the aquarium. An open-top tank or one with gaps around the filter intake is an invitation for a dried-out swordtail on the carpet at 6 AM.
Use a glass canopy or a tightly fitted hood. Cover any cutouts you don't actively need. If you run a HOB filter, use the trim cap that ships with it — the gap behind the back glass is the most common escape route. Even the best-behaved males will jump during chases or after a startle.
Diet & Feeding#
Green swordtails are true omnivores with a slight herbivorous lean. In the wild they graze biofilm and algae off rocks while picking off insect larvae, worms, and small crustaceans drifting in the current. A captive diet should reflect that mix.
High-Protein Staples and Vegetable Matter (Spirulina)#
A quality flake or small pellet that lists multiple protein sources first should be your daily staple. Add a spirulina-based food two or three times a week — the algal protein keeps colors vivid and the fiber supports gut function. Blanched veggies (zucchini slices, spinach, shelled peas) once a week give them something to graze on between feedings, much like the algal mats they would scrape in the wild.
Feed twice a day in amounts the school can clear in about a minute. Adults are voracious and will beg for more, but overfeeding fouls the water faster than the tank can keep up. A skipped day per week is healthy, not cruel.
Live and Frozen Treats: Bloodworms and Brine Shrimp#
Frozen bloodworms, daphnia, and adult brine shrimp are the trio that swordtails devour with the most enthusiasm. Offer one of these once or twice a week — the chase activity alone is worth the cost. Live blackworms, if you can source them clean, will trigger spawning behavior reliably. Avoid feeding bloodworms as a daily staple; they're a treat, not a complete diet, and overuse is associated with constipation in deep-bellied females.
Tank Mates & Compatibility#
Swordtails are peaceful with most species their size or slightly smaller, but they have one social problem that has to be planned around: male-on-male aggression.
Managing Male Aggression: The 1:3 Male-to-Female Ratio#
Two males in a 20-gallon will fight constantly. The dominant male will chase the subordinate until the loser is hiding behind the heater with shredded fins. Three males in a 40-gallon is sometimes worse — two team up on the third. The reliable fix is the classic livebearer ratio: one male to three or more females. The extra females spread the male's mating attention thinly enough that no single fish gets harassed to exhaustion.
If you want to keep multiple males, scale up the tank. A 55-gallon with heavy planting and visual breaks can hold two or three males if you also have at least eight females and dense cover. Below that, run a single male.
New keepers often pick up "a pair" thinking they have a male and female. If both turn out to be males, one will be dead or hiding within a month. Always buy your group in a 1:3+ male-to-female ratio from day one, even if you only want a small school. Sexing is easy at adult size — ask the store to net mature fish so you can confirm before purchase.
Best Community Partners: Corydoras, Mollies, and Larger Tetras#
Green swordtails play well with other peaceful fish that match their water parameter preferences and don't have long, vulnerable fins. Excellent tankmates include bronze corydoras and peppered corydoras for the bottom, black molly and sailfin molly as midwater companions, and sturdy schoolers like the buenos aires tetra, black skirt tetra, or pristella tetra. Bristlenose pleco handle the algae duty without competing for swordtail food.
Variatus platy and mickey mouse platy are the same-genus cousins and share identical care, but expect interbreeding. Rainbow shark work in 40+ gallon tanks where there's enough territory to go around.
Species to Avoid: Fin-nippers and Slow-moving Long-finned Fish#
Skip tiger barb and serpae tetra — both will chew swordtail fins, especially the male's sword. Avoid pairing with betta fish: swordtails are too active and nippy for the betta, and the parameter preferences don't overlap. Skip slow, long-finned fish like fancy goldfish (also a temperature mismatch) and pearl gourami in smaller tanks where they'll be outcompeted at feeding time. Aggressive cichlids — jack dempsey, convict cichlid, green terror — will eventually treat swordtails as snacks.
Breeding Green Swordtails#
If you keep mixed-sex green swordtails in clean water, you will have fry. The harder problem is keeping any of them alive.
Recognizing a Gravid Female#
A gestating female swordtail develops a deeply rounded belly and a dark gravid spot just forward of the anal fin — that smudge is the developing eyes and dark pigment of the fry showing through the thin abdominal wall. Gestation runs roughly 28 days. As the drop date approaches, the female's belly squares off (boxy rather than rounded), the gravid spot intensifies, and she may seek out quiet corners of the tank.
Females can store sperm from a single mating and produce three to five successive broods over six months without further male contact. A single drop typically yields 20 to 80 fry, with very large mature females sometimes producing 100+.
Using Floating Plants (Hornwort/Guppy Grass) for Fry Survival#
Adult swordtails — including the mother — will eat any fry they can catch. The simplest fry-protection setup is a thick mat of floating plants: hornwort, guppy grass (Najas), water sprite, or dense Java moss tied to driftwood near the surface. Newborn fry instinctively dart upward and hide in the floating tangle within seconds of being born. Anywhere from 10 to 30 percent typically survive in a well-planted community tank without further intervention.
For higher survival rates, move the gravid female to a 5-10 gallon bare-bottom breeding tank a few days before she drops, then return her to the main tank immediately after. A breeder box hung inside the main tank works as a backup but tends to stress the female and trigger early or premature drops.
Raising Fry: Infusoria and Baby Brine Shrimp#
Newborn swordtail fry are large enough to take crushed flake from day one — a clear advantage over tetra or rainbowfish fry, which need infusoria-grade food. Even better is freshly hatched baby brine shrimp once or twice a day; the high protein produces visible growth within a week. Microworms work as a supplement.
Keep the fry tank lightly filtered with a sponge filter, do small daily water changes (10-15%), and feed small amounts five or six times a day for the first month. Fry reach about 1 inch in six weeks and are sexable around 8-10 weeks. Move them to a grow-out tank or back to the main display once they're large enough not to be eaten.
Common Health Issues#
Green swordtails are robust, but their hard-water preference and active swimming come with a few species-specific risks.
Ich (White Spot Disease) and Velvet#
Ich appears as scattered grains-of-salt white spots on fins and body, usually after a temperature drop or new fish stress. Treat by raising temperature to 82-84°F over 24 hours and dosing a copper-free ich medication; salt at 1 tablespoon per 5 gallons is also a traditional aid that swordtails tolerate well due to their hard-water lineage. Velvet is similar but presents as a fine gold-dust sheen rather than discrete spots. Treat with copper sulfate or commercial velvet remedies and dim the lights — the dinoflagellate causing it photosynthesizes.
Camallanus Worms in Livebearers#
Camallanus is a parasitic intestinal nematode that is alarmingly common in farmed livebearers and almost always arrives on a new fish from a wholesaler. The classic sign is one or more reddish, hair-thin worms protruding from the vent of a thin, listless fish that's still eating. By the time worms are visible externally, the entire tank is infected. Treat with a fenbendazole or levamisole-based dewormer (sold for fish at most aquarium stores) and re-treat 14 days later to catch newly hatched larvae. Quarantine all new livebearers for at least three weeks before adding them to your display tank — this is the single most important habit to build with swordtails.
Camallanus, gill flukes, and slow-onset bacterial infections often don't show in the first week. A bare-bottom 10-gallon quarantine tank with a sponge filter, observation period of 21+ days, and a prophylactic deworming round will save your entire display tank from a disaster you didn't see coming.
Where to Buy & What to Look For#
Where you source your green swordtails matters more than almost any other care decision. The "feeder grade" swordtails sold cheaply at big-box chains are typically inbred, malnourished, and frequently carry parasites or chronic wasting issues that will not respond to treatment.
Sourcing from Local Fish Stores (LFS) vs. Big Box#
A reputable local fish store keeps swordtails in clean, well-aerated tanks with proper hardness and conditions them on quality food before sale. Staff can tell you the source farm, how long the fish have been in-store (look for a minimum of 5-7 days for parasites and stress to manifest), and ideally let you see the fish eat before you commit. Expect to pay $4-12 for a quality wild-type green or low-line color morph — versus $1-3 at chain stores for fish with one-third the lifespan.
A healthy swordtail will rush to the front of the tank and eat aggressively when food hits the water. A swordtail that ignores food, hangs near the surface gasping, or sulks at the back of the tank is sick — even if it looks externally fine. Don't accept "they just ate" as a reason; ask the store to feed in front of you. Any reputable LFS will do this without complaint.
Signs of Health: Active Swimming and Clamped Fin Check#
Use this checklist at the store. Reject any fish that fails more than one criterion.
- Body is full and well-muscled, not sunken or razor-thin behind the head (a hollow belly signals chronic wasting and is rarely reversible).
- Fins are fully extended and clear, not clamped against the body or shredded at the edges.
- Sword on males is straight and unbroken; fin rays are intact.
- Eyes are clear, not cloudy or popped outward.
- Gills move evenly and slowly; rapid breathing or one-sided gilling indicates parasites or ammonia damage.
- No reddish worms protruding from the vent (Camallanus) and no white stringy feces (internal protozoa).
- Active in the water column, not lying on the substrate or hanging at the surface.
- Scales are smooth and tight to the body, not raised or pineconed.
A "Local Store Selection Checklist" specific to Xiphophorus genetics is the most valuable tool you can carry into the store. Wild-type greens and well-bred color morphs from a quality LFS will live the full 3-5 years; bargain-bin specimens from a wholesaler chain rarely make it past 18 months. The price difference is the cheapest insurance you'll buy in this hobby.
Quick-Reference Cheat Sheet#
Green swordtails are one of the few fish that can carry a community tank by themselves — they're large enough to be the visual centerpiece, peaceful enough to share with corys and tetras, and prolific enough to keep a hobbyist busy for years. Get the water hardness right, give them a 20-gallon long with a tight lid, and stick to the 1:3 sex ratio, and you'll have a swordtail colony for the next half-decade.
Related species
Similar species you might also be considering for your tank.
Osteoglossum ferreirai
Hypselecara temporalis
Parosphromenus deissneri
Trichopsis vittata
Hemigrammus rodwayi
Thayeria boehlkei