Can gold barbs live with dojo loaches?

Verdict
Yes

Yes. Gold barbs and dojo loaches get along in the same tank. Both are fine at 64–75°F. Plan on at least 55 gal.

Why it works

Water side by side

55°60°65°70°75°80°85°90°Both: 64–75°Gold barb 64–75°Dojo loach 59–77°
The green band is the temperature range both can live in.
456789Both: 6.5–8Gold barb 6–8Dojo loach 6.5–8
The green band is the pH both tolerate.

Size to scale

Gold barb · 3 inDojo loach · 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

Gold barbDojo loach
Temperature64–75 °F59–77 °F
pH6–86.5–8
Adult size3.0 in6.0 in
Minimum tank20 gal55 gal
TemperamentPeacefulPeaceful
Swims atMiddleBottom
GroupGroups of 6+Groups of 3+
DietOmnivoreOmnivore

Better tank mates for gold barbs

All gold barb tank mates

Better tank mates for dojo loaches

All dojo loach tank mates

Questions

Can gold barbs live with dojo loaches?

Yes. Gold barbs and dojo loaches get along in the same tank. Both are fine at 64–75°F. Plan on at least 55 gal.

What temperature suits both gold barbs and dojo loaches?

64–75 °F. Gold barbs need 64–75 °F, dojo loaches need 59–77 °F.

What size tank do gold barbs and dojo loaches need together?

At least 55 gal, set by the dojo loach. Add space for each extra fish.