
With their brilliant colors, energetic personalities, and unmistakable sword-shaped tails, Swordtail Fish are among the most recognizable freshwater livebearers in the aquarium hobby.
The Green Swordtail (Xiphophorus hellerii) is native to Mexico and Central America, but generations of selective breeding have transformed the relatively understated wild fish into a huge assortment of red, orange, yellow, black, white, koi, pineapple, tuxedo, and other ornamental varieties.
Swordtails are generally hardy and beginner-friendly, but they are larger and considerably more active than many new aquarists expect. Males can also become competitive with one another, and mixed-sex groups can produce an astonishing number of fry.
Give them plenty of swimming room, mineral-rich water, a varied diet, and an appropriate social group, and Swordtails can become colorful, active centerpieces of a freshwater community aquarium.
β‘ Swordtail Fish Quick Care Guide
| Care Requirement | Swordtail Fish |
|---|---|
| Scientific name | Xiphophorus hellerii |
| Common names | Swordtail, Green Swordtail |
| Family | Poeciliidae |
| Origin | Mexico and Central America |
| Adult size | Commonly about 4β6 inches |
| Lifespan | Around 3β5 years |
| Temperament | Generally peaceful; males may be territorial |
| Minimum tank size | 20 gallons; 29β30+ gallons preferred for groups |
| Temperature | About 72β82Β°F (22β28Β°C) |
| pH | Approximately 7.0β8.0 |
| Water hardness | Moderate to hard |
| Diet | Omnivore |
| Swimming level | Middle to upper |
| Care level | Beginner-friendly |
| Breeding | Livebearer |
| Social setup | Best in groups with more females than males |
Swordtails are larger than closely related Platies, so horizontal swimming room is particularly important.
π¬ Scientific Classification
| Classification | Swordtail Fish |
|---|---|
| Kingdom | Animalia |
| Phylum | Chordata |
| Class | Actinopterygii |
| Order | Cyprinodontiformes |
| Family | Poeciliidae |
| Genus | Xiphophorus |
| Species | Xiphophorus hellerii |
The genus name Xiphophorus comes from words referring to carrying a swordβan appropriate description of the extended lower portion of the adult male’s tail.
Swordtails are close relatives of Platies. Both belong to the genus Xiphophorus, and their close relationship has played an important role in developing many ornamental aquarium strains.
π Where Do Swordtail Fish Come From?
Wild Green Swordtails are native to parts of Mexico and Central America.
Their natural range extends from eastern Mexico through portions of Central America, and they inhabit freshwater environments such as:
- Rivers
- Streams
- Springs
- Creeks
- Vegetated margins
- Slow-flowing waters
They often occur in areas with abundant vegetation where they can forage for plant material, algae, small invertebrates, and other foods.
Swordtails have also become established outside their natural range after being introduced into suitable environments.
For that reason, aquarium Swordtails should never be released into ponds, streams, canals, or other natural waterways.
π‘οΈ Why Are They Called Swordtails?
Adult males develop the feature that gives the species its common name.
The lower rays of the male’s caudal fin grow into a long, narrow extension resembling a sword.
Females normally lack this elongated extension.
The sword is not a weapon in the usual sense. It forms part of the male’s visual display and is associated with courtship and sexual selection.
The combination of a slender body and extended tail makes mature male Swordtails particularly impressive when swimming through a planted aquarium.
π¨ What Do Swordtails Look Like?
Wild Green Swordtails are generally far less colorful than most aquarium strains.
Selective breeding has created fish in many colors and patterns, including:
- Bright red
- Orange
- Yellow
- Black
- Green
- White
- Red and black
- Koi patterns
- Pineapple patterns
- Tuxedo patterns
- Lyretail varieties
- Hi-fin varieties
Commercial Swordtails may also have ancestry involving crosses with closely related Xiphophorus fish, particularly Platies.
As a result, the aquarium Swordtail is one of the most variable livebearers available.
π Popular Swordtail Varieties
Red Swordtail
The classic Red Swordtail has an intensely red or orange-red body.
Males often display an especially striking contrast between their body and elongated tail.
Green Swordtail
Green Swordtails are closer in appearance to the wild form.
Their coloration is usually subtler, with greenish, olive, silver, or brown tones and lateral markings.
Pineapple Swordtail
Pineapple Swordtails generally combine yellow, orange, and reddish coloration, creating a warm tropical appearance.
Koi Swordtail
Koi Swordtails typically display combinations of white, red, and orange.
Their patterns can vary considerably from one individual to another.
Tuxedo Swordtail
Tuxedo varieties feature large dark or black areas contrasting with brighter body coloration.
Black Swordtail
Black strains may be predominantly dark or combine black pigmentation with red, orange, or other colors.
Lyretail Swordtail
Lyretail Swordtails have elongated upper and lower tail rays.
They are beautiful, although the exaggerated fins can affect normal breeding and make careful tank-mate selection more important.
π How Big Do Swordtail Fish Get?
Swordtails are bigger than many popular livebearers.
Aquarium Swordtails commonly grow approximately 4β6 inches long, although size varies according to sex, strain, genetics, and husbandry.
Females can become particularly substantial.
FishBase records maximum lengths considerably larger than the size of many ordinary aquarium specimens, including up to about 16 cm for females.
This is one reason Swordtails should not be treated like tiny nano fish.
A young Swordtail in a pet-store tank may look similar in size to a Guppy or Platy, but a mature adult needs considerably more swimming space.
π‘ Swordtail Fish Tank Size
A 20-gallon aquarium should generally be considered a starting point rather than an ideal permanent home for a large group.
For several adults, a 29- or 30-gallon aquarium or larger is preferable.
A longer aquarium is particularly useful because Swordtails are active swimmers.
Additional space provides:
- More swimming room
- Better water stability
- More territory for males
- Space for live plants
- More options for tank mates
- Room for growing fry
- Less concentrated aggression
Larger groups and mixed communities may require 40 gallons or more.
Always choose the aquarium based on the adult population you expectβnot just the few juveniles you initially purchase.
π Swordtails Are Active Swimmers
Swordtails rarely behave like sedentary aquarium fish.
Healthy individuals spend much of the day swimming, exploring, feeding, interacting with one another, and investigating their surroundings.
Their activity is part of their appeal, but it also means they are poorly suited to cramped aquariums.
Leave a generous open swimming area through the center or front of the tank while using plants and decorations around the edges.
Swordtails can also jump.
A secure aquarium lid is highly recommended.
π‘οΈ Swordtail Water Parameters
Swordtails are relatively adaptable, but they generally perform best in harder, more alkaline water.
A useful range is:
| Parameter | Recommended Range |
|---|---|
| Temperature | 72β82Β°F (22β28Β°C) |
| pH | Approximately 7.0β8.0 |
| Hardness | Moderate to hard |
| Ammonia | 0 ppm |
| Nitrite | 0 ppm |
| Nitrate | Kept as low as practical |
Swordtails are livebearers from naturally mineral-rich environments.
If your tap water is extremely soft, maintaining adequate mineral content deserves additional attention.
Do not constantly adjust pH with chemical products unless there is a genuine need. Stable water chemistry is generally preferable to repeated fluctuations caused by chasing a particular number.
π§ Do Swordtails Need Aquarium Salt?
Not routinely.
Swordtails are freshwater fish and can live perfectly well in properly maintained freshwater aquariums without continuously adding salt.
Their preference for hard, mineral-rich water is sometimes confused with a requirement for salt.
They are not the same thing.
General hardness measures dissolved minerals such as calcium and magnesium, while sodium chloride is aquarium salt.
Rather than automatically salting a Swordtail aquarium, concentrate on appropriate hardness, stable chemistry, good filtration, and regular water changes.
πΏ Setting Up a Swordtail Aquarium
Swordtails look particularly good in planted aquariums.
Use plants and structure to create sheltered areas while preserving plenty of open swimming room.
Good plant choices include:
- Vallisneria
- Java fern
- Anubias
- Cryptocoryne
- Water sprite
- Hornwort
- Java moss
- Guppy grass
- Floating plants
Dense vegetation has another important purpose: it provides refuge for newborn Swordtail fry.
For additional ideas, see our Top 30 Easy-to-Grow Live Aquarium Plants for Freshwater Tanks.
Driftwood and smooth rocks can provide additional structure, although the aquarium should not become so cluttered that the fish lose their swimming space.
π§ Filtration and Aquarium Maintenance
Swordtails are larger livebearers, and a group can produce a considerable biological load.
Use an appropriately sized filter and perform regular partial water changes.
A good routine includes:
- Testing aquarium water
- Weekly or regular partial water changes
- Removing accumulated waste
- Cleaning filter media when necessary
- Removing uneaten food
- Checking the heater and filter
- Monitoring the fish for behavioral changes
Ammonia and nitrite should remain at zero.
Never assume Swordtails can tolerate toxic water simply because they have a reputation for being hardy.
Hardiness gives the aquarist some flexibility. It does not replace proper aquarium maintenance.
π½οΈ What Do Swordtail Fish Eat?
Swordtails are omnivores.
A good diet contains both animal-based and plant-based foods.
A quality tropical flake, pellet, or livebearer food can serve as the staple diet.
Supplement it with foods such as:
- Brine shrimp
- Daphnia
- Frozen foods
- Small insect larvae
- Spirulina flakes
- Algae-based foods
- Vegetable-rich pellets
- Occasional bloodworms
Swordtails are enthusiastic eaters and will usually accept almost anything offered.
That enthusiasm makes overfeeding easy.
Feed only what the fish can consume promptly rather than allowing excess food to sink and decay.
π₯¬ Why Plant Matter Matters
Swordtails should not receive an exclusively meat-heavy diet.
Wild fish consume algae and plant material in addition to small aquatic animals.
Foods containing spirulina, algae, and vegetable ingredients help provide dietary variety.
Swordtails may also graze naturally on algae and biofilm growing throughout a mature aquarium.
This grazing is normal behavior, although Swordtails should never be purchased as a substitute for maintaining the aquarium.
π₯ How Many Swordtails Should You Keep?
Swordtails can be kept in small groups, but the ratio of males to females matters.
If both sexes are present, a useful arrangement is approximately:
1 male for every 2β3 females
Male Swordtails are persistent courters.
If one male is housed with only one female, his constant attention may become stressful.
Providing several females distributes that attention.
Keeping multiple males requires more space because males can become competitive with one another.
βοΈ Do Male Swordtails Fight?
They can.
Male Swordtails may establish dominance hierarchies and chase competing males.
Inadequate space can turn occasional displays into persistent bullying.
Signs of a problem include:
- One male hiding constantly
- Torn fins
- Persistent chasing
- A subordinate fish being prevented from feeding
- One fish remaining in a corner
- Visible stress or weight loss
A larger aquarium with plants and visual barriers can reduce aggression.
Avoid simply adding more males to a cramped tank in the hope that the problem will disappear.
βοΈβοΈ Male vs. Female Swordtails
Adult Swordtails are usually straightforward to sex.
Male Swordtails
Males typically have:
- The characteristic sword-shaped tail extension
- A slimmer body
- A modified anal fin called a gonopodium
The gonopodium is narrow and pointed.
Female Swordtails
Females generally:
- Lack the long sword
- Have a larger, fuller body
- Possess a fan-shaped anal fin
- Develop a noticeably enlarged abdomen when carrying young
The anal fin is the most dependable feature for distinguishing mature males and females.
π€ Swordtail Fish Compatibility
Swordtails are generally peaceful enough for freshwater community aquariums.
However, they are active fish and can sometimes overwhelm very timid species.
Ideal companions should:
- Appreciate similar hard-water conditions
- Tolerate tropical temperatures
- Be peaceful or moderately assertive
- Be large enough not to become prey
- Handle the Swordtails’ active swimming behavior
Always compare water chemistry as well as temperament.
Two species labeled “community fish” are not necessarily compatible if their preferred water conditions are completely different.
π Best Swordtail Tank Mates
Possible Swordtail companions include:
- Platy Fish
- Guppy Fish
- Mollies
- Some Corydoras Catfish
- Larger peaceful tetras
- Some rainbowfish
- Peaceful barbs
- Bristlenose Plecos
- Peaceful loaches
- Snails
When considering Corydoras, choose a species whose preferred temperature and water conditions overlap appropriately. You can learn more in our Corydoras Catfish: Care, Breeding, and Tank Mates guide.
π« Swordtail Tank Mates to Avoid
Avoid fish that are:
- Highly aggressive
- Large predators
- Persistent fin nippers
- Extremely slow and timid
- Dependent on dramatically softer or more acidic water
Large predatory cichlids may view Swordtails as prey.
Aggressive fish can also damage the elongated sword and fins of ornamental males.
π Can Swordtails Live With Platies?
Yes, but there is an important complication.
Swordtails and Platies are closely related members of the genus Xiphophorus, and hybridization can occur.
In fact, crosses involving these fish have contributed to the development of many ornamental color strains found in the aquarium trade.
If you simply want an attractive community aquarium, the two can coexist under suitable conditions.
If your goal is maintaining genetically distinct breeding lines, keeping them together is a poor choice.
You can learn more about their smaller relatives in our Platy Fish: Care, Breeding, and Compatibility guide.
π Can Swordtails Live With Guppies?
Swordtails and Guppies can often coexist successfully.
Both appreciate mineral-rich water and are livebearers.
However, Swordtails are much larger and more powerful swimmers.
Provide enough aquarium space so the Guppies are not constantly competing with Swordtails during feeding.
Also remember that keeping males and females of both species can create a rapidly expanding livebearer population.
π Swordtails and Mollies
Swordtails and Mollies can make good companions when their water parameters overlap.
Both tend to appreciate harder water.
Mollies are also relatively large, active livebearers, so the combination works best in a spacious aquarium.
A tank containing adult Mollies, Swordtails, and their offspring can become heavily stocked much faster than expected.
β€οΈ How Do Swordtail Fish Breed?
Swordtails are livebearers.
Rather than laying eggs on plants or substrate, females carry developing young internally and give birth to free-swimming fry.
Breeding Swordtails is usually extremely easy.
If healthy adult males and females live together, breeding is likely to occur without intervention from the aquarist.
The challenge is often managing the resulting population.
π Swordtail Mating Behavior
Male Swordtails use their gonopodium to transfer sperm to females.
They may pursue females frequently as part of courtship.
This persistent behavior is another reason for keeping several females with each male.
Females can store sperm following mating and may produce multiple broods without mating again immediately.
A female purchased from a mixed aquarium can therefore produce fry even if you never add a male to her new tank.
π€° How Long Are Swordtails Pregnant?
Swordtail pregnancy generally lasts around four weeks, although the exact period varies with factors such as:
- Temperature
- Age
- Genetics
- Diet
- Health
- Individual variation
As birth approaches, the female’s abdomen becomes increasingly enlarged.
She may also become less social and seek shelter among plants.
Some females develop a visible gravid spot, although coloration can make it difficult to see.
πΆ How Many Babies Do Swordtails Have?
A mature female can give birth to dozens of fry at one time, with brood size varying significantly according to her age and size.
Large females can produce particularly substantial broods.
The newborn fish are:
- Fully formed
- Free-swimming
- Capable of feeding soon after birth
- Independent from their parents
Unfortunately, adult Swordtails provide no parental care.
They may eat the babies.
πΏ Helping Swordtail Fry Survive
Dense vegetation is one of the easiest ways to increase fry survival.
Useful cover includes:
- Java moss
- Guppy grass
- Hornwort
- Water sprite
- Dense stem plants
- Floating plant roots
Fry can retreat into spaces adults cannot easily reach.
In a densely planted community aquarium, a few fry may survive each brood without intervention.
If you want to raise most of the babies, use a dedicated nursery aquarium.
πΌ Raising Swordtail Fry
Newborn Swordtail fry are large enough to accept several foods immediately.
Good choices include:
- Crushed flake food
- Commercial fry powder
- Baby brine shrimp
- Microworms
- Fine spirulina foods
Freshly hatched baby brine shrimp are particularly useful for encouraging healthy growth.
Fry benefit from several small feedings per day.
However, frequent feeding also produces a great deal of waste.
Use a sponge filter and perform careful water changes to keep the nursery clean.
β οΈ Should You Use a Breeding Box?
A breeding box can protect newborn fry, but keeping a pregnant female confined in a very small space for days may cause significant stress.
A heavily planted breeding tank is often a better choice.
Another option is to leave the mother in the main aquarium and move fry into a nursery after they are born.
If you use a breeding box, do not place the female inside far in advance of delivery.
π Swordtail Population Control
Population management is one of the most important parts of keeping livebearers.
A small group of Swordtails can eventually produce dozens of juveniles.
Before intentionally breeding them, decide what you will do with the offspring.
Options include:
- Keeping a male-only group
- Keeping sexes separately
- Allowing natural predation to limit fry survival
- Giving juveniles to other aquarists
- Asking local aquarium stores whether they accept home-bred fish
Never release unwanted Swordtails into the wild.
π©Ί Common Swordtail Health Problems
Swordtails are hardy but can still develop common freshwater fish illnesses.
Possible problems include:
- Ich
- Fin rot
- Bacterial infections
- Fungal infections
- Internal parasites
- External parasites
Warning signs include:
- White spots
- Clamped fins
- Rapid breathing
- Loss of appetite
- Unusual hiding
- Weight loss
- Frayed fins
- Rubbing against objects
- Abnormal swimming
If several fish begin displaying symptoms simultaneously, test the aquarium water immediately.
Environmental problems such as ammonia, nitrite, inappropriate temperature, or severe stress can produce symptoms that resemble disease.
π‘οΈ Keeping Swordtails Healthy
The best treatment is prevention whenever possible.
Good Swordtail husbandry includes:
- Maintaining a fully cycled aquarium
- Keeping ammonia and nitrite at zero
- Providing sufficient hardness and minerals
- Performing regular water changes
- Avoiding overcrowding
- Feeding a varied diet
- Quarantining new fish
- Maintaining appropriate male-to-female ratios
- Watching for bullying
Population growth deserves particular attention.
Overcrowding can slowly degrade water quality even if the aquarium was originally stocked appropriately.
β³ How Long Do Swordtails Live?
Swordtails commonly live around three to five years with proper aquarium care.
Their lifespan depends on factors including:
- Genetics
- Water quality
- Diet
- Disease exposure
- Temperature
- Reproductive stress
- Social stress
- Aquarium size
Good care cannot guarantee a particular lifespan, but stable conditions dramatically improve a fish’s chances of remaining healthy into old age.
π§ Swordtail Behavior
Swordtails are lively and engaging.
Typical behavior includes:
- Exploring the aquarium
- Swimming through open water
- Grazing on surfaces
- Searching for food
- Males displaying to females
- Males establishing dominance
- Investigating plants and decorations
They quickly learn feeding routines and often approach the front of the tank when people enter the room.
Their constant movement makes them an excellent choice for aquarists who want an active rather than tranquil display.
β οΈ Common Swordtail Care Mistakes
Using Too Small an Aquarium
Swordtails are large, active livebearers.
Give them room to swim.
Keeping Too Many Males Together
Male competition can become serious in cramped conditions.
Keeping One Female With Several Males
Persistent courtship can exhaust and stress her.
Using Very Soft Water
Swordtails generally perform better in mineral-rich, moderately hard to hard water.
Automatically Adding Salt
Hard water and salted water are not the same thing.
Forgetting About Fry
If males and females live together, assume babies are eventually coming.
Overfeeding
Swordtails behave enthusiastically around food, but excess food harms water quality.
Forgetting the Lid
Swordtails are capable jumpers.
Keeping Incompatible Fish Because They’re All “Community Fish”
Temperament, temperature, hardness, adult size, and activity level all matter.
π Are Swordtails Good Beginner Fish?
Yesβwith a few qualifications.
Swordtails have many qualities that make them excellent beginner fish:
- Hardy
- Attractive
- Easy to feed
- Easy to breed
- Widely available
- Generally peaceful
- Adaptable
- Active and interesting
However, they require more space than Guppies or Platies, and their reproductive rate can quickly create an overcrowded aquarium.
A beginner who chooses an appropriately sized tank and plans the social group carefully should have little difficulty keeping them.
If you’re comparing freshwater species for a new aquarium, see our Top 50 Freshwater Fish for Aquariums.
π‘οΈ Final Thoughts
Swordtail Fish have been aquarium favorites for generations because they combine nearly everything people love about livebearers.
They are brightly colored, energetic, hardy, easy to feed, and fascinating to breed.
The male’s dramatic sword-shaped tail makes Xiphophorus hellerii instantly recognizable, while selective breeding has created enough colors and patterns to suit almost any freshwater aquarium.
Their care is relatively straightforward, but three things deserve special attention: space, water hardness, and social structure.
Give Swordtails a roomy aquarium with plenty of horizontal swimming space, clean mineral-rich water, a varied omnivorous diet, plants for cover, and more females than males when keeping a mixed group.
And if males and females live together, make plans for the fry.
With those basics in place, Swordtails can provide years of color and activity in a thriving freshwater community aquarium.
π Related Articles
- Platy Fish: Care, Breeding, and Compatibility
- Guppy Fish: Your Guide to Care, Breeding, and Health
- Corydoras Catfish: Care, Breeding, and Tank Mates
- The Top 50 Freshwater Fish for Aquariums
- Top 30 Easy-to-Grow Live Aquarium Plants for Freshwater Tanks
