Can Rainbow Shark and Sunset Platy (Variatus Platy) Live Together?

Reviewed by Guidarium Editorial DeskUpdated May 11, 2026
Possible with Caution

Keeping Rainbow Shark and Sunset Platy (Variatus Platy) together is possible but requires caution due to differing aggression levels. Provide a spacious tank of at least 200 litres with plenty of hiding spots to reduce stress. Monitor behaviour closely, especially during the first few weeks.


At a Glance

Rainbow Shark

Epalzeorhynchos frenatum

Sunset Platy (Variatus Platy)

Xiphophorus variatus

🐠Family Group
Rainbow Shark
Cyprinids
Sunset Platy (Variatus Platy)
Livebearers
Temperament
Rainbow Shark
Aggressive (7/10)
Sunset Platy (Variatus Platy)
Peaceful (2/10)
Temperature
✓ Compatible
Rainbow Shark
22–28°C
Sunset Platy (Variatus Platy)
15–25°C
pH Range
✓ Compatible
Rainbow Shark
6.5–7.5
Sunset Platy (Variatus Platy)
7–8.2
Hardness (dGH)
✓ Compatible
Rainbow Shark
5–15
Sunset Platy (Variatus Platy)
10–25
Water Type
✓ Compatible
Rainbow Shark
Freshwater Only
Sunset Platy (Variatus Platy)
Freshwater Only
Flow Preference
✓ Compatible
Rainbow Shark
Moderate
Sunset Platy (Variatus Platy)
Moderate
Min Tank Volume
Combined: 200 L
Rainbow Shark
200 L
Sunset Platy (Variatus Platy)
55 L
Swimming Level
✓ Different zones
Rainbow Shark
Bottom
Sunset Platy (Variatus Platy)
TopMiddle
🏷️Behavior Tags
Rainbow Shark
Territorial (Defends specific area)Aggressive to same species/look-alikesHyperactive / Fast SwimmerJumper (Lid Required)
Sunset Platy (Variatus Platy)
Hyperactive / Fast SwimmerFry Predator
Stocking calculator

Can your tank handle Rainbow Shark and Sunset Platy (Variatus Platy)?

Compatibility is only part of the answer. Test both fish with your real tank size, current stock, and maintenance needs to see if you have enough space and a safe stocking level before you add them.

Rainbow Shark
Sunset Platy (Variatus Platy)
Test both in my tank

Behaviour & Temperament

Rainbow Shark is a semi-aggressive species (7/10), while Sunset Platy (Variatus Platy) is peaceful (2/10). This notable difference means Rainbow Shark may occasionally assert dominance over Sunset Platy (Variatus Platy).

In terms of spatial distribution, Rainbow Shark prefers the Bottom (Substrate) zone, whereas Sunset Platy (Variatus Platy) occupies the Top (Surface) and Middle (Open Water) zones. Because they use different levels of the water column, territorial disputes are less likely and the tank will appear more balanced.

Worth noting: Rainbow Shark is a known jumper, so a tight-fitting lid is essential.

To improve the chances of a peaceful coexistence in this community tank: Provide a significantly larger tank (at least 50% more volume than the minimum) to allow both Rainbow Shark and Sunset Platy (Variatus Platy) to establish separate territories. Add plenty of line-of-sight breaks using driftwood, rocks, and dense planting to reduce territorial confrontations. A larger aquarium with ample hiding spots can help diffuse aggression and give the less dominant fish space to retreat.

Water Parameters

The safe temperature window for both species falls between 22°C and 25°C. Aim for the midpoint of this range (around 23.5°C) for optimal comfort.

Both fish can tolerate a pH between 7 and 7.5. Maintaining a stable value within this band is more important than hitting an exact number.

For general hardness, the shared comfort zone is 10–15 dGH. Regular testing will ensure conditions stay within this range.

Tank Setup

To house Rainbow Shark and Sunset Platy (Variatus Platy) together, plan for an aquarium of at least 200 litres with a minimum length of 120 cm. This recommendation combines the stricter species minimums with a community-load allowance so the pairing has realistic long-term space and filtration headroom.

Because this pairing requires extra vigilance, include plenty of hiding spots — caves, driftwood, and dense plant clusters — so the less dominant fish can retreat when needed.

Specific environmental needs for this combination include: Sand (Sifters), Smooth Gravel (Sensitive Barbels), Driftwood (Digestion/Hiding), Plants - Densely covered, Established Algae (Otocinclus). Meeting these requirements will help both species thrive.

