Exploring Earth's Oceans Since 1999 · Founded by Blane Perun
3,072 Articles·80+ Countries·25 Years of Ocean Science·Site Map
◆ Trending
25 years exploring Earth's oceans,
coral reefs, and the creatures within.
3,072Articles
80+Countries
1999Founded

Goby Gobiidae

Goby — Family Gobiidae

Marine Life
April 15, 2026
17 min read
What is a goby?

Gobies (family Gobiidae) are the largest family of marine fish, with over 2,000 described species across more than 200 genera. They are found in virtually every marine and freshwater habitat on Earth, from coral reefs and rocky intertidal zones to rivers and caves. Most gobies are small — under 10 cm — and bottom-dwelling, with fused pelvic fins that form a suction disc allowing them to cling to surfaces in strong currents. They are ecologically critical reef fish, occupying every niche from algae grazer to apex micro-predator.

Quick facts
Family
Gobiidae — largest marine fish family
Species
2,000+ described
Size range
1 cm (dwarf pygmy goby) to 50+ cm (some tropical species)
Habitat
Marine, brackish, freshwater globally
Pelvic fins
Fused into suction disc — key identifying feature
Smallest fish
Trimmatom nanus — 8–10 mm
Symbiosis
Many species pair with shrimp or clean parasites
Diet
Algae, invertebrates, plankton — varies by species

The goby family is one of the great success stories of vertebrate evolution. More than 2,000 species living in tide pools, coral reefs, seagrass beds, estuaries, rivers and even caves, from temperate European coasts to tropical Indo-Pacific lagoons, represent an extraordinary adaptive radiation. The key to their success is a combination of small size, bottom-dwelling habits, the suction disc that lets them hold position in extreme currents, and remarkable ecological flexibility. Some species have evolved extraordinary symbiotic relationships; others are solitary predators; others form dense cleaning stations that service large reef fish. The goby family contains the world’s smallest vertebrate.

What makes a goby a goby?

Goby resting on coral with its fused pelvic fin | TheSea.Org by Blane Perun

The defining anatomical feature of gobies is their fused pelvic fins — the two pelvic fins are fused into a single cup-shaped suction disc on the underside of the fish, used to cling to rock, coral, and substrate.

This suction disc is the goby’s most important adaptation. It allows them to hold station in powerful surge and current without expending energy on active swimming, making intertidal and reef-edge habitats viable. Beyond the pelvic disc, gobies share a two-part dorsal fin, a relatively elongate body, and large eyes positioned high on the head that provide excellent visual coverage of the area above and around them. Gobies also lack the continuous lateral-line canal that runs along the flanks of most fish. Instead they detect water movement with sensory canals on the head and with rows of exposed sense organs (neuromasts, visible as tiny papillae) on the head and body. The arrangement of those papillae differs between genera and is one of the features ichthyologists use to tell similar gobies apart.

2,000+
Described goby species
8 mm
Smallest species (Trimmatom nanus)
#1
Largest marine fish family on Earth
Goby Gobiidae: Goby Gobiidae
Goby Gobiidae

What counts as a goby? Classification and look-alikes

“Goby” is used loosely for several related families, and the boundaries of the family Gobiidae itself were redrawn in 2016.

Gobies belong to the order Gobiiformes. For decades the family Gobiidae held six subfamilies, including the mudskippers and the river-climbing sicydiine gobies. The fifth edition of Fishes of the World (2016), the standard reference for fish classification, split that group. It kept the “true gobies” (Gobiinae) and the Ponto-Caspian Benthophilinae in Gobiidae and moved the other four subfamilies, mudskippers included, into a separate family, Oxudercidae. At the same time it folded several small families into Gobiidae: the dartfishes (Ptereleotridae, which includes the popular firefish), the wormfishes (Microdesmidae), the sand gobies of Kraemeriidae and the tiny transparent infantfishes (Schindleriidae). Not every author follows this scheme, so you will see mudskippers called gobiids in older books and oxudercids in newer ones. In everyday use both groups are simply “gobies”.

