
Green Swordtail
Xiphophorus hellerii

The Green Swordtail exhibits vibrant green to yellow-green body coloration with distinctive elongated, sword-like extensions on the male's tail fin.
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
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
18-28°C
7-8.5
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 sizeCare 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.

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.

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.

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.

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.

Banded Leporinus
Leporinus fasciatus
Banded Leporinus are those torpedo-shaped, black-and-yellow striped fish that look like they're wearing a little prison outfit-and they stay on the move. They've got a ton of personality and they're awesome to watch cruising and picking at stuff, but they're also the kind of fish that will redecorate your tank and "taste test" anything soft-looking.

Bandi cichlid
Wallaceochromis signatus
Wallaceochromis signatus is a West African (Guinea, Kolente basin/Bandi River) dwarf cichlid that has appeared in the hobby under trade names such as “Bandi I/Bandi 1” and “Guinea” prior to/alongside its formal description. It is a cave-associated dwarf cichlid; provide cover and caves and expect heightened territoriality during breeding.
More to Explore
Discover more freshwater species.

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.

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.

Anteridorsal Homatula loach
Homatula anteridorsalis
This is a benthic Chinese stream loach from Yunnan that lives right down on the bottom in clear, flowing water over gravel and rocks. Think of it as a "river tank" fish - it wants current, oxygen, and lots of surfaces to poke around on for bits of food and algae.

Armoured stickleback
Indostomus paradoxus
This is that goofy little "freshwater seahorse"-looking fish that just kind of perches and scoots around like a tiny armored twig. Its whole vibe is slow, sneaky micropredator - once its settled in, you will catch it stalking microfoods and doing these subtle little posture displays. The big trick is feeding: they do best when you can provide lots of small live foods in a calm, planted tank.

Arnegard's electric fish
Petrocephalus arnegardi
This is a little Congo River elephantfish (a weakly electric mormyrid) that cruises the lower parts of the tank and navigates the world with its electric sense. It stays small (around 9 cm) and has a clean silvery look with three dark marks that make it pretty easy to pick out among Petrocephalus.

Aroa twig catfish
Farlowella martini
Farlowella martini is one of those unreal-looking stick catfish that just vanishes the moment it parks itself on a branch. It is a super calm, slow-moving grazer that does best in a mature tank with lots of biofilm, gentle flow, and clean, oxygen-rich water - they are not great at competing at feeding time, so you kind of have to look out for them.
Looking for other species?
