Burrow construction Many species in the Gobiidae live in male-female pairs that construct and share burrows, similar to many other fish such as
Mozambique tilapia. The burrows are used for shelters and
spawning places. Gobiids use their mouths to dig into the sea bottom, removing dead coral-fragments, rubble, and
benthic algae in order to build their burrows. Gobiids maintain their burrows by fanning away sand inside the burrows. Furthermore, gobies use coral rubble to block burrow entrance. A single goby can carry as many as nine pieces of coral rubble per minute. Gobiids also build a high
mound over the entrance of their spawning burrow. After spawning eggs, the roles of male and female changes. Females primarily maintain the burrow, and males mainly care for the eggs by fanning them, thereby providing oxygen. When females leave the burrow, however, the mounds lose their heights. The males then give up on the eggs and eat them, preparing for future mating opportunities. Gobiid burrows vary in size depending on the size of the species. The sneakers wait near the spawning ground of paired fish. The sneakers then release their
sperm on the spawning ground as soon as the paired female releases her
eggs. Though sneakers' sperm fertilizes some eggs, the paired male cannot distinguish the eggs fertilized by the sneakers from those fertilized by his own sperm. Therefore, the paired male gives
parental care equally to all the eggs. Kleptogamy is a good strategy in many ways. First, the sneakers do not need their own territories, indicating that they do not need to spend energy in protecting territories, as most other males do. Most male gobies need their own territories, since females do not choose to mate with a male that does not own his own territory. Male-to-female change occurs when the females have preference for specific features in males. For example, females prefer large males, and a few large males mate with multiple females, whereas small males lose their chance to mate. Small males either choose to become sneakers (kleptogamy) or choose to transform into females because all females technically have high mating opportunities. By turning into females, males can ensure that they produce many
offspring. Some gobies have extraordinarily developed sex change ability.
Gobiodon histrio from the
Great Barrier Reef exhibits bidirectional sex changes.
G. histrio is one of the very few species that can change sex in both ways. When two
G. historio females, which used to be males, are on the same coral reef, one of them transforms back into a male goby.
Navigation Some gobiids remember
landmarks that are within short distances, and use them to find their ways. Small frillfin gobies (
Bathygobius soporator) live in
intertidal zones. They swim through the pools during
high tides and memorize how each pool connects to the others. Then, during
low tides, they can exhibit accurate jumping behaviors, as they have memorized the paths. In a new environment, these fish do not show jumping behaviors or jump into wrong pools. Nevertheless, after one night, they show the same accurate jumping behaviors.
Habitat choice A study was done to understand how gobiids react to changing habitat. The fish were given two choices: a safe habitat with less food and a dangerous habitat with more food. Results from both the full and hungry fish revealed that gobiids, when confronted with the trade-off between
foraging and avoiding
predation, made choices that would better their foraging.
Symbiosis Species in the Gobiidae sometimes form
symbiotic relationships with other species, such as with burrowing
shrimps. The shrimp maintains a burrow in the sand in which both the shrimp and the fish live. The shrimp has poor eyesight compared to the gobiid, but if it sees or feels the fish suddenly swim into the burrow, it will follow. The fish and shrimp keep in contact with each other, the shrimp using its antennae, and the fish flicking the shrimp with its tail when alarmed. These gobiids are thus sometimes known as "
watchmen gobies" or "prawn gobies". Each party gains from this relationship: the shrimp gets a warning of approaching danger, and the fish gets a safe home and a place to lay its
eggs. Only the
alpha male and female reproduce; other fish in the colony eat sparingly to resist being eaten by the alpha male or female. This way, only the largest and fittest are able to reproduce. Another example of
symbiosis is demonstrated by the neon gobies (
Elacatinus spp.). These gobiids, known as "cleaner gobies", remove
parasites from the skin, fins, mouth, and gills of a wide variety of large fish. The most remarkable aspect of this symbiosis is many of the fish that visit the cleaner gobies'
cleaning stations would otherwise treat such small fish as food (for example,
groupers and
snapper). Again, this is a relationship where both parties gain: the gobies get a continual supply of food as bigger fish visit their cleaning stations, and the bigger fish leave the cleaning stations healthier than they were when they arrived. Another form of
symbiosis exists between gobiids and the mushroom coral
Heliofungia actiniformis (
Fungiidae), in which representatives of the genus
Eviota roam among the tentacles possibly hiding from predators. ==Commercial importance==