A dinosaur food chain shows who ate what, and which way the energy went. It starts with plants such as ferns, cycads and conifers (the producers), moves to a plant-eating dinosaur such as Triceratops (a primary consumer), and ends with a meat-eating predator such as Tyrannosaurus rex. Birds are living dinosaurs, so some of this story is still happening outside your window.
In this article you will meet the plants at the bottom of the dinosaur food web, the plant-eaters and predators above them, the energy rule that limits every chain, the fossil clues that reveal real meals, and what happened to it all 66 million years ago. If you are new to the idea, our guide to a food chain and food web covers the basics first.
A simple dinosaur food chain
Here is the classic dinosaur food chain that appears in many science lessons:
Fern → Triceratops → Tyrannosaurus rex
Each arrow means "is eaten by", and it shows the direction in which energy and biomass move. The fern captures energy from sunlight. Triceratops eats the plant and takes some of that energy. T. rex eats Triceratops and takes some of what is left. The chain is simplified, but it is a fair one: Triceratops and T. rex both lived in North America in the Late Cretaceous, about 68–66 million years ago.
Real ecosystems were never a single line. Every plant-eater ate several kinds of plant, and most predators ate several kinds of prey. Join many chains together and you get a dinosaur food web, which is a more realistic picture of the Mesozoic world.
The Mesozoic food chain, period by period
Dinosaurs lived in the Mesozoic Era, which is split into the Triassic, Jurassic and Cretaceous periods. The food chain changed a great deal across those three periods, because the plants, the plant-eaters and the top predators all changed.
| Period | Dates (million years ago) | Main producers | Plant-eaters | Top predators |
|---|---|---|---|---|
| Triassic | about 252–201 | Ferns, horsetails, conifers, cycads, ginkgoes, seed ferns | Rhynchosaurs, dicynodonts, early plant-eating dinosaurs | Large rauisuchians (crocodile-line reptiles), early meat-eating dinosaurs such as Herrerasaurus |
| Jurassic | about 201–143 | Conifers, cycads, ginkgoes, ferns, horsetails | Sauropods, Stegosaurus | Allosaurus |
| Cretaceous | about 143–66 | Conifers, cycads, ferns; flowering plants from about 130–135 million years ago; grasses only at the very end | Triceratops, duck-billed dinosaurs, armoured dinosaurs, titanosaurs | T. rex, Baryonyx, Spinosaurus |
The Mesozoic began after the end-Permian extinction, the biggest mass extinction in Earth’s history, which is linked to huge volcanic eruptions in Siberia. You can read about it in our article on the five mass extinctions. The era lasted about 186 million years (from about 252 to 66 million years ago). Non-avian dinosaurs, meaning all the dinosaurs except birds, were around for about 165 million years of it.
Some older books place the Jurassic–Cretaceous boundary at about 145 million years ago, while the latest international chart gives about 143. Both figures are still in use, so do not be surprised to see either one.
The very first dinosaurs appeared in the Late Triassic, about 230 million years ago. They were not the rulers of that world. At Ischigualasto in Argentina, dinosaurs make up only about 6% of the fossil land animals, and the top predators included large rauisuchians. The main Triassic plant-eaters were other reptiles and their relatives. Dinosaurs became dominant only in the Jurassic. For a long list of names to explore, try our list of all the dinosaurs.

Producers: what was at the bottom of the dinosaur food chain?
Every dinosaur food chain begins with producers: living things that make their own food. On land, that means plants. They do this by photosynthesis, using sunlight, water and carbon dioxide to make sugars. Even so, plants capture only about 1% of the light energy that falls on them, so the energy available for the whole chain is small from the start.
In the Triassic and Jurassic, the plant menu was dominated by ferns, horsetails, club-mosses, conifers, cycads and ginkgoes. There were also seed ferns and cycad-like plants called bennettitaleans. Many of these had leaves that animals could eat, including evergreen conifers, ferns, horsetails, cycads and ginkgoes. The monkey puzzle tree (Araucaria) is a living member of an ancient conifer family, and a forest of them gives a good feel for the dinosaurs’ world.
Ginkgoes were common in the Mesozoic, and Ginkgo biloba is the only living species of its group.

No grass on the menu (almost)
Think of a dinosaur and you might picture it grazing on a grassy plain. That picture is wrong for most of the dinosaur age. Grasses only turn up right at the end of the Cretaceous. Tiny silica bodies from plant cells, called phytoliths, from at least five groups of grass have been found in Late Cretaceous fossil dung from India, probably left by titanosaurs (long-necked sauropods). Those same animals also ate conifers, palms and other flowering plants, so grass was only a small part of the diet.



