A coral reef ecosystem is a community of corals, algae, fish, invertebrates and microbes built on a living limestone structure in warm, shallow, clear seawater. Reef building corals are tiny animals called polyps that live with photosynthetic algae inside their tissues. Together they lay down calcium carbonate year after year, and the reef they build becomes home to thousands of other species. This guide covers how coral reefs form, how the coral reef food web works, the main threats to coral reefs, and a data case study on the four global bleaching events.
What Is a Coral Reef Ecosystem?
A coral reef is both a structure and an ecosystem. The structure is limestone, laid down by stony corals and cemented by coralline algae. The ecosystem is everything that lives on, in and around it: fish, sponges, sea urchins, crabs, worms, sea turtles, sharks and huge numbers of microbes.
Reef building corals are found mostly in shallow tropical and subtropical seas between about 35° N and 35° S. According to NOAA, many grow best in water between 23 and 29 °C, and most are limited to depths where enough light reaches them, roughly the top 30 meters. They need clear water because their partner algae need sunlight, and they need hard surfaces where their larvae can settle.
The key partnership on any reef is between the coral polyp and single celled algae called zooxanthellae. The algae photosynthesize and pass sugars to the coral, which in return gives them shelter and nutrients. This relationship is why reefs can thrive in nutrient poor tropical water, and why heat stress, which breaks the partnership, is so damaging. We explain this and other partnerships in detail in our guide to the coral reef symbiotic relationship.
How Are Coral Reefs Formed?
Every reef starts with a single coral larva. Free swimming larvae drift in the plankton until they find submerged rock or another hard surface near the edge of an island or continent. A larva attaches, turns into a polyp and begins dividing into a colony. Each polyp secretes a cup of calcium carbonate beneath itself, and as generations of polyps grow on top of old skeletons, the colony rises.
Growth is slow. NOAA reports that massive corals add about 0.3 to 2 cm a year, while branching corals can grow up to 10 cm a year. A reef can take up to 10,000 years to form, and large barrier reefs and atolls take from about 100,000 to 30 million years to fully develop.
The three types of coral reefs
- Fringing reefs are the most common type. They grow seaward directly from the shore, bordering coastlines and islands.
- Barrier reefs also follow the coast but sit farther offshore, separated from land by a lagoon of open, often deep water.
- Atolls are rings of reef around a central lagoon. They form when a fringing reef grows around a volcanic island that slowly sinks. The coral keeps growing upward toward the light while the island disappears, leaving a ring. Charles Darwin first proposed this explanation in the 1840s, and drilling on Pacific atolls later confirmed thick layers of reef limestone sitting on volcanic rock.
Coralline red algae play a quiet but essential role in formation. They deposit their own calcium carbonate and act like cement, binding loose coral pieces and sand into solid reef rock that can withstand waves.
The Coral Reef Food Web
A coral reef food web is unusually complex because so many species live in such a small space, and because the main builder, the coral, sits on two levels at once. Here is how energy moves through it.

