Can goldfish live with dojo loaches?

Verdict
Yes

Yes. Goldfish and dojo loaches make a good pair. Both are fine at 60–74°F. Plan on at least 55 gal.

Why it works

Water side by side

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

Size to scale

Goldfish · 10 inDojo loach · 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

GoldfishDojo loach
Temperature60–74 °F59–77 °F
pH7–86.5–8
Adult size10.0 in6.0 in
Minimum tank40 gal55 gal
TemperamentPeacefulPeaceful
Swims atAll levelsBottom
GroupAlone or in pairsGroups of 3+
DietOmnivoreOmnivore

Better tank mates for goldfish

All goldfish tank mates

Better tank mates for dojo loaches

All dojo loach tank mates

Questions

Can goldfish live with dojo loaches?

Yes. Goldfish and dojo loaches make a good pair. Both are fine at 60–74°F. Plan on at least 55 gal.

What temperature suits both goldfish and dojo loaches?

60–74 °F. Goldfish need 60–74 °F, dojo loaches need 59–77 °F.

What size tank do goldfish and dojo loaches need together?

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