A 10 gallon or larger aquarium with plenty of hiding places is suitable for this fish. It can be included in a reef aquarium and the fish will sift the sand as well as graze on hair algae. It is non-aggressive towards other fish and will not bother invertebrates in the tank.
Hector's Goby is easy to feed and its diet consists of most marine foods. It consumes large amounts of algae, worms, and prepared foods such as vitamin enriched mysis shrimp and brine shrimp.