Male and female swordtails feeding in the open upper water of a spacious planted community aquarium.

Swordtail Care Guide: Feeding, Behavior, and Freshwater Tank Compatibility

Swordtails are among the most rewarding livebearing fish you can keep in a freshwater aquarium — active, colorful, and forgiving enough for newer fishkeepers. Their name comes from the elongated lower tail fin found on mature males, but their appeal goes well beyond that distinctive sword. A well-kept group brings constant movement to the middle and upper levels of the tank, adapts comfortably to many community setups, and breeds readily. That said, good swordtail care involves more than dropping a few fish in and tossing in some flakes. Their adult size, social dynamics, water preferences, and high reproductive rate all matter if you want a healthy, stable aquarium long-term. If you’re thinking about adding swordtails to your tank, a reliable staple like tropical micro pellets is a great place to start building their diet.

Swordtail Fish Overview: What Makes Swordtails Different?

The common aquarium swordtail is Xiphophorus hellerii, a livebearing fish native to Central America. In the aquarium trade, most swordtails are selectively bred strains or hybrids involving related Xiphophorus species — which is why hobbyists can find them in colors and fin shapes that look nothing like the wild green swordtail. Swordtails are livebearers, meaning females give birth to free-swimming fry rather than laying eggs. They are closely related to platies and can sometimes hybridize with them, especially since many domestic strains already carry mixed ancestry. Like platies and mollies, swordtails prefer clean, mineral-rich water and do best in stable aquariums rather than overly soft or acidic ones. Pairing a quality staple food with a livebearer-specific pellet can help keep their color and condition strong from the start.

Adult size is often underestimated. Males commonly reach around 4 inches not including the sword extension, while females can grow larger and heavier-bodied — often 4 to 5 inches under good conditions. Because they are fast, active swimmers, swordtails need more space than small livebearers like endlers or guppies.

Different Types of Swordtails for Freshwater Aquariums

Most swordtails sold in stores are domestic color varieties. Care requirements are broadly similar across types, though long-finned and highly selected strains may be less robust than standard-finned fish.

Common Swordtail Color Varieties

Popular swordtail varieties include red, green, and pineapple swordtails. Red swordtails range from bright orange-red to deep red and are among the most commonly found in stores. Green swordtails are closer to the wild form, usually showing olive or greenish tones with a dark lateral stripe. Pineapple swordtails display warm yellow to orange coloration, often with red highlights.

Other common varieties include wagtail, tuxedo, and koi swordtails. Wagtail swordtails have dark fins that contrast sharply with a lighter body. Tuxedo swordtails show darker pigmentation across part of the body. Koi swordtails often display red, white, and orange patches reminiscent of koi patterns.

Fancy Swordtail Fin Types

Some swordtails are bred for modified fins. Hi-fin swordtails have dramatically tall dorsal fins, while lyretail swordtails have extended fin rays that create a flowing, elegant outline. These fish can be stunning, but they tend to be less athletic than standard swordtails and their longer fins are more vulnerable to damage from rough tankmates or poor water quality.

For beginners, standard-finned swordtails are usually the better choice. They swim and compete for food easily, and they handle community aquarium life more reliably than extreme fancy strains.

Ideal Swordtail Tank Size and Aquarium Setup

Swordtails are often marketed as beginner fish, but they are not small fish. A pair may survive in a modest aquarium for a while, but long-term care is far easier in a larger tank with open swimming space.

Best Tank Size for Swordtails

A 20-gallon long aquarium is a practical minimum for a small group, but a 29- or 30-gallon tank is a better starting point. Larger tanks make it easier to manage male behavior, dilute waste, and accommodate fry if breeding occurs. For a mixed group, plan for at least five or six swordtails in a properly sized aquarium. If you want multiple males, use a larger tank with visual breaks so lower-ranking males can escape constant attention. A 40-gallon breeder or 55-gallon tank gives swordtails far more room to behave naturally.

Swordtail Aquarium Layout

Swordtails do best in a tank that balances open swimming areas with planted cover. They cruise primarily through the middle and upper water column, so avoid filling the entire aquarium with dense decorations. A practical layout includes plants along the back and sides, open space in the center, and some floating cover for fry.

Labeled aquarium with orange swordtails swimming through open middle and upper water between planted cover at both ends.

Hardy live plants work especially well. Java fern, hornwort, and water sprite are all solid options. Floating plants help fry survive, but they also mean more young fish will grow up in the tank. If population control is a priority, limit dense hiding areas.

A secure lid is important because swordtails are active and may jump, especially when startled. Filtration should be strong enough to maintain excellent water quality, but the current does not need to be intense. A hang-on-back filter, sponge filter, or canister filter all work well when properly sized.