The closest relatives that are not gobies in either sense are the sleepers (Eleotridae). They look and live much like gobies but have two separate pelvic fins rather than a sucker. Two unrelated groups cause most of the confusion for divers. Blennies sit on the bottom and perch on coral just as gobies do, but they have no pelvic disc: their pelvic fins are small, finger-like and placed ahead of the pectoral fins, the dorsal fin is usually one long continuous fin, and many have frilly cirri above the eyes. Gobies normally have two clearly separate dorsal fins and the cup-shaped disc beneath the chest. Dragonets, such as the mandarinfish, are also bottom-perchers with large eyes, but they have broad flattened heads, a strong spine on the gill cover and no sucker. And the so-called engineer goby, Pholidichthys leucotaenia, is not a goby at all.

How big do gobies get, and how long do they live?

Most gobies are under 10 cm long, and many reef species are adult at 2–3 cm. The upper end is modest: a handful of species exceed 30 cm, which is exceptional for the family. The bottom end is extreme. Several gobies are among the smallest vertebrates known, and the family has produced miniature species again and again, which suggests that small size is a route that suits the goby body plan particularly well. A tiny goby can live in the gaps between coral branches or grains of rubble, a world closed to larger fish.

Small size goes with short lives. A typical goby lives one to a few years, and the longest-lived species reach about ten. The record for the shortest life of any vertebrate belongs to a goby. In 2005 Martial Depczynski and David Bellwood of James Cook University reported that the seven-figure pygmy goby Eviota sigillata, a 3 cm reef fish found from the Seychelles to Micronesia, lives at most 59 days. About three weeks of that is spent as a drifting larva in open water, about two weeks settling onto the reef and maturing, and only around three weeks as a breeding adult. In that time an adult may spawn several times. Life at this pace is possible only because the goby’s whole cycle, from egg to egg, is compressed into a couple of months.

Where gobies live

Gobies live along tropical and temperate coasts worldwide, in shallow marine water, brackish estuaries, mangroves, salt marshes and the lower reaches of rivers. They are mostly fish of shallow water: tide pools, reef flats, seagrass meadows and sandy or muddy bottoms within reach of the light. Coral reefs are their stronghold. One widely cited estimate is that gobies make up about 35% of the individual fish on coral reefs and about 20% of the species. Because they are small and hide well, ordinary visual surveys miss most of them, and when researchers count fish using anaesthetic and enclosed nets, gobies and other “cryptobenthic” fish turn out to be a large part of reef fish life and food webs.

A few hundred species live permanently in fresh water. The round goby and its relatives evolved in the Ponto-Caspian region, the Black, Azov and Caspian Seas and their rivers, where the subfamily Benthophilinae is found and nowhere else. Australia has a desert goby, Chlamydogobius eremius, that lives in warm artesian springs, and a few species of Glossogobius are true cave fish. Many island stream gobies are amphidromous: they spend their larval life at sea and their adult life in rivers, which has carried them to remote island chains across the Pacific.

Diet: grazers, hunters, cleaners and bodyguards

Most gobies are small predators of the bottom. They take copepods, amphipods, worms, tiny snails and fish eggs, either by darting out from a perch or by taking in mouthfuls of sand and sifting it through the gills. Larger species eat other fish. A few eat plankton, hovering above the bottom in loose groups, and some freshwater species graze algae. The Hawaiian rock-climbing goby feeds almost only on diatoms and filamentous algae, and males guard “gardens” of algal turf on the tops of boulders.

