Gobies are classified as zooplanktivores, omnivores, and carnivores, as they feed on a wide variety of small organisms like crabs, shrimps, smaller crustaceans (such as copepods, amphipods, and ostracods), mollusks, annelids, polychaetes, formaninferans, sponges, small fishes, and eggs of various invertebrates and fishes. Many gobies are quite selective in their feeding habits, favoring an individual prey item, such as a minute algae or small invertebrate. Others have evolved unusual adaptations to allowing feeding in habitats formerly off-limits to fish. For instance, mudskippers (Boleophthalmus, Periophthalmus, Periophthalmadon, and Scartelaos) take on an amphibious character, actively foraging over mudflats and up mangrove roots for crustaceans and insects (see Physical Description for more information on this). Members of the genus Gobiosoma are well known for their brilliant colors used to distinguish them as cleaner fishes. These gobies feed on the parasites and dead skin of larger fish. Some freshwater species of the subfamily Sicydiinae are amphidromous: the larvae are carried downstream to the ocean where they feed and grow (they travel for feeding, not reproduction, unlike many other fishes) before migrating back to freshwater island habitats.
Primary Diet: carnivore (Piscivore , Eats eggs, Eats non-insect arthropods, Molluscivore ); herbivore ; omnivore ; planktivore