Compatibility Overview
Rainbow Shark and Yellow Tang are generally not recommended to be housed together. The issues listed above — whether water parameter incompatibility, predation risk, or aggression — create conditions where one or both fish are likely to suffer harm or chronic stress.
| Factor | Rainbow Shark | Yellow Tang | Verdict |
|---|---|---|---|
| Temperature | 72–79°F | 73–81°F | ✅ 73–79°F |
| pH Range | 6.5–7.5 | 8.0–8.5 | ❌ No overlap |
| Temperament | semi | semi | ⚠️ Monitor |
| Adult Size | 6 in | 2.4 in | ⚠️ 2.5× difference |
| Min. Group | 1+ | 1+ | See below |
| Min. Tank Size | 55 gallons (for both species) | — | |
✅ Compatibility Positives
❌ Incompatibility Reasons
Species Profiles
Rainbow Shark — Epalzeorhynchos frenatum
Active bottom dweller that becomes territorial at maturity. One per tank; avoid other shark-like or bottom-dwelling species.
→ Full Rainbow Shark care guide
Yellow Tang — Aquarium species
The Yellow Tang is a popular and vibrant fish suitable for beginners. With its bright yellow color and blue stripes, it adds a striking contrast to the aquarium. They are generally peaceful and can be kept in a community tank, though they may be nippy with certain tankmates. They require a well-maintained tank with plenty of swimming space and a varied diet.
Frequently Asked Questions
Can Rainbow Shark live with Yellow Tang?
Generally not recommended. Rainbow Shark and Yellow Tang are generally not recommended to be housed together. The issues listed above — whether water parameter incompatibility, predation risk, or aggression — create conditions where one or both fish are likely to suffer harm or chronic stress.
What tank size do I need for Rainbow Shark and Yellow Tang together?
A minimum of 55 gallons is recommended for keeping Rainbow Shark and Yellow Tang together. A larger tank improves water stability and reduces territorial conflict.
What temperature suits both Rainbow Shark and Yellow Tang?
73–79°F
Is a Rainbow Shark aggressive toward a Yellow Tang?
Rainbow Shark is semi and Yellow Tang is semi. These animals require different water types and cannot share one aquarium.
Related Compatibility Guides
Compatibility score breakdown
The overall score is weighted across water chemistry, behavior, adult size, swimming zone, and social needs. A score is a planning aid—not a guarantee for individual fish.
| Factor | Score |
|---|---|
| Temperature | 86/100 |
| Ph | 0/100 |
| Temperament | 62/100 |
| Adult Size | 72/100 |
| Swim Zone | 68/100 |
| Social Needs | 92/100 |
Tank size scenarios
Use the scenario that matches the actual group sizes and temperament you plan to keep.
| Scenario | Tank | When it applies |
|---|---|---|
| Minimum viable | 55 gal | Only for the recommended minimum groups, mature filtration, and close monitoring. |
| Recommended community | 75 gal | Adds territory, swimming room, and a safer buffer for behavior. |
| Low-conflict setup | 100 gal | Best when keeping larger schools or reducing territorial pressure. |