One of the most surprising goby diets was described in Science in 2012 by Danielle Dixson and Mark Hay of Georgia Tech. They studied coral gobies (Gobiodon histrio and Paragobiodon echinocephalus) living in the branches of the coral Acropora nasuta in Fiji. When the toxic green seaweed Chlorodesmis fastigiata touched the coral, the coral released a chemical signal, and within minutes the gobies arrived and trimmed the seaweed back. Over three days the seaweed declined by about 30% on corals with gobies, and coral damage fell by about 70–80%. G. histrio actually eats the seaweed and appears to become less palatable to predators as a result. The coral, in return, gives the gobies a home and a safe place to breed.

Reproduction, parental care and sex change

Most gobies lay their eggs on a hard surface: the roof of a burrow, the underside of a shell or stone, a coral branch or a plant stem. Depending on the species a clutch holds anywhere from a handful to a few thousand eggs. The male usually stays with them. He guards the clutch against egg-eating fish, picks out dead or fungus-infected eggs, and fans the rest with his fins to keep fresh, oxygenated water moving over them. The eggs hatch within a few days, and the transparent larvae drift away to develop in the plankton before settling as juveniles.

Some burrowing reef gobies live in pairs that build and share a burrow and raise a mound 6–13 cm high over the entrance. The mound speeds the water flowing over the burrow and helps supply the eggs with oxygen. After spawning, the female maintains the burrow while the male tends the eggs. If the female leaves, the mound erodes, and the male may give up and eat the clutch, recovering some of his investment for the next breeding attempt.

Goby mating systems are varied. In many species small males act as “sneakers”. They look like females, wait near a nest and release sperm when a paired female spawns. The nest-holding male cannot tell which eggs he fathered, so he cares for them all. Several gobies can also change sex. The bluebanded goby (Lythrypnus dalli) of California and the blackeye goby (Rhinogobiops nicholsii) change from female to male when the dominant male disappears. The coral goby Gobiodon histrio on the Great Barrier Reef can change sex in either direction, so that two fish sharing a coral colony can always form a breeding pair. In another coral goby, Gobiodon erythrospilus, sex is not fixed until a juvenile meets a partner: it becomes whichever sex its new mate is not.

Remarkable goby behaviour

The frillfin goby (Bathygobius soporator) of Atlantic tide pools has a memory for maps. At high tide it swims over the rocks and learns the layout of the pools. At low tide, when a threat appears, it leaps from its pool and lands accurately in the next one, even though it cannot see where it is going. Classic experiments by Lester Aronson at the American Museum of Natural History showed that fish placed in an unfamiliar pool did not jump, or jumped into the wrong place, but after a single night with the tide over the pools they jumped accurately.

Mudskippers, now usually placed in the related family Oxudercidae, take the goby habit of perching on the bottom onto land. The 23 or so species live on tropical mudflats and mangroves from West Africa to the western Pacific and spend much of their time out of water. They “skip” on stiff pectoral fins that bend at two joints, breathe through moist skin and through the linings of the mouth and throat, carry water in enlarged gill chambers, and can leap up to about 60 cm. They have even evolved a way of blinking, which no fully aquatic goby can do. Males dig burrows in the mud, display to females with leaps and colour changes, and keep a pocket of air inside the flooded burrow for the eggs.

The climbing gobies of Hawaii are another extreme. The adults of Sicyopterus stimpsoni, the ‘o‘opu nōpili, live in clear mountain streams. Their eggs hatch and the larvae are washed straight out to sea. Months later the young fish return to river mouths, and within about two days their mouths shift from the front of the head to underneath. Using that mouth and the pelvic sucker in alternation, they inch up wet rock beside waterfalls tens of metres high to reach the pools above. Five of Hawaii’s seven native freshwater fishes are gobies or close relatives.

Goby symbiosis — shrimp partnerships and cleaning stations

Shrimp goby guarding a burrow with a pistol shrimp | TheSea.Org by Blane Perun

Gobies have evolved some of the most extraordinary symbiotic relationships in the reef ecosystem — particularly their partnerships with pistol shrimp and their role as cleaning station operators.