Flowers arrive late
Flowering plants (angiosperms) appeared in the Early Cretaceous, about 130–135 million years ago, and spread later. The earliest widely accepted evidence is fossil pollen about 134 million years old. From the middle of the Cretaceous they spread quickly, and by the end of the period they were the dominant land plants. So the earliest dinosaurs lived long before any flowers, while the last ones lived among them.

That change mattered for the food chain. The Cretaceous menu was wider than the Jurassic one, because flowering plants added new leaves, fruits and seeds to the mix. The next section looks at the animals that ate those plants, and at how scientists sort the whole cast into trophic levels.
Trophic levels in the dinosaur food web
Scientists sort the living things in a food web into feeding steps called trophic levels. The wording below follows the GCSE biology specification, with a dinosaur-age example for each level.
| Trophic level | Meaning | Dinosaur-age example |
|---|---|---|
| Producer | Makes its own food | Ferns, cycads, conifers |
| Primary consumer | A herbivore: eats producers | Triceratops, Stegosaurus, sauropods |
| Secondary consumer | A carnivore that eats herbivores | T. rex eating Triceratops; Allosaurus eating Stegosaurus |
| Tertiary consumer | A carnivore that eats other carnivores | A predator eating another meat-eater |
| Apex predator | A carnivore with no predators of its own | An adult T. rex |
| Decomposer | Breaks down dead plant and animal matter using enzymes | Fungi and bacteria; dung beetles and snails helped recycle dung |
One animal can sit on more than one level. A T. rex that ate a plant-eater was a secondary consumer, and the same T. rex eating another meat-eater was a tertiary consumer. Some "plant-eaters" may also have been omnivores, so the labels are a useful guide rather than a strict rule. For more on how diets are labelled, see our article on herbivores, carnivores and omnivores.
Primary consumers: the plant-eating dinosaurs
Most dinosaurs were plant-eaters. Research from the Natural History Museum counted more than 180 species that preferred plant-based diets. Every one of them was a primary consumer, so the bottom of the animal part of any dinosaur food web was crowded with herbivores.
Sauropods: the long-necked giants
The best look inside a sauropod comes from Diamantinasaurus, nicknamed "Judy". She was a subadult about 12 m long, found in the Winton Formation in Queensland, Australia, in rocks about 101–94 million years old. Her fossil gut contents were the first genuine sauropod gut contents ever found. They held conifer foliage, fruiting parts of seed ferns and leaves of flowering plants. There were many small shoots and pods, which suggests she favoured new growth.
There was little sign of chewing. Sauropods did little chewing in their mouths. They seem to have relied on fermentation in the gut to break it down.
Armoured and horned dinosaurs
Borealopelta was an armoured dinosaur (a nodosaur) from Alberta in Canada, about 110 million years old. Its stomach still held its last meal. About 85% of it was fern leaves, mostly from one type of fern, which suggests it was a choosy eater. There were also some cycads, a little conifer, and about 6% charcoal, possibly from grazing on regrowth after a wildfire. It also contained gastroliths, which are stomach stones. The animal ate its last meal in early to mid summer.
Triceratops was a Late Cretaceous plant-eater about 9 m long and about 10,000 kg. It had a horny beak for snipping plants and back teeth that sheared and ground. The Natural History Museum lists tough palm fronds among its foods.
Stegosaurus: a plant-eater that fought back
"Sophie" at the Natural History Museum in London is a Late Jurassic Stegosaurus, about 150 million years old and found in Wyoming in 2003. She is more than 85% complete, about 5.6 m long, with a body mass estimated at about 1,600 kg. Stegosaurus lived alongside the predator Allosaurus, and the fossils suggest the plant-eater could hit back. An Allosaurus tail bone from Utah has a healed hole that a Stegosaurus tail spike fits.



Secondary consumers and apex predators
The star of the Late Cretaceous predators is Tyrannosaurus rex. The Natural History Museum gives it a length of about 12 m and a mass of about 7,000 kg, with about 60 saw-edged, bone-crushing teeth. Fossils come from Canada and the USA. SUE, the famous skeleton at the Field Museum in Chicago, is more than 40 ft (about 12 m) long, about 4 m tall at the hip, and about 90% complete. She lived to about 28 years old.

