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

The Coral Reef Food Web: Who Eats Whom on the Reef

The Coral Reef Food Web — Who Eats Whom on the Reef

Coral Reef Ecosystem
9 min read
What is the coral reef food web?

The coral reef food web is the network of feeding relationships that links every organism on a reef. Energy enters as sunlight, captured by producers — the zooxanthellae algae inside corals, seaweeds, turf algae and phytoplankton. It passes to primary consumers such as parrotfish, surgeonfish, sea urchins and zooplankton, then to secondary consumers such as wrasses, butterflyfish and small groupers, and on to top predators such as large groupers, barracuda and reef sharks. Decomposers — bacteria, fungi and detritivores like sea cucumbers — recycle dead material back into nutrients. A simple example of a reef food chain is: algae → parrotfish → grouper → reef shark.

Quick facts
Energy source
Sunlight, plus plankton carried in by currents
Producers
Zooxanthellae, turf algae, seaweed, phytoplankton, seagrass
Primary consumers
Parrotfish, surgeonfish, urchins, zooplankton
Secondary consumers
Wrasses, butterflyfish, small groupers, octopus
Top predators
Large groupers, barracuda, jacks, reef sharks
Decomposers
Bacteria, fungi, sea cucumbers, worms
Energy passed up
Roughly 10% per level, as a rule of thumb
Corals are
Both producers’ hosts and consumers

A coral reef is one of the busiest feeding grounds on the planet. Every surface is grazed, every crevice hides a predator, and even the water is full of tiny animals being eaten by larger ones. Rather than a single food chain, a reef has hundreds of overlapping chains woven into a web. Understanding that web explains why reefs are so productive — and why removing one kind of animal can change the whole reef.

Coral reef food web with reef fish, predators and corals
On a reef, energy flows from sunlight and algae up through grazers to top predators.

Trophic levels on a coral reef

Ecologists sort reef life into levels based on where each organism gets its energy.

A trophic level is a step in the flow of energy through an ecosystem. On a reef they stack up like this:

  • Level 1 — Producers. Organisms that make food from sunlight by photosynthesis: zooxanthellae living inside coral, turf algae, seaweeds, crustose coralline algae, seagrass and phytoplankton.
  • Level 2 — Primary consumers (herbivores). Animals that eat producers: parrotfish, surgeonfish, rabbitfish, damselfish, sea urchins, many snails and crabs, green sea turtles and zooplankton feeding on phytoplankton.
  • Level 3 — Secondary consumers. Carnivores that eat herbivores and small animals: wrasses, butterflyfish, squirrelfish, small groupers, octopus, many crabs and shrimps, and planktivorous fish that eat zooplankton.
  • Level 4 — Tertiary consumers and top predators. Large groupers, snappers, jacks, barracuda, moray eels and reef sharks that eat other fish.
  • Decomposers and detritivores. Bacteria, fungi, sea cucumbers, worms and brittle stars that break down dead matter at every level.

For a broader look at these living groups, see the biotic factors of the coral reef.

CORAL REEF ECOSYSTEM · ENERGY FLOW The Coral Reef Food Web Sources: NOAA CoRIS · Smithsonian ~10% energy passed up each level ecology Producers algae & zooxanthellae base Consumers herbivores to predators middle Apex sharks & big groupers top THE ENERGY PYRAMID Energy at each trophic level 100 Producers 10 1° consumers 1 2° consumers 0.1 Apex ~90% of energy is lost at each step — the ecological 10% rule. WHAT POWERS THE WEB Energy reaching the top ~10% per level Passed to the next level about a tenth Lost as heat & waste the other ~90% This is why apex predators are rare and a healthy base is essential. WHO EATS WHOM Levels of the reef food web Producers algae, seagrass & zooxanthellae Herbivores parrotfish, turtles, urchins Predators snappers, groupers, reef sharks KEEPING BALANCE Why every link matters Grazers stop algae smothering coral Predators keep prey numbers in check Decomposers return nutrients to the web KEY Producers Consumers / transfer Higher consumers Apex predators
Diagram of the coral reef food web: energy flows from sunlight through producers, grazers and predators, while decomposers recycle nutrients. Sources: NOAA; Smithsonian.
~10%
Of energy passed from one trophic level to the next, as a rule of thumb
4–5
Typical number of trophic levels on a reef
1
Ultimate energy source — the sun
Barracuda and grouper hunting over a reef, a coral reef food chain example
Barracuda and grouper hunting over a reef, a coral reef food chain example

Coral reef food chain examples

Individual food chains are threads in the web. Here are some common ones.

  • Turf algae → parrotfish → grouper → reef shark. The classic grazing chain on a reef.
  • Phytoplankton → zooplankton → coral polyps or → damselfish → jack. The plankton chain that brings energy in from the open water.
  • Zooxanthellae → coral → butterflyfish → moray eel. Some butterflyfish feed almost entirely on coral polyps.
  • Coral → crown-of-thorns starfish → giant triton snail. A coral-eating starfish and one of its few predators.
  • Seagrass → green sea turtle → tiger shark. A link between reefs and nearby seagrass meadows.
  • Sponges → hawksbill turtle and sponges → angelfish. Sponge-eaters keep fast-growing sponges in check.

