Can goldfish live with rainbow sharks?

Verdict
No

No. Goldfish and rainbow sharks should not share a tank. Goldfish are coldwater animals (60–74°F); rainbow sharks need 72–80°F. They overlap only at 72–74°F, the edge of both ranges.

What to watch

What works

Water side by side

55°60°65°70°75°80°85°90°Both: 72–74°Goldfish 60–74°Rainbow shark 72–80°
The green band is the temperature range both can live in.
456789Both: 7–7.5Goldfish 7–8Rainbow shark 6.5–7.5
The green band is the pH both tolerate.

Size to scale

Goldfish · 10 inRainbow shark · 6 in0"2"4"6"8"10"
Adult length in an aquarium. A fish can swallow anything that fits in its mouth, roughly a third to half its own length for predators.

Care at a glance

GoldfishRainbow shark
Temperature60–74 °F72–80 °F
pH7–86.5–7.5
Adult size10.0 in6.0 in
Minimum tank40 gal55 gal
TemperamentPeacefulSemi-aggressive
Swims atAll levelsBottom
GroupAlone or in pairsOne per tank
DietOmnivoreOmnivore

Better tank mates for goldfish

All goldfish tank mates

Better tank mates for rainbow sharks

All rainbow shark tank mates

Questions

Can goldfish live with rainbow sharks?

No. Goldfish and rainbow sharks should not share a tank. Goldfish are coldwater animals (60–74°F); rainbow sharks need 72–80°F. They overlap only at 72–74°F, the edge of both ranges.

What temperature suits both goldfish and rainbow sharks?

72–74 °F. Goldfish need 60–74 °F, rainbow sharks need 72–80 °F.

What size tank do goldfish and rainbow sharks need together?

At least 55 gal, set by the rainbow shark. Add space for each extra fish.