๐Ÿ  Fish Compatibility Guide

Can Swordtail and X Ray Tetra Live Together?

Updated September 23, 2026 ยท FishCare AI Editorial Team

โœ… Compatible โ€” Compatibility Score: 77/100
77/100 โ€” Compatible

Swordtail and X Ray Tetra Compatibility Overview

Swordtail and X Ray Tetra can generally share an aquarium with appropriate planning. Both species prefer overlapping temperature and pH ranges. Both species are peaceful, and neither poses a major aggression risk to the other. A minimum 75-gallon tank is recommended to provide adequate territory and water volume for both species.

Compatibility factors for Swordtail and X Ray Tetra
FactorSwordtailX Ray TetraVerdict
Temperature65โ€“80ยฐF72โ€“82ยฐFโœ… 72โ€“80ยฐF
pH Range7.0โ€“8.36.0โ€“7.5โš ๏ธ 7.0โ€“7.5 (narrow)
Temperamentpeacefulpeacefulโœ… Compatible
Adult Size5 in1.8 inโš ๏ธ 2.8ร— difference
Min. Group3+6+See below
Min. Tank Size75 gallons (for both species)โ€”

Compatibility Positives

A stable shared temperature range is available.
Temperament risk is relatively low when normal group sizes are maintained.

Caution Points

Their pH ranges overlap only partly, so aim for the shared band and keep it steady.

Species Profiles

Swordtail โ€” Xiphophorus hellerii

Swordtail and X Ray Tetra compatibility โ€” Swordtail

Hardy livebearer with a distinctive elongated lower tail fin in males. Peaceful community fish that tolerate a wide temperature range.

โ†’ Full Swordtail care guide

X Ray Tetra โ€” Pristella maxillaris

Swordtail and X Ray Tetra compatibility โ€” X Ray Tetra

The Pristella maxillaris, also known as the X-Ray Tetra, is a popular freshwater fish known for its unique appearance and peaceful nature. They are slender and iridescent, with a clear, almost x-ray-like body. They are best kept in groups of 6 or more and thrive in well-planted tanks with a moderate water flow.

โ†’ Full X Ray Tetra care guide

Frequently Asked Questions

Can Swordtail live with X Ray Tetra?

Yes, in a well-planned setup. Swordtail and X Ray Tetra can generally share an aquarium with appropriate planning. Both species prefer overlapping temperature and pH ranges. Both species are peaceful, and neither poses a major aggression risk to the other. A minimum 75-gallon tank is recommended to provide adequate territory and water volume for both species.

What tank size do I need for Swordtail and X Ray Tetra together?

A minimum of 75 gallons is recommended for keeping Swordtail and X Ray Tetra together. A larger tank improves water stability and reduces territorial conflict.

What temperature suits both Swordtail and X Ray Tetra?

72โ€“80ยฐF โ€” inside Swordtail's 65โ€“80ยฐF and X Ray Tetra's 72โ€“82ยฐF.

Is a Swordtail aggressive toward a X Ray Tetra?

Swordtail is peaceful and X Ray Tetra is peaceful. No major aggression issues are expected between these species.

Related Compatibility Guides

Tank Size for Swordtail and X Ray Tetra

Use the scenario that matches the actual group sizes and temperament you plan to keep.

ScenarioTankWhen it applies
Minimum viable75 galOnly for the recommended minimum groups, mature filtration, and close monitoring.
Recommended community125 galAdds territory, swimming room, and a safer buffer for behavior.
Low-conflict setup150 galBest when keeping larger schools or reducing territorial pressure.