The goby-shrimp partnership is one of the classic examples of mutualism in marine biology. Certain gobies (particularly in genus Amblyeleotris and Stonogobiops) share burrows with nearly-blind pistol shrimp. The shrimp excavates and maintains the burrow; the goby stands guard at the entrance, watching for predators. The shrimp maintains constant physical contact with the goby via its antennae — when the goby dips its tail to signal danger, the shrimp retreats instantly. Neither animal functions as well alone. Separately, Elacatinus gobies on Caribbean reefs operate cleaning stations where they pick ectoparasites from the skin, gills, and mouths of much larger fish — including species that would normally eat gobies.

About 13 genera of gobies are known to live with snapping shrimp, mostly species of Alpheus, and the largest genera, Amblyeleotris and Cryptocentrus, each contain dozens of species. Researchers think a young goby settling from the plankton finds a burrow partly by the smell of the shrimp. The shrimp, usually a male-female pair, does all the digging, and when it bulldozes a load of sand out of the entrance it simply pushes the goby aside. Much of what is known about the partnership comes from the work of Ilan Karplus in the Red Sea, who showed how closely the shrimp’s movements follow the goby’s warning signals. Not every burrow guest is a full partner. In the Caribbean, the orangespotted goby (Nes longus) acts as a sentinel for its shrimp, while other gobies simply move into shrimp burrows and give nothing back.

The cleaner gobies of the genus Elacatinus are about 2.5 cm long and almost all live in the warm western Atlantic, from Florida and Bermuda through the Bahamas and Caribbean to Brazil. Pairs usually share a cleaning station on a coral head and service clients together, and they rarely move more than about a metre from it. Studies of their behaviour show that they deal with predatory clients such as groupers sooner and for longer than with harmless ones, apparently to get the dangerous visitors cleaned and gone. Their electric-blue stripe works as an advertisement: blue-striped species attract more clients and are attacked less often than cleaners with other colours.

The world’s smallest vertebrate
Until 2004 the title of world’s smallest known vertebrate was held by a goby: Trimmatom nanus, the midget dwarfgoby, first described from the Chagos Archipelago in 1981 and fully grown at about 1 cm. It was overtaken by the stout infantfish Schindleria brevipinguis in 2004, by the Indonesian carp Paedocypris progenetica in 2006, and in 2012 by a New Guinea frog. The Philippine dwarf pygmy goby Pandaka pygmaea, at 9–11 mm, is in the same size class. These animals are sexually mature, fully functional fish smaller than a fingernail. They represent one of the most extreme miniaturisation events in vertebrate evolution.

Gobies in the reef aquarium

Yellow watchman goby in a home reef aquarium | TheSea.Org by Blane Perun

Gobies are among the most popular reef aquarium fish for several reasons: they are small and reef-safe, they have fascinating behaviour, many have striking coloration, and the shrimp-goby pairs are one of the most compelling displays possible in a home aquarium. Popular species include the watchman goby (Cryptocentrus cinctus), the clown goby (Gobiodon okinawae), the firefish goby (Nemateleotris magnifica — technically a dartfish), and various Amblyeleotris shrimp gobies. They require minimal care and generally do not bother corals or other fish.

In the aquarium the main needs of gobies follow from their natural history. Shrimp gobies and sand-sifting species need a deep, fine sand bed to dig in, and a shrimp goby kept without a partner shrimp spends more time hiding. Sand-sifting gobies such as the sleeper or “diamond” gobies of the genus Valenciennea often starve in tanks that lack enough live sand to feed them, so they are better suited to large, mature systems. Most gobies are good jumpers, and a tight-fitting lid is the commonest piece of advice from experienced keepers. Neon gobies are now bred in captivity in large numbers, and captive-bred fish are hardier and avoid wild collection.

Gobies and people: food, invasions and conservation

