Coral reefs host an extraordinary concentration of fish diversity, with dozens of families packed into ecosystems that cover less than one percent of the ocean floor. The adaptations that allow these families to coexist range from specialized jaws and fin mechanics to nocturnal vision, chemical camouflage, and the ability to change sex on social cue. Most modern reef fish families appeared during the Paleocene and Eocene, roughly 66 to 34 million years ago, but their rapid diversification into the forms we recognize today happened later, during the Oligocene and Miocene.
Wrasses and the Art of Underwater Flight
Wrasses (family Labridae) are one of the largest and most recognizable reef fish families, with over 600 species found on tropical and temperate reefs worldwide. Many of them get around using what researchers call labriform locomotion, a swimming style powered almost entirely by the pectoral fins rather than by tail beats. The bird wrasse, for example, oscillates its pectoral fins in an up-and-down stroke that works much like a bird’s wing, generating lift on the downstroke and thrust on the upstroke. This allows it to sustain speeds of one to six body lengths per second without relying heavily on its tail.1PubMed. Labriform propulsion in fishes: kinematics of flapping aquatic flight in the bird wrasse Gomphosus varius (Labridae) The underlying muscle pattern involves alternating contractions of the fin’s abductor and adductor groups, with the downstroke starting slightly before the rest of the muscles engage, giving the stroke its characteristic asymmetry.2PubMed. Motor patterns of labriform locomotion: kinematic and electromyographic analysis of pectoral fin swimming in the labrid fish Gomphosus varius
This fin-driven swimming style is not unique to wrasses. Studies of juvenile reef fish from other families show that pectoral fins dominate propulsion at most cruising speeds, with the tail staying relatively still. At low speeds, the left and right pectoral fins alternate strokes, roughly 180 degrees out of phase. As the fish accelerates past about three to four body lengths per second, both fins abruptly switch to beating in unison, a transition that happens within one or two stroke cycles.3Journal of Experimental Biology. Pectoral fin coordination and gait transitions in steadily swimming juvenile reef fishes The practical advantage of pectoral-fin propulsion on a reef is maneuverability. Tight turns around coral heads, hovering in place to pick at food, and quick bursts through narrow crevices all benefit from the fine control that individual fin strokes provide.
Jaw Engineering and Feeding Strategies
Reef fish jaws are strikingly varied because the food sources on a reef are equally varied: planktonic crustaceans drifting in the current, algae cemented onto rock, coral polyps tucked inside hard skeletons, and other fish. One of the most extreme feeding adaptations belongs to the slingjaw wrasse, whose jaw protrusion is the most dramatic of any fish, extending roughly 65 percent of its head length. This is achieved through extreme rotation of several skull bones, with the interopercle, quadrate, and maxilla each rotating about 100 degrees to push the lower jaw forward like a catapult.4Journal of Morphology. Feeding mechanism of Epibulus insidiator (Labridae; Teleostei): Evolution of a novel functional system The slingjaw uses this mechanism to lunge at small prey from a distance, snapping them up before they can flee.
Jaw protrusion matters beyond the slingjaw. Hydrodynamic modeling shows that when any suction-feeding fish shoots its jaws forward during a strike, the water around the prey accelerates more than it would if the mouth stayed in place. This can boost the force on the prey item by up to about 35 percent, making it harder for the prey to escape or hang onto a substrate.5PubMed Central. Jaw protrusion enhances forces exerted on prey by suction feeding fishes Even small damselfish that feed on zooplankton use a rapid mouth-opening strike, reaching peak gape in roughly 20 milliseconds and coupling that with forward body movement at about two body lengths per second.6bioRxiv. A complex performance landscape for suction-feeding reveals constraints and adaptations in a population of reef damselfish Across many reef families, the same basic principle applies: the combination of suction and jaw protrusion is what lets a fish pluck food from tight spaces or snatch moving targets out of the water column.
Herbivores That Shape the Reef
Parrotfish (family Scaridae) and surgeonfish (family Acanthuridae) are the two most prominent herbivorous families on coral reefs, and their grazing activity directly influences whether a reef stays coral-dominated or shifts toward algal overgrowth. Parrotfish scrape and excavate the reef surface with fused, beak-like teeth. Analysis of what they actually bite off reveals a mix of organisms: cyanobacterial tufts, crustose coralline algae, and smaller proportions of turf-forming red algae, brown algae, and coralline species.7Oxford Academic. Micro-photoautotroph predation as a driver for trophic niche specialization in 12 syntopic Indo-Pacific parrotfish species Different parrotfish species within the same reef can partition this resource finely, targeting different microorganisms and substrates. The sand on tropical beaches is, in large part, processed coral skeleton that has passed through parrotfish guts.
Surgeonfish take their name from the sharp, blade-like spines on either side of the tail base. In the powder blue surgeonfish, these spines can be actively erected to about 80 degrees from the body through the contraction of a dedicated muscle. The fish uses them during territorial disputes, performing lateral tail-slashing motions that can slice into an opponent or an intruder.8Marine Behaviour and Physiology. Anatomy and use of the caudal spines in the aggressive behaviour of a surgeonfish (Osteichthyes: Acanthuridae) Beyond defense, surgeonfish are ecologically important as roving grazers. Schools of surgeonfish can overwhelm the territorial defenses of small damselfish that guard algae patches, creating a mosaic of grazed and ungrazed zones across the reef surface.
Predators in the Crevices
Moray eels (family Muraenidae) are among the reef’s most distinctive predators, and they have solved a unique biomechanical problem. Most fish swallow prey using a rhythmic expansion of the mouth cavity that draws food backward. Morays, constrained by narrow skulls adapted for hunting inside crevices, have evolved a second set of jaws in the throat, the pharyngeal jaws, which they can thrust forward into the mouth to grab prey and drag it down into the esophagus. This ratcheting transport mechanism compensates for the gape limitations that come with a slender, eel-shaped body.9PubMed. Functional morphology of the pharyngeal jaw apparatus in moray eels It is one of the only known cases of a vertebrate using a second set of jaws to actively pull food inward rather than just processing it.
Groupers (family Epinephelidae) sit at the other end of the predator size spectrum. They are ambush feeders with wide mouths and thick bodies, relying on explosive suction strikes to engulf prey whole. Reef groupers are keystone predators in many systems, and their removal by fishing can trigger cascading effects on prey populations and even algal cover.
Seeing in the Dark
Not all reef fish operate during the day. Squirrelfish and soldierfish (family Holocentridae) are nocturnal, emerging after sunset to forage and retreating into crevices at dawn. Their visual systems are dramatically different from those of daytime reef fish. Their retinas are dominated by rod photoreceptors, the cells specialized for low-light vision, and those rods are stacked into multiple well-defined layers, anywhere from 6 to 17 distinct banks depending on the species. This multibank arrangement is a feature more commonly associated with deep-sea fish than with reef dwellers.10Journal of Experimental Biology. The visual ecology of Holocentridae, a nocturnal coral reef fish family with a deep-sea-like multibank retina
Electroretinography experiments confirm that these layered retinas deliver real performance benefits: holocentrids with multibank retinas showed both faster temporal resolution and enhanced sensitivity across a wider range of light intensities compared to what a single rod layer could achieve.11PubMed Central. Multiple rod layers increase the speed and sensitivity of vision in nocturnal reef fishes During the day, these fish are not blind. They retain at least two spectrally different cone types, giving them the potential for basic color vision when ambient light is bright enough.
Color, Communication, and Secret Channels
Reef fish are famous for vivid coloration, but some of their most important visual signals are invisible to the human eye. Many damselfish (family Pomacentridae) reflect ultraviolet light in species-specific facial patterns. The Ambon damselfish can discriminate between conspecifics and other species based on these UV patterns, relying on the shapes of the markings rather than their color.12PubMed. A species of reef fish that uses ultraviolet patterns for covert face recognition Because many of the large predatory fish on the reef cannot see UV wavelengths, these patterns function as a private communication channel: the damselfish can signal to one another without advertising their presence to predators.13PubMed Central. Damsels in Disguise: Development of Ultraviolet Sensitivity and Colour Patterns in Damselfishes (Pomacentridae)
Color change itself is another adaptation with a surprising mechanism. Hogfish (a large wrasse) can rapidly shift their skin color, and researchers have found that this is partly regulated by light-sensing receptors embedded in the skin itself. Chromatophores, the pigment-bearing cells, disperse or aggregate their pigment granules, and this activity changes the wavelengths of light reaching a set of short-wavelength-sensitive receptors beneath them. The skin, in effect, monitors its own color and feeds that information back to the system controlling it.14PubMed Central. Dynamic light filtering over dermal opsin as a sensory feedback system in fish color change This decentralized feedback loop allows rapid adjustments without relying entirely on input from the eyes or brain.
Eyespots and Other Defensive Tricks
Eyespots, the conspicuous circular markings found on many reef fish, are one of the most widespread anti-predator colorations across coral reef species.15Evolution. Drivers of eyespot evolution in coral reef fishes They typically appear near the tail or on the rear flanks, far from the actual eye, and are thought to misdirect predator strikes toward less vulnerable body regions. Experiments with juvenile damselfish raised in the presence of predators found that the fish grew larger eyespots compared to those raised without predator cues, suggesting the trait is at least partly a plastic developmental response rather than a fixed genetic pattern. The trade-off was that predator-exposed fish also developed slightly smaller real eyes, hinting at a resource allocation cost.16Scientific Reports. Predator-induced changes in the growth of eyes and false eyespots
Pufferfish (families Tetraodontidae and Diodontidae) employ one of the reef’s most recognizable defense strategies: inflation. The black-saddled pufferfish can gulp water to balloon its body to several times its normal volume, making it difficult to swallow. Despite looking like it should be suffocating while puffed up, this species actually increases its oxygen uptake to roughly five times resting levels while inflated, pulling air through its gills rather than through the skin. Still, the recovery cost is steep, taking an average of about five and a half hours to fully return to normal metabolic rates after deflation.17PubMed Central. All puffed out: do pufferfish hold their breath while inflated?
Living With Anemones
Clownfish (genus Amphiprion, within Pomacentridae) are the textbook example of mutualism on the reef, sheltering among the stinging tentacles of sea anemones in exchange for defending the anemone from butterflyfish that feed on its tissue. How clownfish avoid being stung has been debated for decades. One line of evidence points to the sugar molecule sialic acid, which on the skin surface of non-symbiotic fish triggers the anemone’s stinging cells. Clownfish mucus contains lower levels of sialic acid than that of related non-symbiotic damselfish, and during development the decline in sialic acid levels tracks with increasing protection from stings.18PubMed Central. Anemonefish use sialic acid metabolism as Trojan horse to avoid giant sea anemone stinging
The picture is not quite that simple, though. When researchers directly measured sialic acid and its precursors in clownfish versus non-symbiotic damselfish, they found that symbiotic fish had lower concentrations (roughly 13 to 16 micromolar versus 21 to 30 micromolar in non-symbiotic species), but the sialic acid was not entirely absent. The authors concluded that protection is not a straightforward matter of lacking the molecule; the biochemical mechanism is likely concentration-dependent or involves additional factors.19PubMed Central. N-acetylated sugars in clownfish and damselfish skin mucus as messengers involved in chemical recognition by anemone host The ongoing back-and-forth in the literature reflects how difficult it is to pin down a single chemical explanation for what is probably a multi-layered defense.
Cleaner wrasses represent another celebrated reef symbiosis. The bluestreak cleaner wrasse sets up fixed stations on the reef where larger “client” fish visit to have parasites removed from their skin, gills, and mouths.20PubMed Central. The Neurobiology of Mutualistic Behavior: The Cleanerfish Swims into the Spotlight Clients adopt specific postures to signal their willingness to be cleaned, and the cleaners in turn gain a meal. Removal of cleaner wrasses from reef patches in field experiments has repeatedly led to declines in client fish health and local species diversity.
Sex Change as a Social Strategy
Many reef fish families, including wrasses, parrotfish, and groupers, practice sequential hermaphroditism: individuals change sex during their lifetimes in response to social cues. The most common pattern on coral reefs is protogyny, where fish begin life as females and transition to male, typically when a dominant male disappears from the social group. Protandry, the reverse pattern, also occurs but is less common among reef species. Mechanistically, the female-to-male transition tends to happen faster, with behavioral changes often preceding gonadal and morphological shifts.21PubMed. Plasticity of brain sexual dimorphism as revealed by sex changing fish
Some species blur the line entirely. The threespot wrasse has been documented undergoing both protandry and protogyny within the same population. In aquarium experiments, individuals performed male-to-female-to-male and female-to-male-to-female transitions, demonstrating that the underlying sex-determination system is far more flexible than a simple one-way switch.22Journal of Fish Biology. Sex change of primary males in a diandric labrid Halichoeres trimaculatus: coexistence of protandry and protogyny within a species The ecological consequence of sex-change direction matters at the population level. Modeling work shows that protogynous species tend to have lower effective population sizes and higher variance in reproductive success compared to protandrous species, because a few large terminal-phase males monopolize mating.23PubMed Central. Ecological and evolutionary consequences of alternative sex-change pathways in fish This makes protogynous species potentially more vulnerable to size-selective fishing, which preferentially removes the largest males.
Gobies and the Power of a Fused Fin
Gobies (families Gobiidae and Oxudercidae) are the single most species-rich group of reef-associated fish, yet they are easy to overlook because most are small and cryptic. A phylogenomic analysis of goby diversification identified a pronounced increase in speciation rate within the clade containing these two families, and that increase was correlated with both reef association and the possession of a fused ventral pelvic disc, a suction-cup-like structure formed from the fused pelvic fins.24Oxford Academic. Diversification dynamics in the global radiation of gobies The disc lets gobies cling to hard surfaces in high-flow environments, opening up microhabitats that other small fish cannot occupy. Some gobies live as obligate commensals on corals, sponges, or sea whips, and a handful form symbiotic partnerships with burrowing shrimp, sharing a burrow entrance and acting as sentinels while the shrimp maintains the tunnel.
Living at the Thermal Edge
Reef fish physiology is tightly coupled to water temperature, and for species living near the equator, the margin is thin. Research on equatorial reef fish found that their optimal temperature for aerobic performance sits close to current ambient water temperatures, leaving limited room for further warming before performance declines.25PubMed Central. Life on the edge: Thermal optima for aerobic scope of equatorial reef fishes are close to current day temperatures Aerobic scope, the difference between resting and maximum oxygen consumption, reflects how much energy a fish has available for swimming, feeding, and reproduction after its basic maintenance costs are covered. When water temperature pushes past the optimum, that surplus shrinks and the fish’s capacity for normal life activities declines. For tropical reef species already living near their thermal ceiling, even modest ocean warming represents a meaningful physiological squeeze, one that could reshape community composition long before temperatures become outright lethal.
The evolutionary timeline of reef fish adds context. Most modern families were already present by the Eocene, about 34 million years ago, but their explosive diversification into the species we see today happened during the Oligocene and Miocene, a period spanning roughly 34 to 5 million years ago.26PubMed Central. The evolution of fishes and corals on reefs: form, function and interdependence That diversification unfolded in a world where reef habitats were expanding and coral architecture was growing more complex, offering new niches for feeding, hiding, and reproduction. The adaptations described throughout this article, from pectoral-fin flight to pharyngeal jaw transport to skin-based color sensing, are products of that long co-evolution between fish and the reefs they inhabit.