๐Ÿ  Fish Compatibility Guide

Can Rainbow Shark and Swordtail Live Together?

Updated September 23, 2026 ยท FishCare AI Editorial Team

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

Rainbow Shark and Swordtail Compatibility Overview

Rainbow Shark and Swordtail can generally share an aquarium with appropriate planning. Both species prefer overlapping temperature and pH ranges. Rainbow Shark is semi and Swordtail is peaceful, so give them room and cover rather than assuming they will ignore each other. A minimum 75-gallon tank is recommended to provide adequate territory and water volume for both species.

Compatibility factors for Rainbow Shark and Swordtail
FactorRainbow SharkSwordtailVerdict
Temperature72โ€“79ยฐF65โ€“80ยฐFโœ… 72โ€“79ยฐF
pH Range6.5โ€“7.57.0โ€“8.3โš ๏ธ 7.0โ€“7.5 (narrow)
Temperamentsemipeacefulโš ๏ธ Monitor
Adult Size6 in5 inโœ… Similar
Min. Group1+3+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

Rainbow Shark โ€” Epalzeorhynchos frenatum

Rainbow Shark and Swordtail compatibility โ€” Rainbow Shark

Active bottom dweller that becomes territorial at maturity. One per tank; avoid other shark-like or bottom-dwelling species.

โ†’ Full Rainbow Shark care guide

Swordtail โ€” Xiphophorus hellerii

Rainbow Shark and Swordtail 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

Frequently Asked Questions

Can Rainbow Shark live with Swordtail?

Yes, in a well-planned setup. Rainbow Shark and Swordtail can generally share an aquarium with appropriate planning. Both species prefer overlapping temperature and pH ranges. Rainbow Shark is semi and Swordtail is peaceful, so give them room and cover rather than assuming they will ignore each 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 Rainbow Shark and Swordtail together?

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

What temperature suits both Rainbow Shark and Swordtail?

72โ€“79ยฐF โ€” inside Rainbow Shark's 72โ€“79ยฐF and Swordtail's 65โ€“80ยฐF.

Is a Rainbow Shark aggressive toward a Swordtail?

Rainbow Shark is semi and Swordtail is peaceful. No major aggression issues are expected between these species.

Related Compatibility Guides

Tank Size for Rainbow Shark and Swordtail

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.