Few gobies are big enough to matter much as food, but there are exceptions. In the Sea of Azov, the northwestern Black Sea and the Caspian, the round goby, monkey goby, toad goby and grass goby support commercial fisheries, and dried gobies are a familiar sight in markets in Odesa and other Black Sea ports. Gobies are far more important as food for other fish. In the North Sea and Baltic they are eaten by cod, sea bass and flatfish, and on reefs they feed groupers, lizardfish and many others.

The round goby (Neogobius melanostomus) shows what happens when a goby travels. Native to the Black and Caspian Seas, it reached the North American Great Lakes in the ballast water of cargo ships. The first North American specimen was caught by an angler in the St. Clair River at Sarnia, Ontario, in June 1990, and within a few years the species had spread through all five Great Lakes. The same year it turned up in the Gulf of Gdańsk in the Baltic, and it has since spread through the Baltic, the Rhine and Danube basins and other European waters. Round gobies grow to about 25 cm, guard nests of up to 5,000 eggs and eat the eggs of native fish. They have reduced native sculpins and logperch. They also eat large numbers of invasive zebra and quagga mussels and have become a major food for bass, walleye and the Lake Erie watersnake, which recovered enough to be removed from the US threatened list in 2011.

Most marine gobies are listed as Least Concern by the IUCN, and many have such small ranges and secretive habits that there is too little information to assess them. The species most at risk are those tied to small, vulnerable habitats: island stream gobies that need clean, connected rivers from the sea to the headwaters; gobies of coastal lagoons and estuaries, such as the tidewater goby of California, which has vanished from many of the lagoons where it was once recorded; and coral gobies that depend on living branching corals. At Lizard Island on the Great Barrier Reef, surveys from 2014 to 2017, a period with two severe cyclones and two marine heatwaves, found that every one of 13 coral goby species declined or disappeared, and after the heatwaves 78% of the surviving corals surveyed no longer hosted gobies. The gobies fared worse than the corals they live in, which matters because the corals depend on their goby tenants for defence.

“I have spent hundreds of hours underwater watching gobies. The shrimp-goby pair is one of the most perfect examples of mutualism I have seen anywhere — two animals that have evolved to be completely dependent on each other.”
— Blane Perun, TheSea.Org
Frequently asked questions

What is a goby fish?

Gobies (family Gobiidae) are the largest family of marine fish with 2,000+ described species. They are typically small bottom-dwellers with fused pelvic fins forming a suction disc that lets them cling to rock and substrate. Found in marine, brackish, and freshwater habitats worldwide, they occupy every ecological niche from algae grazer to parasite cleaner.

How many species of goby are there?

Over 2,000 described species across 200+ genera, making Gobiidae the largest family of marine fish. New species continue to be described regularly — the Indo-Pacific in particular yields new gobies from reef surveys. Many species are also found in freshwater rivers and streams.

What do gobies eat?

Diet varies enormously by species. Most are carnivores or omnivores eating small invertebrates, zooplankton, and algae. Some are specialist parasite-cleaners that eat ectoparasites from larger fish. Others eat meiofauna (tiny organisms living in sediment). A few species are herbivores grazing algae films from rock surfaces.

Do gobies live with shrimp?

Yes — many goby species form mutualistic partnerships with pistol shrimp. The nearly-blind shrimp excavates and maintains a shared burrow; the goby stands guard at the entrance watching for predators, communicating danger signals via tail movements. The shrimp maintains constant antenna contact with the goby. Neither animal functions as effectively alone.

What is the smallest goby?

Trimmatom nanus from the Chagos Archipelago measures just 8–10 mm at sexual maturity and held the title of world’s smallest vertebrate for several years. Other gobies compete for this title. These are fully functional, sexually mature fish smaller than a human fingernail.

Are gobies good for reef aquariums?

Yes — gobies are among the most popular reef aquarium fish. They are small, reef-safe, colourful, and have fascinating behaviour. Shrimp-goby pairs are one of the most compelling displays in home aquariums. Popular species include watchman gobies, clown gobies, and various Amblyeleotris shrimp gobies.