Swordtail Water Temperature and Chemistry

Swordtails are adaptable, but they are not well-suited to very soft, acidic aquariums. Their long-term health is best supported by moderately hard to hard water with a stable pH.

Best Water Temperature for Swordtails

The ideal temperature range for swordtails is roughly 72 to 79 degrees Fahrenheit, with 75 to 77 degrees being a good everyday target for most community tanks. They can tolerate slightly cooler or warmer conditions briefly, but stability matters more than hitting a precise number. Warmer water can increase metabolism, appetite, and breeding activity, while cooler water tends to slow growth and reproduction. Avoid rapid temperature swings, particularly following water changes.

Swordtail pH and Hardness

Swordtails generally thrive at a pH of about 7.0 to 8.3 and prefer mineral-rich water. A general hardness range of roughly 10 to 25 dGH suits most domestic swordtails well. If your tap water is naturally hard and slightly alkaline, swordtails are often an excellent match. If your water is very soft, you may need to remineralize it rather than relying on pH-adjusting chemicals. Stability is always more important than chasing sudden changes.

Are Swordtails Hardy in Poor Water Quality?

Swordtails are hardier than many delicate aquarium fish, but “hardy” does not mean they tolerate poor conditions indefinitely. Ammonia and nitrite should always read zero in an established aquarium, and nitrate should be kept as low as practical — ideally below 20 to 40 parts per million depending on your stocking level. Poor water quality often shows up first as clamped fins, faded color, and increased disease. Fancy strains may decline faster than standard swordtails when conditions slip, and breeding tanks deserve extra attention since a growing population can overload filtration before you notice.

Swordtail Group Size, Sex Ratio, and Social Behavior

Swordtails are social fish, but they are not true schooling fish. They do not move in tight synchronized groups like tetras, yet they are noticeably more confident and natural when kept with others of their kind.

Best Swordtail Group Size

A good group starts at five or more swordtails in a large enough tank. This spreads social pressure among several fish and makes the aquarium look more natural. A single swordtail can survive, but it may be less active or more likely to fixate on tankmates. For mixed-sex groups, keep more females than males. A ratio of one male to two or three females is a common and effective guideline, as male swordtails court females persistently and a single female can become stressed by constant attention.

Male Swordtail Behavior

Male swordtails display, chase, and compete with each other. This is normal behavior, but it can become a problem in cramped aquariums. Males may spar by flaring fins and circling, though serious injury is less common than with truly aggressive species. Stress can build quickly, however, if a male is constantly trapped or unable to escape a dominant fish. Tank size, plant cover, and sex ratio all help reduce conflict. If you want to keep several males, avoid pairing just two in a small tank — one may relentlessly dominate the other.

Female Swordtail Behavior

Female swordtails are generally peaceful but assertive, especially at feeding time. Larger females can be surprisingly bold in community tanks. Pregnant females may seek cover as they near giving birth, and some become more irritable during this period. One critical behavior to understand: females can store sperm after a single mating and produce several batches of fry even if no male is present in the tank. This is one of the most important facts for anyone trying to manage swordtail populations.

Swordtail Compatibility in Community Tanks

Swordtails are excellent community fish when housed with species that share similar water preferences and can handle their activity level. They are peaceful by general aquarium standards, but they are not timid.

Best Tankmates for Swordtails

Good swordtail companions include platies, mollies, and many peaceful rainbowfish. Corydoras catfish work well if the water is not too warm and the substrate is smooth. Bristlenose plecos are a common and practical match in medium to large tanks. Many peaceful barbs and danios can also be suitable, especially in larger setups. Some tetras work well too, but choose species that tolerate harder water rather than soft-water specialists.

Tankmates to Avoid with Swordtails

Avoid aggressive cichlids, large predatory fish, and dedicated fin nippers. Tiger barbs may harass long-finned swordtails unless kept in a large, well-managed group. Very slow or delicate fish can also be poor companions, since swordtails are fast and eager feeders that may outcompete timid tankmates at mealtime. Long-finned bettas are unpredictable companions — some are stressed by active fish, while others may chase or nip swordtail fins.

Swordtails with Shrimp and Snails

Swordtails are generally fine with larger snails. Dwarf shrimp are more complicated — adults may survive in a densely planted tank, but newborn shrimp will almost certainly be eaten. If raising shrimp is a goal, swordtails are not the best choice for that setup.

Labeled aquarium scene contrasting a large snail, a sheltered adult shrimp, and exposed newborn shrimp near an approaching swordtail.

Feeding Swordtails: Best Foods and Feeding Schedule

Swordtails are omnivores that need both protein and plant-based nutrition. In the wild, related livebearers graze on algae, small invertebrates, and organic particles. In aquariums, they thrive on variety rather than a single food fed day after day.