With teeth like that, T. rex sat at the top of its food chain. Most palaeontologists now see it as both a predator and a scavenger, taking live prey when it could and a free meal when it found one. The fossil evidence, from fossil dung to bite marks, is set out in the section on how scientists know what dinosaurs ate.
Predators did not all eat the same food, or even the same food at different ages. A young Gorgosaurus, a tyrannosaur, had the hind legs of two young, small bird-like dinosaurs (Citipes) in its stomach. Scientists think juvenile tyrannosaurs hunted small, agile prey, while adults took large plant-eaters. So the young and the adults of one species sat in different places in the dinosaur food web.
Not every predator fits a neat label either. Baryonyx was found in Surrey in 1983, and the rocks are about 125 million years old. It was about 10 m long and about 2,000 kg, with a crocodile-like snout and a big claw. Its abdominal region held fish scales and Iguanodon bones, so it ate fish and other dinosaurs. That links the food chain of the river to the food chain on land.
Mammals joined in too. Repenomamus robustus was an Early Cretaceous mammal from China, and one fossil has a juvenile Psittacosaurus in its stomach area. A 2023 fossil shows a Repenomamus locked in combat with an adult Psittacosaurus, which suggests active predation. Mammals were small in the Mesozoic, but some were meat-eaters, and a few of them ate dinosaurs.

Sea and sky: food chains of reptiles that were not dinosaurs
Many people picture a pterosaur or a sea monster in a dinosaur scene. They are not dinosaurs, so they do not belong in a dinosaur food chain. Pterosaurs were flying reptiles. Dinosaurs did not evolve into pterosaurs, or the other way round. They shared a common ancestor. Pterosaurs appeared about 215 million years ago, in the Late Triassic, and survived until 66 million years ago. Some ate fish like seabirds do. Some had meat-tearing jaws and may have hunted on land like herons, and a few may have filter-fed on tiny shrimp-like animals. Quetzalcoatlus had a wingspan of around 11 m.
The same goes for ichthyosaurs, plesiosaurs and mosasaurs. These were marine reptiles, and all true dinosaurs lived on land. Mosasaurs are most closely related to lizards and snakes. For a tour of the Jurassic seas, see our piece on Jurassic sea monsters.
What did they eat? The stomachs of Lyme Regis ichthyosaurs, from the Dorset coast, contain masses of tiny hooklets from the arms of squid-like animals called cephalopods. Some also hold fish scales, and so do their fossil droppings. A newborn Ichthyosaurus communis, about 199–196 million years old, even had squid-arm hooks among its ribs. That gives a simple sea food chain:
Plankton → small fish and squid-like animals → ichthyosaur
The ocean chain worked on the same rules as the land chain. Our guide to ocean food chains and food webs shows how it looks in the sea today.



Energy and the dinosaur food pyramid
Energy does not pass along a food chain without loss. In the GCSE biology specification, only approximately 10% of the biomass from each trophic level is transferred to the level above. A pyramid of biomass shows this: the plants at the bottom form the widest layer, the plant-eaters above them form a narrower one, and the predators at the top form the narrowest. Our lesson on food pyramids shows how to draw one.
The rest is lost for several reasons. Not everything an animal eats is absorbed, because some leaves the body as faeces. Some absorbed material is lost as waste: carbon dioxide and water from respiration, and water and urea in urine. Some parts of the food are never eaten at all. For more on this, see our article on the importance of food chains and energy flow.
A worked example (an illustration, not real Mesozoic data)
Nobody can measure the plant biomass of a Cretaceous forest, so here is a made-up example to show the arithmetic. Suppose a patch of land produces 1,000,000 kg of plant material, and each step passes on 10%:
1,000,000 kg of plants → 100,000 kg of plant-eaters → 10,000 kg of meat-eaters
Now turn those masses into animals. Triceratops weighed about 10,000 kg, so 100,000 kg of plant-eaters is the weight of about 10 of them. T. rex weighed about 7,000 kg, so 10,000 kg of meat-eaters is only about one and a half T. rex. The numbers are invented, but the pattern is real: the higher the trophic level, the less biomass the habitat can support.
Calculate the efficiency of biomass transfer if 50,000 kg of herbivores supports 4,000 kg of carnivores. (2 marks)
Efficiency = biomass transferred ÷ biomass available × 100. So 4,000 ÷ 50,000 × 100 = 8%.
Why T. rex was rare
The same rule explains why top predators are never common. A study by researchers at the University of California, Berkeley estimated that about 20,000 adult T. rex were alive at any one time. The estimate comes with a very wide range, from about 1,300 to about 328,000. Over the whole existence of the species, they estimated about 2.5 billion T. rex lived and died. Yet only about 100 individuals have been found as fossils, because fossilisation is rare.
A pyramid of numbers can have a different shape from a pyramid of biomass. One huge sauropod fed on a great many plants, so counting animals gives a very different picture from weighing them. That is why biomass is the fairer way to compare trophic levels.
The dinosaurs came in many sizes. How long were they?
How do scientists know what dinosaurs ate?
No one watched a Triceratops eat a fern, so scientists work like detectives. They combine several kinds of evidence, and each one answers a different question. The best conclusions come when two or more kinds agree.
Teeth and jaws
Teeth are the first clue. The saw-edged teeth of T. rex were built for slicing flesh and crushing bone. The beak and shearing back teeth of Triceratops were built for cutting and grinding plants. A study in 2009 by researchers at the Natural History Museum in London and the University of Leicester went further. They looked at microscopic scratches on 13 teeth of Edmontosaurus, a duck-billed dinosaur. Four sets of scratches showed that the jaws moved in a complex chewing motion. The team suggested these dinosaurs grazed on low-growing, gritty plants such as horsetails, rather than browsing on leaves high up. The chewing result was more certain than the diet conclusion.
Coprolites (fossil dung)
Fossil droppings are called coprolites, and they are a direct record of a meal. A giant coprolite from Saskatchewan, Canada, was reported in 1998. It was more than twice as large as any carnivore coprolite found before, and 30–50% of it was bone fragments. The bone most likely came from a young plant-eating dinosaur. The scientists attributed it to a tyrannosaur, most likely T. rex.
Coprolites also record plant-eaters. Earlier in this article, grass phytoliths in titanosaur dung showed that grass was a small part of their diet. Dung can reveal decomposers too. Late Cretaceous coprolites from Montana, made mostly of conifer wood, are riddled with burrows filled in by dung beetles, and snails fed on the dung as well. In other words, insects and snails were recycling dinosaur waste. Our article on whether insects are animals explains where beetles fit in the animal kingdom.


