Piscora
Aquatic water texture background

Green Swordtail

Xiphophorus hellerii

AI-generated illustration of Green Swordtail
AI Generated
Photo All Rights Reserved

The Green Swordtail exhibits vibrant green to yellow-green body coloration with distinctive elongated, sword-like extensions on the male's tail fin.

Freshwater

This page includes AI-generated images. Why am I seeing AI images?

About the Green Swordtail

Swordtails are busy, always-on-the-move livebearers, and the males' "sword" tail extension is the whole show-lots of displaying and posturing in the open water. They're tough as nails in hard, slightly alkaline water, but in tight tanks the males will absolutely bicker and chase each other around.

Also known as

SwordtailSwordie

Quick Facts

Size

14 cm (male) / 16 cm (female)

Temperament

Semi-aggressive

Difficulty

Beginner

Min Tank Size

20 gallons

Lifespan

3-5 years

Origin

Central America

Diet

Omnivore - quality flakes/pellets plus veg matter (spirulina/greens) and frozen/live foods (insects/crustaceans/worms)

Water Parameters

Temperature

18-28°C

pH

7-8.5

Hardness

10-25 dGH

Need a heater for this species?

This species needs 18-28°C in a 20 gallon tank. Use our heater calculator to find the right wattage.

Calculate heater size

Care Notes

  • Give them swimming room-20 gallons is a solid starting point for a small group, and they love a long tank more than a tall one.
  • They're happiest in harder, slightly alkaline water (aim around pH 7.0-8.2 and decent GH/KH), and they sulk if the tank swings a lot from week to week.
  • Keep them in well-oxygenated water with good filtration and surface agitation. Typical care ranges are about 72-82°F (22-28°C); many keepers find the mid-range works best long-term.
  • Feed a mix: a quality flake/pellet as the staple, plus veggie stuff (spirulina, blanched zucchini/peas) a few times a week-this cuts down on random nipping and "stringy poop" issues.
  • They're generally chill with other peaceful community fish, but avoid fin-nippers (some barbs) and don't pair them with slow, fancy-finned fish that'll get annoyed by swordtail energy.
  • Males can be pushy with each other and with females-keep 1 male to 2-3 females, and add plants/wood so females can duck out of sight.
  • They breed like crazy: females can store sperm and drop fry every month, so if you don't want babies, don't keep mixed sexes (or expect a tank full of surprise teenagers).
  • Watch for clamped fins and shimmying if your water is too soft/acidic, and keep an eye on new fish for white spots (ich) since livebearers often bring it in from stores.

Compatibility

Good Tankmates

  • Other livebearers that aren't jerks - platies and mollies usually mix great with swordtails (similar energy, same general water needs).
  • Robust, similarly sized community fish that tolerate hard, alkaline water (choose tetras carefully—many prefer softer, more acidic water).
  • Peaceful bottom crews like corydoras - swordtails mostly stick to mid/top, so they don't bug each other much.
  • Bristlenose pleco (or other calm small plecos) - good algae help and they keep to themselves; swordtails barely notice them.
  • Hardy, non-nippy danios (zebra/giant danios) - active enough to match the pace and not get pushed around.
  • Honey gourami (usually) - as long as the tank isn't cramped and the gourami isn't getting pestered by a too-hyper male swordtail.

Avoid

  • Anything that's a fin-nipper, especially tiger barbs - swordtails are constantly moving and the fins become a target in real life.
  • Aggressive cichlids (convicts, mbuna, etc.) - swordtails aren't built for that kind of bullying and it turns into nonstop chasing.
  • Slow, fancy-finned fish like bettas and long-fin guppies - swordtails aren't "mean," but the constant pestering/chasing stresses them and fins get shredded.

Where they come from (and why they act the way they do)

Green swordtails (Xiphophorus hellerii) come from Central America—think Mexico down into Honduras—where they live in rivers, streams, and weedy edges of faster water. That “river fish” background shows up in the aquarium: they love swimming room, appreciate clean water, and they’re always out and about.

Most “green swordtails” in shops are selectively bred lines. The care is the same, but colors and fin size can affect how pushy males get with each other.

Setting up their tank

If you want swordtails to look good and stop bickering as much, give them space. They’re active, mid-water swimmers, and a cramped tank turns them into little gremlins.

  • Tank size: 20 gallons long for a small group is a comfortable starting point. Bigger is always easier with swordtails.
  • Temp: ~72–78°F (22–26°C). They don’t need super warm water.
  • pH/Hardness: they handle a range, but they’re happiest in neutral to slightly alkaline, moderately hard water.
  • Filtration: steady filtration and regular water changes go a long way—these are hearty fish, but they’re not fans of dirty water.
  • Flow: moderate flow is fine. They’ll play in it if you give them a current.
  • Layout: open swimming space in the middle, plants around the edges (real or fake), and a few visual breaks like driftwood or rock piles.

