Can corydoras live with rainbow sharks?

Verdict
Yes, with care

Yes, with care. Corydoras and rainbow sharks can share a tank, but watch one thing. Rainbow sharks chase other bottom fish out of their patch.

What to watch

What works

Water side by side

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

Size to scale

Corydoras · 2.5 inRainbow shark · 6 in0"1"2"3"4"5"6"
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

CorydorasRainbow shark
Temperature72–79 °F72–80 °F
pH6–7.86.5–7.5
Adult size2.5 in6.0 in
Minimum tank20 gal55 gal
TemperamentPeacefulSemi-aggressive
Swims atBottomBottom
GroupGroups of 6+One per tank
DietOmnivoreOmnivore

Better tank mates for corydoras

All corydoras tank mates

Better tank mates for rainbow sharks

All rainbow shark tank mates

Questions

Can corydoras live with rainbow sharks?

Yes, with care. Corydoras and rainbow sharks can share a tank, but watch one thing. Rainbow sharks chase other bottom fish out of their patch.

What temperature suits both corydoras and rainbow sharks?

72–79 °F. Corydoras need 72–79 °F, rainbow sharks need 72–80 °F.

What size tank do corydoras and rainbow sharks need together?

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