Best Foods for Swordtails

A high-quality tropical flake or micro pellet makes a practical staple. Look for a formula that includes both aquatic proteins and vegetable ingredients. Balanced tropical flakes are a convenient everyday option that covers most nutritional bases. Swordtails also benefit noticeably from foods with spirulina or other algae-based ingredients — spirulina flakes can help bring out their natural color and support digestive health.

Supplement the staple diet with live or frozen foods like brine shrimp, daphnia, and bloodworms. Freeze-dried brine shrimp is a shelf-stable option that works well as an occasional treat, and freeze-dried bloodworms add a protein boost in moderation. For a ready-to-feed liquid option that requires no preparation, liquid brine shrimp is particularly useful when feeding fry or supplementing smaller fish. If you hatch your own, premium brine shrimp eggs are a cost-effective way to provide live food regularly.

Vegetable-based foods round out the diet nicely. Spirulina and algae sinking wafers are easy to add to the feeding rotation, and algae wafers can also benefit any bottom-feeding tankmates sharing the aquarium. For bottom dwellers in the same tank, sinking shrimp pellets ensure they get their share without competing at the surface.

A well-rounded swordtail diet might look like this:

  • Quality tropical flakes or small pellets as the daily staple
  • Spirulina flakes or algae-based foods for plant matter
  • Frozen or freeze-dried brine shrimp or bloodworms a few times per week
  • Occasional blanched vegetables such as zucchini or spinach

How Often to Feed Swordtails

Adult swordtails should be fed once or twice per day, offering only what they can finish in about one to two minutes. Because swordtails are enthusiastic eaters, they will often appear hungry even after a sufficient meal. Overfeeding causes far more problems than underfeeding in most aquariums — extra food breaks down into waste, raising ammonia in cycling tanks and nitrate in established ones. If the tank has many fry, feed smaller meals more frequently and increase maintenance accordingly to handle the heavier biological load.

If you travel or have an irregular schedule, an automatic fish feeder can help maintain a consistent feeding routine without overfeeding. To keep surface feeding tidy and reduce waste, a floating feeding ring keeps food contained in one spot so fish can find it easily and less drifts into the filter. To keep your fish food fresh between feedings, storing it in an airtight food storage container helps preserve nutritional quality and prevents moisture from degrading it.

Feeding Swordtail Fry

Swordtail fry are born large enough to eat finely powdered food, crushed flakes, and freshly hatched brine shrimp. They grow fastest with several small meals per day. In a community tank, fry will also graze on biofilm and microorganisms among plant leaves and substrate. If you raise fry in a separate tank, keep the water very clean — small fry tanks foul quickly under heavy feeding. Sponge filters work well here because they provide gentle filtration and a colonized surface for microorganisms that fry can pick at throughout the day.

Labeled close-up of swordtail fry among plants with crushed food, small live food, and biofilm on a leaf.

Swordtail Breeding and Livebearer Behavior

Swordtails are prolific breeders. For most aquarists, the challenge is not getting them to breed — it is managing what happens afterward.

How Swordtail Breeding Works

Male swordtails use a modified anal fin called a gonopodium to fertilize females internally. After mating, the female carries developing fry inside her body for a gestation period of roughly 24 to 30 days, though temperature and individual condition can affect the timing. A pregnant female becomes visibly fuller through the abdomen as the fry develop. In lighter-colored varieties, a dark gravid spot near the rear of the belly may be visible. In darker or deeply red fish, it can be harder to see. Near the time of birth, the abdomen may look squared off rather than smoothly rounded.

What to Expect When Swordtails Give Birth

A female swordtail may deliver a few dozen fry per brood, but large, mature females can produce significantly more. The fry are independent immediately after birth and will hide among plants if cover is available. Adult swordtails may eat fry, particularly in open tanks, but enough young often survive in planted aquariums to increase the population quickly. Breeding traps are sold for livebearers but should be used with caution — confined females can become stressed, and water flow inside traps can be poor. A separate planted birthing tank or dedicated grow-out tank is generally a better approach if you want to raise large numbers of fry.

Swordtail Fry Growth and Development

Fry grow quickly with warm, clean water and frequent small feedings. As they mature, males develop the gonopodium first, followed eventually by the sword extension. Some males mature early at a smaller size, while others develop later and grow larger before showing obvious male characteristics. Do not assume every juvenile without a sword is female — sexing young swordtails can be misleading until the anal fin clearly changes shape. In females, the anal fin stays fan-shaped; in males, it gradually becomes narrow and rod-like.

Population Control for Swordtails

