What swordtail fish tank size do you need?
Swordtails (Xiphophorus hellerii) are active, fast-swimming livebearers that reach 4β6 inches (10β15 cm) including the distinctive caudal sword of the male, so swordtail fish tank size is mostly a question of swimming length. Plan for a minimum of 20 gallons for a starter group of 5, with a 30-gallon long tank as the comfortable size for a small mixed-sex group. Always choose a long, low tank over a tall one: swordtails swim in the upper and middle water column and use horizontal space far more than depth.
The rule behind this swordtail tank size calculator is simple: 20 gallons covers the first 5 fish, and every extra adult adds about 5 gallons. That works out to roughly 4β5 gallons per swordtail, which is more than a guppy or platy needs because swordtails are larger, faster and messier. If you are unsure of your aquarium's true volume, the aquarium volume calculator converts tank dimensions to gallons and litres.
Keep swordtails in a group ratio of 1 male to 2β3 females. Male swordtails persistently chase females; having more females per male distributes the mating pressure and prevents a single female from being constantly harassed. Groups of all males are usually peaceful, though a dominant male may still bully in a cramped tank β another reason to size generously.
Swordtails are livebearers that reproduce readily in any mixed-sex tank, producing a batch of fry roughly every four weeks. If you are not set up to manage fry, keep an all-male group or only females. A 30-gallon long tank with 5β6 swordtails is an active, colourful display that is easy to maintain, and the extra volume gives you headroom while the fry grow out.
Unlike some livebearers, swordtails are not brackish-water fish. They prefer slightly alkaline freshwater (pH 7.0β8.3), moderate hardness and temperature stability over warm temperatures. A simple community tank setup suits them well.
How many swordtails in a 20 gallon tank, 30 gallon tank or larger?
The table applies the same rule the swordtail tank size calculator uses β 20 gallons for the first 5 fish, then 5 gallons per adult β assuming a cycled tank, weekly water changes and no other fish. Swordtails are heavy feeders and produce more waste than guppies, so treat the upper number as a ceiling that needs strong filtration, not a target.
| Tank size | Swordtails (comfortableβmax) | Notes |
|---|---|---|
| 10 gal (38 L) | Not recommended | Too short for fish that reach 4β6 inches; males fight and females get chased into corners. |
| 20 gal long (76 L) | 5β6 | Minimum swordtail fish tank size. Pick the 30-inch "long" footprint, not the tall 20-gallon high. |
| 29β30 gal (110 L) | 6β7 | Recommended starter size; comfortable for 1 male, 3β4 females and some fry cover. |
| 40 gal breeder (151 L) | 9β10 | Roomy for two males with their own females, or a swordtail-plus-platy livebearer community. |
| 55 gal (208 L) | 12β14 | The 4-foot length suits their fast, open-water swimming; good for a colony that breeds. |
| 75 gal (284 L) | 16β18 | Large colony or a full community where swordtails are one of several species. |
Tank length matters more than gallons. A 20-gallon long (30 Γ 12 Γ 12 in) is a far better swordtail tank than a 20-gallon high (24 Γ 12 Γ 16 in) with the same volume, because the fish cover the whole length in a couple of tail beats. When two tanks hold the same water, choose the longer footprint.
Sharing the tank with other fish? Size the tank for the largest or messiest species first, then use what is left for swordtails. Because they like slightly alkaline water and open swimming room, pair them with fish that share it β platies, mollies and larger tetras are the easy choices; skip long-finned tank mates that a boisterous male might nip. Check any pairing in the swordtail tank mates hub or the fish compatibility checker. For the species' natural range and biology, see the green swordtail entry on Wikipedia.