Can rainbow sharks live with tinfoil barbs?

Verdict
Yes

Yes, rainbow sharks and tinfoil barbs can live together. Both are fine at 72–80°F. Plan on at least 125 gal.

Why it works

Water side by side

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

Size to scale

Rainbow shark · 6 inTinfoil barb · 12 in0"2"4"6"8"10"12"
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

Rainbow sharkTinfoil barb
Temperature72–80 °F72–80 °F
pH6.5–7.56.5–7.5
Adult size6.0 in12.0 in
Minimum tank55 gal125 gal
TemperamentSemi-aggressivePeaceful
Swims atBottomMiddle
GroupOne per tankGroups of 5+
DietOmnivoreOmnivore

Better tank mates for rainbow sharks

All rainbow shark tank mates

Better tank mates for tinfoil barbs

All tinfoil barb tank mates

Questions

Can rainbow sharks live with tinfoil barbs?

Yes, rainbow sharks and tinfoil barbs can live together. Both are fine at 72–80°F. Plan on at least 125 gal.

What temperature suits both rainbow sharks and tinfoil barbs?

72–80 °F. Rainbow sharks need 72–80 °F, tinfoil barbs need 72–80 °F.

What size tank do rainbow sharks and tinfoil barbs need together?

At least 125 gal, set by the tinfoil barb. Add space for each extra fish.