Stomach contents
Sometimes a fossil keeps its last meal. Borealopelta, Diamantinasaurus, a young Gorgosaurus and Baryonyx all did, and what they ate is described above. These finds are rare, but they are the nearest thing to seeing the animal eat.
Bite marks and broken teeth
Bones can carry the marks of a predator. A Triceratops pelvis from Montana carries 58 definite T. rex bite marks, and about 22 more that are possible. A T. rex tooth crown has also been found stuck in the tail bone of a duck-billed dinosaur (probably Edmontosaurus) in South Dakota. There is healed bone around the tooth, so the prey survived the attack. That is evidence that T. rex hunted living animals as well as scavenging.

Chemical clues (isotopes)
Even the chemistry of a tooth holds clues. Researchers measured calcium isotopes in tooth enamel from Morocco (rocks about 100 million years old) and Niger. Spinosaurids such as Spinosaurus fed mainly on aquatic prey such as fish. Abelisaurids and carcharodontosaurids ate mainly land prey. Sarcosuchus, a giant relative of crocodiles, ate both. The predators seem to have shared out the food, which reduced competition between them.

Use this checklist to see whether you can name all the kinds of evidence:
- Teeth and jaws: their shape shows how an animal could feed
- Tooth microwear: tiny scratches show how the jaws moved
- Coprolites: fossil dung shows what was really swallowed
- Stomach contents: a last meal preserved in the body
- Bite marks: scars on the bones of prey
- Isotopes: tooth chemistry shows the type of food
How the dinosaur food web collapsed 66 million years ago
The dinosaur food web ended 66 million years ago, when an asteroid between 10 and 15 km wide hit what is now the Yucatán Peninsula in Mexico. It left the Chicxulub crater, which is about 150 km across and now largely buried. Around 75% of Earth’s animals died out.

The collapse was a food-chain story. Soot in the air reduced the sunlight reaching the surface, though it did not block it completely. With less light, plants grew poorly. Plant-eaters struggled, and then the carnivores lost their food. Every land animal over 25 kg died out, and large mammals did not reappear until about 15 million years later.
This was a bottom-up collapse, because the damage started with the producers and worked its way upwards. It is the opposite of a top-down trophic cascade, where removing a predator changes the levels below it. Our article what is a trophic cascade? explains that idea.
Plants fared better than animals, because seeds and pollen can survive harsh conditions. Food chains were not all hit equally either. One explanation is that food chains based on dead material (detritus) were partly protected, while chains based on living plants crashed. Freshwater groups lost roughly 10–20%, against up to about half in marine groups.
The dinosaurs did not vanish completely. Birds are living dinosaurs, and they came through the extinction. For one of the best-known early links, read about Archaeopteryx, a famous fossil in the story of how birds evolved from dinosaurs.
Dinosaur food chain vs a modern food chain
Compare the dinosaur chain with a modern one:
Fern → Triceratops → Tyrannosaurus rex
Grass → zebra → lion
The logic is the same in both. A producer captures energy, a herbivore eats it, and a carnivore eats the herbivore. Top predators are rare in both, because so little energy reaches the top. The big difference is the plants. Grasses dominate African savannas today, but they were only a minor food in the Cretaceous.

