Swordtail Fish Complete Care Guide: Tank Setup, Water Parameters, and Daily Maintenance
This comprehensive guide covers everything a swordtail owner needs to know, from tank setup and ideal water parameters to feeding, breeding, and daily maintenance. Learn species-specific care tips, common health concerns, and expert strategies to keep Xiphophorus hellerii thriving in a home aquarium.
Swordtail Fish Complete Care Guide: Tank Setup, Water Parameters, and Daily Maintenance
Swordtails (scientific name Xiphophorus hellerii) are one of the most popular freshwater aquarium fish for beginners and experienced hobbyists alike. Recognizable by the male's distinctive elongated lower tail fin or "sword," these lively livebearers are colorful, hardy, and active swimmers. This guide gives species-specific recommendations for tank setup, water parameters, feeding, breeding, health, and daily maintenance to help you keep swordtails healthy and thriving.
Quick facts about Swordtail Fish
- Scientific name: Xiphophorus hellerii
- Common names: Swordtail, Red Sword
- Origin: Central America (rivers and streams in Mexico, Honduras, Guatemala)
- Size: Males typically 3.5–4.5 inches including the sword; females up to 4–6 inches
- Lifespan: 3–5 years with proper care
- Temperament: Generally peaceful but active; males can be persistent with females
- Reproduction: Livebearer (internal fertilization), gestation about 28 days
Tank Setup: creating the ideal home for swordtails
Swordtails are active mid-to-top dwellers that appreciate open swimming space, moderate flow, and plenty of plant cover. Set your tank up with those needs in mind.
Minimum tank size
- Single swordtail or a male/female pair: minimum 15–20 gallon tank.
- Small group (3–6 fish): 20–30 gallon recommended.
- Community aquarium with other species: 30+ gallons to reduce territorial pressure and overstocking.
Filtration, flow, and oxygenation
- Filtration: medium to high-quality canister or hang-on-back filter rated for at least the tank volume. Swordtails tolerate moderate flow but appreciate well-oxygenated water.
- Flow: moderate. Too strong a current stresses them; too little causes low oxygen.
- Aeration: optional but useful—air stones or a sponge filter improve oxygen exchange and suit fry care.
Substrate, decor, and plants
- Substrate: fine gravel or sand. Both work; avoid very sharp gravel that could damage fins.
- Decor: smooth rocks, driftwood, and caves provide interest but keep open areas for swimming.
- Plants: swordtails enjoy planted tanks. Use sturdy species such as Vallisneria, Anubias, Java fern, Ludwigia, and Hornwort. Floating plants like duckweed or Amazon frogbit provide cover and reduce stress.
Lighting and temperature control
- Lighting: moderate light to support live plants and natural behavior. Avoid overly bright direct light that stresses fish.
- Heater: maintain a stable temperature in the recommended range. Use a reliable heater and a thermometer.
Water Parameters: specifics for Xiphophorus hellerii
Swordtails are hardy and adaptable, but maintaining consistent water parameters prevents stress and disease.
- Temperature: 72–79°F (22–26°C). Swordtails tolerate up to about 82°F short-term but cooler temps near 72°F are acceptable. Avoid rapid fluctuations.
- pH: 7.0–8.5. They favor neutral to slightly alkaline water, typical of their native habitats.
- Hardness: 10–30 dGH (moderately hard to very hard). They do well in hard water but will adapt to a range.
- Ammonia and nitrite: 0 ppm. Both are toxic; focus on biological filtration to maintain 0 levels.
- Nitrate: keep below 40 ppm; ideally under 20 ppm for long-term health.
Diet and feeding: balanced nutrition for vibrant swordtails
Swordtails are omnivores with a preference for plant matter and small animal protein.
- Staple diet: high-quality flake or pellet formulated for tropical omnivores.
- Supplemental foods: frozen or live brine shrimp, daphnia, bloodworms, and mosquito larvae provide protein and stimulate natural foraging.
- Vegetable matter: blanched spinach, zucchini, peas, or spirulina-based flakes help maintain color and digestive health.
- Feed small amounts 1–2 times daily. Offer only what they can consume in 2–3 minutes.
- Overfeeding leads to poor water quality, obesity, and increased disease risk. Remove uneaten food promptly.
Breeding swordtails: livebearer basics and fry care
Swordtails breed readily in community tanks if males and females coexist. They are livebearers; females give birth to free-swimming young.
- Gestation: about 28–30 days, can vary with temperature and female condition.
- Fry count: typically 20–80 fry per birth depending on female size and health.
- Sex ratio: keep 2–3 females per male to distribute male attention and reduce female stress.
Adults often eat their young. To protect fry:
- Provide dense plant cover (Java moss, Hornwort) or breeding mops.
- Use a breeding box or separate rearing tank for pregnant females if you want higher survival.
- Remove the mother to a nursery tank before she gives birth if you plan to raise fry.
- Feed newly born fry infusoria or liquid fry foods for the first few days, then progress to newly hatched brine shrimp or finely crushed flake.
- Aquarium swordtails are often hybridized with platies (Xiphophorus maculatus). If maintaining a pure line matters, avoid housing swordtails with platies or other Xiphophorus species.
Common health concerns and species-specific issues
Swordtails are hardy but have some common health issues hobbyists should watch for.
- Fin rot, bacterial infections, and fungal infections often result from high ammonia, nitrite, or nitrate. Prevent by maintaining water quality and performing regular changes.
- Ich and Oodinium (velvet) are common parasitic diseases. Treat promptly with increased temperature (where appropriate) and medication. Always quarantine new fish before adding them to the main tank.
- Overfeeding can cause constipation and swim bladder issues. Fast fish for 24 hours and offer blanched peas if constipation is suspected.
- Female swordtails can become stressed from constant mating. Keep male-to-female ratio balanced and provide hiding places. Some females may carry multiple broods at different development stages (superfetation), leading to frequent births—monitor female condition and reduce male harassment if needed.
- Hybrid swordtails may show variable hardiness and fertility. If breeding for specific traits, keep detailed records and isolate pure strains.
- Loss of appetite, rapid breathing, clamped fins, white spots, red streaks, bloating, lethargy, erratic swimming.
- Early detection improves treatment success—act quickly if you observe changes.
Daily and weekly maintenance checklist
Daily tasks
- Quick visual health check: look for abnormal behavior, discolored fins, or breathing issues.
- Feed appropriate portions and remove uneaten food after a few minutes.
- Top off evaporated water with dechlorinated water to maintain stable chemistry.
- Test water parameters (ammonia, nitrite, nitrate, pH). Record results to spot trends.
- Partial water change: 20–30% weekly for stable, well-stocked tanks. In heavily stocked or planted tanks, adjust frequency and percentage accordingly.
- Vacuum substrate to remove detritus and waste.
- Clean glass/aquarium walls of algae.
- Inspect and clean filter media (rinse sponges in old tank water, replace chemical media like activated carbon as needed). Do not replace all biological media at once to preserve beneficial bacteria.
- Check equipment: heater, thermometer, air pumps, and hoses.
- Prune live plants and remove dead leaves.
- Always quarantine new purchases for 2–4 weeks in a separate tank. Watch for parasites or disease before introducing them to your main display.
Compatible tankmates and community tips
Good tankmates
- Platies, mollies, guppies (beware of hybridization), peaceful tetras (black skirt, lemon), danios, honey gourami, corydoras catfish.
- Large aggressive cichlids, bettas that are territorial, or any species likely to nip fins or stress swordtails.
- Avoid housing swordtails with very small fish that may be eaten or harassed. Provide hiding places to reduce stress in mixed groups.
Expert tips for thriving swordtails
- Keep a 1 male : 2–3 female ratio to reduce male harassment and improve female health.
- Use floating plants or surface cover to give females respite from persistent males.
- If breeding is undesirable, consider keeping only one sex or using all-male or all-female groups.
- Maintain stable, slightly alkaline water with regular partial water changes to avoid stress-related disease.
- Quarantine new fish and treat for parasites proactively if necessary.
- When acclimating new swordtails, drip acclimation helps prevent shock from sudden parameter differences.
Conclusion
Swordtails are rewarding, colorful, and active additions to a freshwater aquarium. With a proper tank setup, stable water parameters, balanced diet, and consistent maintenance, Xiphophorus hellerii will thrive and may even reward you with frequent, fascinating births. Watch for species-specific behaviors—male courtship, female pregnancy, and active swimming—while following the daily and weekly care routines outlined above. With attention to water quality, filtration, and social balance, swordtails can be healthy, long-lived fish that brighten any community tank.
If you are new to swordtails, start with a small group in a 20–30 gallon planted tank, maintain the recommended water ranges, and keep a close eye on behavior during the first weeks. That approach will set you up for success and many years of enjoyable swordtail keeping.
Related Health Conditions
Reviewed by: AllPets Veterinary Advisory Board on July 4, 2026