How long do gobies live?

Most gobies live one to a few years, and the longest-lived reach about ten. The seven-figure pygmy goby Eviota sigillata lives at most 59 days, the shortest lifespan recorded for any vertebrate.

Are mudskippers gobies?

Yes, in the broad sense. Mudskippers were long placed in the family Gobiidae; the 2016 edition of Fishes of the World moved them, with several other goby subfamilies, into the closely related family Oxudercidae. They share the goby body plan but spend much of their lives out of water on tropical mudflats.

Sources & further reading
  1. Nelson, J.S., Grande, T.C. & Wilson, M.V.H. (2016). Fishes of the World, 5th ed. Wiley. (Revised classification of Gobiidae and Oxudercidae.)
  2. Depczynski, M. & Bellwood, D.R. (2005). Shortest recorded vertebrate lifespan found in a coral reef fish. Current Biology 15: R288–R289.
  3. Dixson, D.L. & Hay, M.E. (2012). Corals chemically cue mutualistic fishes to remove competing seaweeds. Science 338: 804–807.
  4. Winterbottom, R. & Emery, A.R. (1981). A new genus and two new species of gobiid fishes (Perciformes) from the Chagos Archipelago, Central Indian Ocean. Environmental Biology of Fishes 6: 139–149.
  5. Karplus, I. (2014). Symbiosis in Fishes: The Biology of Interspecific Partnerships. Wiley-Blackwell.
  6. Aronson, L.R. (1951). Orientation and jumping behavior in the gobiid fish Bathygobius soporator. American Museum Novitates 1486.
  7. Froehlich, C.Y.M. et al. (2021). Uneven declines between corals and cryptobenthic fish symbionts from multiple disturbances. Scientific Reports 11.
  8. US Fish & Wildlife Service (2011). Removal of the Lake Erie watersnake from the List of Endangered and Threatened Wildlife. Federal Register.
  9. Jude, D.J., Reider, R.H. & Smith, G.R. (1992). Establishment of Gobiidae in the Great Lakes basin. Canadian Journal of Fisheries and Aquatic Sciences 49: 416–421.
  10. FishBase. Family Gobiidae and species summaries (Eviota sigillata, Neogobius melanostomus, Sicyopterus stimpsoni).
BP
Last updated May 18, 2026
Written by
Blane Perun

Blane Perun has been exploring Earth’s oceans and marine life for over 25 years. Founder of TheSea.Org in 1999, underwater photographer, coral aquaculture pioneer, and explorer of 80+ countries.

About Blane Perun →
Coral Aquaculture · The Pioneer Story
Blane Perun, A coral aquaculture pioneer

Built one of the first home reef tanks designed as a multi-zone replica of natural reef conditions. Author of long-form profiles cited by Wikipedia, Quality Marine, and SeaScope. Independent — no advertisers, no sponsored placements, no editorial board outside the dive log.

Widely credited as the pioneer of named-coral culture in the reef-keeping hobby. The original — “Perun's Purple People Eater”, a Protopalythoa morph from his coral farm — became the first hobbyist coral to carry an aquaculturist's name in trade, sparking the now-standard practice of naming individual coral strains across the industry.

Founded1999 Articles3,072 Countries80+ Cited inWikipedia · Quality Marine · SeaScope
Read Blane's full bio →
The Dispatch · Monthly

Field notes from eighty countries worth of ocean.

One monthly email. New long-form reporting, species profiles, and dive reports — no filler, no tracking pixels, no sponsored placements. Ever.

Sign up and get my one-click underwater color-correction actions for Photoshop — the set I run on my own dive shots. Free.

Get the action now + monthly field notes
No spam · Unsubscribe anytime
Underwater reef photo before and after Blane Perun's Photoshop color-correction action — washed-out blue-green on the left, full natural color restored on the right
Same shot · one click