
Green Swordtail
Xiphophorus hellerii
Also known as: Swordtail, Swordie
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.

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?
Quick Facts
Size
16 cm (female) / 14 cm (male) TL
Temperament
Peaceful
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
10-30 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 the water warm but not tropical-hot: 72-78°F is a nice range, and good surface agitation helps because they're active oxygen hogs.
- 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).
- Chill, medium-sized tetras like black skirt, lemon, or rummynose - they can handle the swordtail "zoomies" without getting stressed.
- 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 peaceful species you might be interested in.

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.

Bishop toothcarp
Brachyrhaphis episcopi
This is a tiny Panamanian livebearer that does best when you treat it more like a shy wild fish than a fancy guppy-lots of cover, calm vibes, and really clean water. The fun part is watching the males posture and spar while the females cruise around dropping fully-formed fry about once a month.

Black Neon Tetra
Hyphessobrycon herbertaxelrodi
Black neons are one of those little tetras that look kinda understated until the light hits them-then that bright stripe pops and they shimmer when the school turns together. They're super chill, always cruising mid-water, and they make a tank feel "alive" without being hectic. If you keep a nice group, they get bolder and you'll see way more of their personality.

Black Skirt Tetra (Black Widow Tetra)
Gymnocorymbus ternetzi
Black skirts are those little "suit-and-tie" tetras with the dark bands and flowing fins that look way fancier than they should for how tough they are. They're super active midwater fish, and when you keep a proper group they do that tight, zippy schooling thing that makes the whole tank feel alive. Just give them enough buddies and finny tankmates they won't be tempted to nip.

Black morpho tetra
Poecilocharax weitzmani
Poecilocharax weitzmani is one of those tiny blackwater oddballs that acts more like a little darter than a typical tetra - it hangs low, darts between cover, and the males can get pretty showy with fin-flares. The really cool part is they are cave breeders with male brood care, which is not what most people expect from a small characin. Give them very soft, acidic, super-clean water and lots of leaf litter and hidey holes, and they settle in and start showing their best colors.

Blue discus
Symphysodon aequifasciatus
This is one of the classic wild discus from the Amazon-big, round, and super "cichlid-smart," but way more chill than most cichlids. The coolest part to me is the parenting: the fry actually feed off a mucus layer from the parents' skin for a while, which is just wild to see if you ever breed them.
More to Explore
Discover more freshwater species.

Arrowhead puffer
Pao suvattii
Pao suvattii is that sneaky Mekong puffer that likes to sit low and ambush food, and it has that super recognizable arrow/V pattern on its back. Gorgeous fish with tons of personality, but it is absolutely not a community guy - plan on a solo, species-only setup if you want everybody to stay in one piece.

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.

Betta
Betta splendens
Betta fish, also known as Siamese fighting fish, are popular for their striking colors and flowing fins. They are known for their territorial nature, especially males, which can display aggressive behavior towards each other.

Blue gularis
Fundulopanchax sjostedti
This is the big, flashy West African killifish with the ridiculous triple-point tail and electric blue-green body covered in red spotting. Males can be real attitude machines with each other, but if you give them room, cover, and a tight lid, they make an awesome centerpiece fish that will absolutely demolish live and frozen foods.

Boeseman's rainbowfish
Melanotaenia boesemani
Boesemani rainbows are basically little swimming fireworks once they settle in-males get that wild split-color look (blue up front, orange in back) and they'll flash and posture at each other all day. They're super active and way happier in a real group with a long tank to cruise, not a cramped setup where they can't stretch out.

Boulenger's lamprologine (shell-dwelling Tanganyika cichlid)
Lepidiolamprologus boulengeri
This is one of those really fun Lake Tanganyika shell-and-sand lamprologines that lives as a pair, digs a little pit, and then the female hangs out in snail shells like its a tiny fortress. Give them fine sand and a pile of shells and you will get to watch legit, purposeful cichlid home-building and territory behavior in a small-bodied fish.
Looking for other species?