Population control is an essential part of swordtail care that many new keepers overlook until it becomes a problem. A healthy female can produce repeated broods throughout her life, and stored sperm means fry may continue appearing long after males have been removed from the tank.

Preventing Unwanted Swordtail Fry

The most reliable approach is keeping a single-sex group. All-male groups can work in larger tanks with enough space and no females present, though males will still display and compete. All-female groups are generally calmer, but females purchased from a mixed store tank may already be pregnant and capable of producing multiple broods. If you keep both sexes, expect fry. You can reduce how many survive by limiting dense plant cover and allowing the community tank to function naturally — adults will consume many fry without targeted intervention. This does not prevent births, but fewer young will reach adulthood.

Managing Extra Swordtails Responsibly

Before intentionally breeding swordtails, decide what you will do with the offspring. Local fish stores may accept healthy juveniles, though policies vary. Aquarium clubs can be a good outlet for well-raised fish, especially in unusual color varieties or strains. Avoid releasing aquarium fish into local waterways under any circumstances — domestic swordtails can harm native ecosystems and are unlikely to survive or behave predictably in outdoor environments. Plan ahead, keep realistic stocking numbers, and separate sexes early if you are raising fry and do not want the population to grow uncontrolled.

Routine Swordtail Care and Maintenance

Swordtails are not demanding fish, but they thrive when the aquarium is maintained on a consistent schedule. Their active nature and frequent breeding can create a higher biological load than expected for their size.

Water Changes for Swordtail Tanks

A weekly water change of around 25 to 40 percent is a good routine, adjusted based on stocking level and your nitrate readings. Heavily stocked livebearer tanks may need larger or more frequent changes. Always match new water temperature reasonably well to avoid sudden stress. Use a gravel vacuum to remove trapped waste, especially in tanks with many fish. Rinse mechanical filter media in removed tank water when flow starts to slow, and never replace all filter media at once — the beneficial bacteria living in it are essential for controlling ammonia and nitrite.

Signs of Healthy Swordtails

Healthy swordtails are alert, active, and eager at feeding time. Their fins are open rather than clamped, and they swim smoothly without rocking or shimmying. Color should be strong for the variety, though intensity naturally varies with age, sex, mood, and lighting conditions. Watch for repeated hiding, labored breathing, or a thin body despite eating — these signs can indicate stress, disease, or a water quality problem. Testing the water is usually the first step when swordtails begin to look unwell.

Healthy swordtail observation guide showing open fins, feeding response, level swimming, and natural color variation.

Common Swordtail Care Mistakes to Avoid

Most swordtail problems stem from underestimating how active and productive these fish are. They are beginner-friendly, but they still require thoughtful planning.

Keeping Swordtails in Tanks That Are Too Small

Small aquariums magnify aggression, accelerate waste buildup, and intensify breeding pressure. A cramped male may relentlessly chase females, and growing juveniles can crowd the tank faster than expected. Choose your aquarium size based on adult fish dimensions rather than how the fish look in the store.

Ignoring Water Hardness

Swordtails often struggle in very soft water over the long term. They may appear fine for a while, but chronic mineral imbalance can gradually contribute to poor condition and increased disease susceptibility. If your tap water is soft, test hardness and consider remineralizing before choosing hard-water livebearers like swordtails.

Letting Populations Grow Unchecked

A handful of swordtails can become dozens within a few months under favorable conditions. This leads to overcrowding and declining water quality that affects the entire tank. Population management should be part of the plan before the first fry ever appear.

Feeding Too Much Rich Food

Swordtails enjoy protein-rich foods, but they also need plant matter in their diet. Relying too heavily on rich foods like bloodworms can contribute to digestive issues and excess waste. A varied diet built around a quality staple with regular vegetable-based supplements is better for long-term health and water quality.

Are Swordtails Good Beginner Fish?

Swordtails can be excellent beginner fish for aquarists who have adequate tank space and suitable water chemistry. They are active, visible, and far less delicate than many ornamental species. They also naturally teach important aquarium skills because they respond clearly to water quality, group dynamics, and feeding habits — making problems easier to recognize and correct early.

They are not the best choice for very small tanks, soft-water setups, or anyone who does not want to manage breeding. If you want a peaceful livebearer for a smaller aquarium, platies may be a more practical fit. If you have a medium-sized tank with naturally hard water and room to let a group develop, swordtails are among the most satisfying freshwater fish you can keep.

Successful swordtail care comes down to a few core principles: give them room to swim, provide clean mineral-rich water, and set up a sensible social structure. Feed a varied omnivorous diet, keep more females than males in mixed groups, and plan for fry before they arrive. With the right approach, swordtails reward their keepers with constant activity, vivid color, and the kind of lively personality that makes a freshwater aquarium genuinely enjoyable to watch.