Because most reef animals eat several kinds of food, and are eaten by several predators, these chains cross and overlap constantly. That is what makes it a web rather than a ladder.

Corals: producers’ hosts and consumers at once

Corals sit at more than one level of the food web.

Reef-building corals are unusual. The algae inside their tissue photosynthesise and pass sugars to the coral, so in shallow, sunny water a coral gets much of its energy as if it were a plant. But corals are also animals: at night, polyps extend stinging tentacles to catch zooplankton, and they absorb dissolved organic matter from the water. This mix of feeding strategies lets corals thrive in clear, nutrient-poor water. In turn, coral tissue, mucus and spawned eggs feed many animals, from butterflyfish and snails to crown-of-thorns starfish. Read more in what do coral reefs eat.

Leopard sea cucumber (Bohadschia argus) feeding on reef sand, a recycler in the coral reef food web
Leopard sea cucumber (Bohadschia argus) feeding on reef sand, a recycler in the coral reef food web

Recycling: decomposers and the hidden food web

Much of the reef’s energy moves through bacteria, sponges and detritus that you never see.

Reefs live in nutrient-poor water, so recycling is essential. Bacteria break down dead tissue, faeces and coral mucus, releasing nutrients back to the algae. Sea cucumbers process huge volumes of sand, digesting the organic film on each grain. Sponges filter dissolved organic matter from the water and turn it into particles and cells that other animals eat — a pathway scientists call the sponge loop. Together with the microbial loop in the water column, these hidden routes keep nutrients cycling within the reef rather than being lost to the open ocean.

Why are reefs so productive?
Reefs combine efficient recycling, the tight coral–algae partnership, constant grazing that keeps algae growing fast, and a steady supply of plankton carried in by currents. This lets them support far more life than the surrounding open ocean. See why coral reefs have such high productivity.

What keeps the food web in balance

Grazers and predators act as checks that keep any one group from taking over.

Herbivores are the key to a coral-dominated reef. By constantly cropping algae, parrotfish, surgeonfish and sea urchins keep space open for corals to grow and for coral larvae to settle. Predators, in turn, help regulate the numbers and behaviour of smaller fish and invertebrates. Some animals have especially large effects for their numbers and are described as keystone species; on Caribbean reefs, the long-spined sea urchin played that role until a mass die-off in the 1980s.

When the reef food web unravels

Remove one strand and the effects can ripple through the whole reef.

Overfishing is the most direct way people alter reef food webs. Removing top predators changes the abundance and behaviour of the fish below them. Removing herbivores allows seaweed to overgrow coral, sometimes flipping a reef from coral to algae. Coral bleaching and disease remove the reef’s foundation, taking away food and shelter for coral-eating and coral-dwelling species. Nutrient pollution boosts algae and can fuel outbreaks of crown-of-thorns starfish, whose larvae survive better when plankton is plentiful. And invasive predators, such as lionfish in the Caribbean, insert a new link that eats small reef fish. The Caribbean story is told in causes of coral reef destruction in the Caribbean.

The good news is that protecting key parts of the web, especially herbivores, can help reefs recover after disturbances. That is why many marine protected areas focus on keeping grazers and predators abundant. See coral reef conservation.

“Watch a reef for ten minutes and you see the food web working: grazers mowing the algae, a grouper waiting under a ledge, a cleaner shrimp at its station. Nothing is idle.”
— Blane Perun, TheSea.Org
Reef shark and moray eel among corals and fish in the coral reef food web
Reef shark and moray eel among corals and fish in the coral reef food web
Frequently asked questions

What is an example of a coral reef food chain?

A common example is algae → parrotfish → grouper → reef shark. Another is phytoplankton → zooplankton → damselfish → jack.

What are the producers in a coral reef food web?

Zooxanthellae inside coral tissue, turf algae, seaweeds, crustose coralline algae, phytoplankton and seagrass. They capture sunlight and form the base of the web.

What is the top predator on a coral reef?

Reef sharks such as grey reef, blacktip and whitetip sharks, along with large groupers, barracuda and jacks. Larger visitors like tiger sharks and dolphins may also feed on reefs.

What are the decomposers on a coral reef?

Bacteria are the main decomposers, helped by fungi. Detritivores such as sea cucumbers, worms, brittle stars and some crabs eat dead organic matter and help recycle nutrients.

Are corals producers or consumers?

Both. Corals are animals that catch plankton with their tentacles, but the algae living inside them photosynthesise and supply much of their energy.

What happens to the food web if parrotfish are removed?

Algae can grow unchecked, overgrowing and shading corals and preventing young corals from settling. Over time, the reef can shift from coral to seaweed, with knock-on effects for the animals that depend on coral.

Sources & further reading
  1. NOAA Ocean Service: coral reef ecosystems
  2. Smithsonian Ocean: corals and coral reefs
  3. de Goeij, J. M. et al. (2013), surviving in a marine desert: the sponge loop, Science
BP
Last updated November 12, 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 → More on the Coral Reef Ecosystem →
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