The Pinkbar Goby is also commonly referred to as the Shrimp Goby due to the close relationship that can form between it and various shrimp.
It should be housed in a 30 gallon or larger aquarium with plenty of loose coral rubble, and requires ample swimming room with a sand bottom for burrowing. It may try to jump out of the aquarium or other small opening, so a tight-fitting lid is required. Rarely will it become aggressive towards other fish, but will fight with its own kind unless they are a mated pair.
It should be fed a varied meaty diet at least three times per day.