Use floating plants or tall stem plants to break up lines of sight. It sounds simple, but it really cuts down on chasing, especially between males.

A lid helps. Swordtails aren’t the worst jumpers, but an excited chase can end with one on the floor. I learned that one the annoying way.

What to feed them

Swordtails will eat basically anything you’ll put in the tank, but they look best (and the females hold up better through pregnancy) when you mix in some veggie-heavy foods.

  • Daily staple: a good flake or small pellet (I like one with some spirulina or plant matter in it).
  • 2–4x per week: frozen or live foods like brine shrimp, daphnia, or bloodworms (treat, not the whole diet).
  • Veggie boosts: blanched zucchini/spinach, or an algae wafer now and then.
  • Feeding rhythm: small portions 1–2 times a day—enough that it’s gone in a couple minutes.

Overfeeding swordtails is a fast track to cloudy water and bloated fish. If you see stringy poop or they’re looking “puffed up,” cut back and offer something lighter like daphnia.

Behavior and tankmates

They’re busy, social fish with a mild “pecking order” vibe. Males will posture and chase, and one male in a small tank can harass everyone. In a roomy tank with the right ratios, they settle down and just look great cruising around.

  • Best group setup: 1 male with 2–3+ females, or a bigger group with lots of space and cover.
  • Good tankmates: other peaceful community fish that like similar water—platies, mollies, larger tetras, rasboras, danios, Corydoras, bristlenose plecos.
  • Use caution with: fancy guppies (fin nipping can happen), slow long-finned fish (they may get picked at), and very timid species that hate activity.
  • Avoid: aggressive cichlids and anything that sees a swordtail as a snack.

If you want multiple males, go bigger on tank size and add extra hiding/line-of-sight breaks. Two males in a tight tank often turns into nonstop sparring.

Breeding tips (because they probably will)

Swordtails are livebearers, so yes—if you have males and females together, you’ll get babies. Females can also store sperm, so a “female-only” tank can still surprise you for a while after you remove the male.

  • How to tell sexes: males have a gonopodium (modified anal fin) and often a longer “sword.” Females are rounder with a fan-shaped anal fin.
  • Gestation: roughly 4–6 weeks depending on temperature and the female’s condition.
  • Fry survival: in a community tank, many fry get eaten (which keeps numbers manageable). If you want to raise them, give dense plants like guppy grass, hornwort, or floating cover.
  • Fry food: crushed flake, baby brine shrimp, and powdered fry foods work well.

Breeder boxes can stress a pregnant female if she’s stuck in there too long. I’ve had better luck letting her drop in a planted tank, or moving her to a separate small tank only when she’s clearly close.

Common problems to watch for

They’re beginner-friendly, but swordtails still throw you a few classic livebearer headaches. Most issues I’ve seen come down to stress from crowding, sloppy water, or a diet that’s all protein and no greens.

  • Male harassment: females hiding, torn fins, constant chasing—fix with more space, more females per male, and more cover.
  • Ich/white spot after a new fish: quarantine new arrivals if you can, and don’t trust “it looked fine at the store.”
  • Fin nipping: usually tankmate-related or too many males; watch for ragged tails and split fins.
  • Bloat/constipation: common with heavy feeding and dry-only diets—add veggie foods and offer daphnia.
  • Shimmying or hanging at the surface: can be water quality, oxygen, or stress—check ammonia/nitrite, bump aeration, do a water change.

Swordtails tell on your maintenance schedule. If they get dull, clamp fins, or start acting skittish, I do a big-ish water change and check parameters before I reach for meds.

Similar Species

Other freshwater semi-aggressive species you might be interested in.

AI-generated illustration of Altipedunculata stone loach
Freshwater
AI Generated
Photo

Altipedunculata stone loach

Schistura altipedunculata

Schistura altipedunculata is one of those little stream loaches that wants clean, well-oxygenated water and a bunch of rock nooks to claim as home. It is a bottom-hugger that will spend its day scooting from crevice to crevice, and it tends to get a bit spicy with its own kind if you do not give it enough hiding spots.

Small Semi-aggressive Advanced
Min. 20 gal
AI-generated illustration of American flagfish
Freshwater
AI Generated
Photo

American flagfish

Jordanella floridae

Jordanella floridae is that little Florida native with the red-and-cream striping that really does look like a tiny flag once a male colors up. They graze algae like champs (especially stringy/hair algae), but they have a bit of attitude - give them plants and space so the bossy behavior stays manageable. Bonus: the male guards the eggs and will actively fan them, which is pretty fun to watch.

Small Semi-aggressive Intermediate
Min. 20 gal
AI-generated illustration of Amur sculpin
Freshwater
AI Generated
Photo

Amur sculpin

Alpinocottus szanaga