Dinosaur food chains for KS3 and GCSE
Food webs are part of the England national curriculum. At Key Stage 3, pupils study the interdependence of organisms in an ecosystem, including food webs, and how changes in the environment may lead to extinction. At Key Stage 2, Year 6 pupils learn that fossils give information about living things that inhabited the Earth millions of years ago. Dinosaurs are a good way into all of these.
Examiners usually want the same things: arrows pointing to the eater, correct trophic level names, a clear efficiency calculation, and a sensible explanation of interdependence. Try these two questions. Tap each one to reveal a model answer.
In the food web, explain what would happen to T. rex numbers if a disease killed most Edmontosaurus. (3 marks)
There would be less food for T. rex, so its numbers would fall. Some might switch to other prey such as Triceratops, which would increase competition for that prey. The plants that Edmontosaurus ate might increase because fewer of them were being eaten.
Give two reasons why less biomass reaches T. rex than Triceratops. (2 marks)
Any two from: some of the food is not absorbed and is lost as faeces; some biomass is lost as carbon dioxide and water in respiration; some is lost as water and urea in urine; not all parts of the organisms are eaten.
For more practice, use our food chain worksheet.
Frequently asked questions about the dinosaur food chain
What is a dinosaur food chain?
A dinosaur food chain shows who ate whom in the dinosaur age and which way the energy flowed. A typical example is fern → Triceratops → Tyrannosaurus rex. The plant is the producer, the plant-eater is the primary consumer, and the meat-eater is a secondary consumer and, here, the apex predator.
What was at the bottom of the dinosaur food chain?
Plants were at the bottom, because they are producers that make their own food by photosynthesis. In the Triassic and Jurassic the main plants were ferns, horsetails, conifers, cycads and ginkgoes. Flowering plants appeared in the Early Cretaceous, about 130–135 million years ago, and spread later.
What did plant-eating dinosaurs eat?
They ate ferns, horsetails, cycads, conifers and, later, flowering plants. Fossil stomach contents show this. Borealopelta had mostly fern leaves, Diamantinasaurus had conifers, seed ferns and flowering plants, and Triceratops is listed as eating tough palm fronds.
Did dinosaurs eat grass?
Hardly any did. Grasses appeared only at the very end of the Cretaceous. Grass phytoliths have been found in Late Cretaceous fossil dung from India, probably from titanosaurs, but grass was a small part of their diet. Those titanosaurs also ate conifers, palms and other flowering plants.
Was T. rex at the top of the food chain?
Yes, an adult T. rex was an apex predator in its ecosystem, which means no other animal hunted it. Young tyrannosaurs, though, ate smaller prey and were part of the food web at a lower level. All this explains why T. rex was always much rarer than the plant-eaters it ate.
Did T. rex hunt or scavenge?
Most palaeontologists now think T. rex did both. A tooth embedded in a duck-billed dinosaur’s tail bone, with healed bone around it, shows that the prey survived an attack, which is evidence of hunting. Like many large predators, it would also have taken a free meal when it found one.
Were most dinosaurs herbivores?
Yes. Research from the Natural History Museum found more than 180 species that preferred plant-based diets, and most dinosaurs were plant-eaters. Some of these "plant-eaters" may in fact have been omnivores. Because herbivores were so numerous, they were the main food for the predators above them.
Were pterosaurs and plesiosaurs dinosaurs?
No. Pterosaurs were flying reptiles, and plesiosaurs, ichthyosaurs and mosasaurs were marine reptiles. All true dinosaurs lived on land. They shared a common ancestor with some of these groups, but they were separate branches. Birds, however, evolved from dinosaurs, so birds are living dinosaurs.
How do scientists know what dinosaurs ate?
They combine several clues: tooth shape, microscopic wear scratches on teeth, fossil dung (coprolites), preserved stomach contents, bite marks on bones, and calcium isotopes in tooth enamel. When two or more kinds of evidence agree, such as a tooth shape and a fossil meal, the conclusion is much stronger.
What happened to the dinosaur food web when the asteroid hit?
About 66 million years ago, soot reduced the sunlight reaching the surface, which harmed plant growth. Herbivores struggled, then carnivores lost their food, and ecosystems collapsed. Around 75% of animals died out, including all land animals over 25 kg. Birds, which are living dinosaurs, survived.