Both species do well with moderate (standard) water movement, so a standard filtration setup rated for the tank volume should suffice.

Why This Pairing Needs Extra Planning in Practice

This pairing usually fails when the tank is treated like a standard mixed community and the caution flags are ignored. Rainbow Shark and Sunset Platy (Variatus Platy) need extra room, more cover, and closer observation during the first few weeks so small aggression, feeding, or territory issues do not snowball into a long-term problem.

Suitable Tank Sizes

Standard aquarium sizes large enough for both Rainbow Shark and Sunset Platy (Variatus Platy).

Show 5 more tank sizes

Frequently Asked Questions

Can Rainbow Shark and Sunset Platy (Variatus Platy) live together?

They can coexist, but the pairing requires careful monitoring. Provide ample space (at least 200 litres), plenty of hiding spots, and watch for signs of stress or aggression.

What size tank do Rainbow Shark and Sunset Platy (Variatus Platy) need?

A minimum of 200 litres (tank length at least 120 cm) is recommended. This provides enough space for both species to establish their own areas and reduces the likelihood of territorial disputes.

What water temperature is best for Rainbow Shark and Sunset Platy (Variatus Platy) together?

Keep the aquarium between 22°C and 25°C. A target of around 23.5°C sits comfortably within both species' preferred ranges.

Are Rainbow Shark or Sunset Platy (Variatus Platy) aggressive?

Rainbow Shark is semi-aggressive (7/10) and Sunset Platy (Variatus Platy) is peaceful (2/10). The gap in aggression levels means the calmer fish may experience stress from the more assertive one.

What pH do Rainbow Shark and Sunset Platy (Variatus Platy) need?

Both species overlap in the 7–7.5 pH range. Consistency is key — avoid sudden swings, and test regularly to stay within this window.

How do I manage Rainbow Shark's territorial behaviour?

Provide line-of-sight breaks using rocks, driftwood, and dense planting. A larger tank gives Rainbow Shark space to claim a territory without encroaching on the other fish's area. Adding décor that divides the tank into distinct zones works especially well.

Editorial Review

Guidarium Editorial Desk

Reviewed against Guidarium care, stocking, and compatibility standards. Read the editorial policy.

Last reviewed
May 11, 2026
Last updated
May 11, 2026
Issues or corrections?
Contact the editorial team

Related Comparisons

Rainbow Shark & Flying Fox

·

Possible with Caution
Rainbow Shark: PeacefulFlying Fox: Peaceful

Rainbow Shark & Red Tailed Black Shark

·

Possible with Caution
Rainbow Shark: PeacefulRed Tailed Black Shark: Peaceful

Rainbow Shark & Tiger Barb

·

Possible with Caution
Rainbow Shark: PeacefulTiger Barb: Peaceful

Rainbow Shark & False Siamese Algae Eater (Stonelapping Minnow)

·

Possible with Caution
Rainbow Shark: PeacefulFalse Siamese Algae Eater (Stonelapping Minnow): Peaceful

Rainbow Shark & Harlequin Shark

·

Possible with Caution
Rainbow Shark: PeacefulHarlequin Shark: Peaceful

Rainbow Shark & Black Ruby Barb

·

Possible with Caution
Rainbow Shark: PeacefulBlack Ruby Barb: Peaceful

Sunset Platy (Variatus Platy) & Dwarf Molly

·

Ideal Tank Mates
Sunset Platy (Variatus Platy): PeacefulDwarf Molly: Peaceful

Sunset Platy (Variatus Platy) & Endler's Livebearer

·

Ideal Tank Mates
Sunset Platy (Variatus Platy): PeacefulEndler's Livebearer: Peaceful

Sunset Platy (Variatus Platy) & Humpbacked Limia

·

Possible with Caution
Sunset Platy (Variatus Platy): PeacefulHumpbacked Limia: Peaceful

Sunset Platy (Variatus Platy) & Celebes Halfbeak

·

Ideal Tank Mates
Sunset Platy (Variatus Platy): PeacefulCelebes Halfbeak: Peaceful

Sunset Platy (Variatus Platy) & Molly (Sailfin/Black/Dalmatian)

·

Possible with Caution
Sunset Platy (Variatus Platy): PeacefulMolly (Sailfin/Black/Dalmatian): Peaceful

Sunset Platy (Variatus Platy) & Northern Mountain Swordtail

·

Ideal Tank Mates
Sunset Platy (Variatus Platy): PeacefulNorthern Mountain Swordtail: Peaceful