This is a little coldwater sculpin from the Amur drainage - a bottom-hugging, rock-and-gravel fish that spends its day wedged under stones and darting out to grab food. Super cool behavior and attitude, but it is absolutely not a warm tropical community fish - it wants chilly, fast, oxygen-rich water and will bicker with other bottom fish.

Small Semi-aggressive Advanced
Min. 20 gal
AI-generated illustration of Anitápolis livebearer
Freshwater
AI Generated
Photo

Anitápolis livebearer

Jenynsia weitzmani

Jenynsia weitzmani is a freshwater anablepid livebearer endemic to southern Brazil (currently known only from the type locality near Anitápolis, Santa Catarina). Like other Jenynsia (onesided livebearers), reproduction involves lateralized mating morphology/behavior; aquarium care guidance is not well-documented for this species specifically.

Small Semi-aggressive Advanced
Min. 20 gal
AI-generated illustration of Aracu-comum
Freshwater
AI Generated
Photo

Aracu-comum

Schizodon vittatus

Schizodon vittatus is a large South American anostomid (family Anostomidae). Reported maximum size is about 35 cm standard length; it is harvested/consumed in parts of Brazil and is not commonly covered by mainstream aquarium husbandry references.

Large Semi-aggressive Advanced
Min. 180 gal
AI-generated illustration of Bakongo cichlid
Freshwater
AI Generated
Photo

Bakongo cichlid

Thoracochromis bakongo

Thoracochromis bakongo is a small riverine haplochromine cichlid from the lower Congo/Kasai systems in DR Congo, reaching about 10.8 cm TL (~4.3 in). Aquarium breeding behavior for this specific species is not consistently documented in major references, so avoid stating confirmed maternal mouthbrooding unless you can cite a species-level source.

Small Semi-aggressive Intermediate
Min. 40 gal

More to Explore

Discover more freshwater species.

AI-generated illustration of Aboina barb
Freshwater
AI Generated
Photo

Aboina barb

Enteromius aboinensis

Enteromius aboinensis (the Aboina barb) is a small West African barb with a clean black midline stripe and a little spot right at the base of the tail. It does best when you treat it like a proper schooling fish - keep a decent group and give it plants around the edges with open swimming room in the middle.

Small Peaceful Intermediate
Min. 20 gal
AI-generated illustration of Ajuricaba tetra
Freshwater
AI Generated
Photo

Ajuricaba tetra

Jupiaba ajuricaba

Jupiaba ajuricaba is a South American freshwater characin from the Amazon basin in Brazil (rio Negro, rio Solimões, and rio Tapajós basins). It reaches about 9.5 cm SL and is diagnosed by a narrow dark midlateral stripe, an elongated humeral spot, and an ocellated spot on the upper caudal-fin lobe. Wild specimens have been collected from blackwater forest streams and also oxbow-lake habitats.

Small Peaceful Intermediate
Min. 20 gal
AI-generated illustration of Allen's river garfish
Freshwater
AI Generated
Photo

Allen's river garfish

Zenarchopterus alleni

A poorly known freshwater halfbeak endemic to West Papua (Mamberamo River), described from a single specimen (~13 cm SL). Beyond basic habitat/occurrence, little is published about its ecology or aquarium suitability; assume it is a surface-oriented, jump-prone halfbeak only by analogy with related taxa.

Medium Peaceful Expert
Min. 20 gal
AI-generated illustration of Amapa tetra
Freshwater
AI Generated
Photo

Amapa tetra

Hyphessobrycon amapaensis

This is a tiny, super sleek little tetra with a clean red stripe down the side that really pops once its settled in. It does best in a planted, slightly tinted "creek-style" setup and looks way cooler when you keep a proper group so they school and flash that line together. If you can give it soft, slightly acidic water and a calm community, its an easy fish to fall for.

Nano Peaceful Intermediate
Min. 20 gal
AI-generated illustration of Amatlan chub
Freshwater
AI Generated
Photo

Amatlan chub

Yuriria amatlana

Yuriria amatlana (the Amatlan chub) is a little Mexican native minnow from the Ameca River basin. Its wild range is pretty limited and it is listed as Endangered, so its care info in the aquarium hobby is basically nonexistent and its availability is usually low. In the original species description, preserved fish show a dark lateral stripe with a darker patch on the caudal peduncle, and they can have tiny barbels at the mouth corners.

Small Peaceful Advanced
Min. 20 gal
AI-generated illustration of Andrica moenkhausia
Freshwater
AI Generated
Photo

Andrica moenkhausia

Moenkhausia andrica

Moenkhausia andrica is a little Brazilian characin from the Tapajos system that tops out around 7 cm (about 2.8 inches) standard length. It has a neat netted (reticulated) scale pattern plus a dark spot on the caudal peduncle, and the really wild part is that mature females can have tiny fin hooklets too, which is usually a male-only thing in a lot of characins.

Small Peaceful Intermediate
Min. 20 gal

Looking for other species?