Producers
Zooxanthellae inside coral tissue are the most important producers on the reef. Free living algae add to the base: turf algae, larger seaweeds, coralline algae and phytoplankton in the water column. Seagrass beds next to many reefs also feed grazers.
Primary consumers
Herbivores graze the algae. Parrotfish, surgeonfish and sea urchins are the main grazers, and they matter far more than their place in the food web suggests: by keeping seaweed in check, they leave space for new corals to settle. Zooplankton feed on phytoplankton. Coral polyps themselves are partly consumers too, catching zooplankton at night with their stinging tentacles.
Secondary consumers
Animals that eat the grazers and the plankton feeders fill this level: butterflyfish (many of which eat coral polyps), wrasses, damselfish, crabs, shrimps, octopus and the crown of thorns starfish, a coral predator whose population outbreaks can strip a reef.
Top predators
Groupers, snappers, barracuda, moray eels and reef sharks sit at the top. By keeping mid level fish in balance, they help keep the whole web stable. When fishing removes top predators, the effects cascade down the web.
Decomposers and recyclers
Bacteria, sea cucumbers, worms and brittle stars break down waste and dead material and return nutrients to the producers. In water this poor in nutrients, fast recycling is what keeps the reef productive.
Why Coral Reefs Matter
Coral reefs take up a tiny fraction of the ocean, yet they hold a large share of marine biodiversity, from fish and sponges to countless invertebrates still being described. They protect coastlines by breaking wave energy before it reaches the shore, support fisheries that many coastal and island communities depend on, and supply compounds studied for new medicines. They also bring in tourism income for many tropical countries.
Threats to Coral Reefs
NOAA describes climate change as the greatest global threat to coral reef ecosystems, but reefs usually face several pressures at once, and these stresses add up.
- Ocean warming and bleaching. When water stays too warm for too long, corals expel their zooxanthellae and turn white. A bleached coral is not dead yet, but if heat continues it starves. The causes and stages are covered in our article on what causes coral bleaching.
- Ocean acidification. The ocean absorbs carbon dioxide from the air, which lowers seawater pH and reduces the carbonate that corals need to build skeletons. Reefs grow more slowly and erode faster.
- Overfishing. Removing grazers lets seaweed overgrow corals, and removing predators destabilizes the food web. Destructive methods such as blast fishing and cyanide fishing damage the reef directly.
- Pollution and runoff. Fertilizers and sewage feed algae that smother corals, sediment from land clearing blocks light, and plastics and chemicals add more stress.
- Coastal development. Dredging, construction and land reclamation bury or remove reef habitat.
- Disease and predator outbreaks. Stressed corals are more vulnerable to disease, and crown of thorns starfish outbreaks can eat large areas of living coral.
Case Study: Four Global Bleaching Events Compared
To see how the biggest threat is changing, I charted the share of the world’s coral reef area that experienced bleaching level heat stress during each of the four global bleaching events on record. The figures come from NOAA Coral Reef Watch satellite monitoring, as reported by the Global Coral Reef Monitoring Network (GCRMN) in 2026.

What the data shows:
- The footprint has quadrupled. Heat stress reached 21% of the world’s reef area in 1998, 37% in 2010, 68% in the 2014 to 2017 event and 84% from early 2023 to mid 2025.
- The gaps are shrinking. Twelve years separated the first two events, but only about six years passed between the end of the third and the start of the fourth. Reefs need years to recover between bleaching events, and that recovery time is disappearing.
- It is truly global. NOAA documented mass bleaching in at least 83 countries and territories during the fourth event, which it confirmed on 15 April 2024.
- Losses were already visible before the latest event. The 2020 GCRMN status report found that global coral cover declined by 14% between 2009 and 2018.
My take as a biologist: the number to watch is not one bad year but the time between events. A reef that bleaches every few years never gets the decade or more that slow growing corals need to rebuild, so the community shifts toward fast growing, weedy species and seaweed. Local action, such as protecting grazing fish and cutting runoff, will not stop marine heatwaves, but it does decide which reefs keep enough healthy coral and grazers to recover once the water cools. One limit of this data: heat stress exposure is not the same as coral death. Some exposed reefs bleached only mildly and recovered, so the real loss from the fourth event will only be clear once field surveys are published.

Frequently Asked Questions
What lives in a coral reef ecosystem?
Corals, algae, sponges, sea anemones, fish, sea urchins, sea stars, crabs, shrimps, octopus, worms, sea turtles, sharks and huge numbers of microbes. Many species live their whole lives on a single reef.
How long does it take for a coral reef to form?
Individual corals grow from about 0.3 cm to 10 cm a year depending on their shape. A reef can take up to 10,000 years to form, and large barrier reefs and atolls take from about 100,000 to 30 million years.
What is the biggest threat to coral reefs?
Ocean warming from climate change, which causes mass bleaching. Overfishing, pollution, coastal development and ocean acidification add to the damage.
Are coral reefs plants or animals?
Corals are animals, related to jellyfish and sea anemones. They look plant like because they are fixed in place and because their partner algae photosynthesize inside them.
What is at the top of the coral reef food web?
Top predators such as reef sharks, groupers, barracuda and moray eels.
Sources
- NOAA Ocean Service, Corals tutorial: Types of coral reefs and coral distribution pages.
- Global Coral Reef Monitoring Network (2026), Fourth global coral bleaching event likely ended in 2025.

Erzsebet (Eli) Frey is a biologist with a BSc in Biology and an MSc in Ecology from the University of Belgrade. She has field and lab experience across Asia, the Middle East, Europe and South America and uses Python and machine learning on biological data. Based in Serbia, she writes BATAECO and also runs Simply Ecologist and Eco&Stylish.
