Zombifying fungi have been infecting insects for 99 million years

Ancient amber trapped Ophiocordyceps spores bursting from a fly and an ant pupa 

Illustration of a forest scene from 99 million years ago where an adult worker ant carries a fungus-infected ant pupa, while a fly with a fungus bursting out of its back climbs up a tree.

An adult worker ant carries a fungus-infected ant pupa, while a fly with a fungus bursting out of its back climbs up a tree in this artist’s reconstruction of a fossil-inspired scene from 99 million years ago.

Dinghua Yang

Nearly 100 million years ago, a droplet of tree sap captured a gruesome scene: a fungus bursting out of the body of an ant pupa. This amber fossil suggests that the fungus famous for its ability to hijack its victims’ brains has been infecting ants twice as long as previously thought, researchers report June 11 in Proceedings of the Royal Society B.

Ophiocordyceps fungi infect insects like flies, caterpillars and ants. Dying fungus-infected ants suddenly develop the urge to leave their nest, climb up to a high leaf and bite down with a death grip. In one final gory moment, the fungus explodes out of the ant’s back, releasing spores that will infect the next unsuspecting victims.

Scientists have studied how these fungi infect insects and control their behavior — it’s even the inspiration for the zombie apocalypse in The Last of Us. But little is known about when this bone-chilling interaction first started.

The soft bodies of fungi rarely fossilize, says Conrad Labandeira, a paleontologist at the National Museum of Natural History in Washington, D.C., who was not involved in the research. So, finding a fossil of a fungus still inside an infected insect is very rare, he says.

That is why it was a stroke of luck when paleontologist Yuhui Zhuang stumbled across an amber fossil of a fungus-infected ant pupa while digging through his lab’s basement at Yunnan University in China. He first thought that what was sticking out of the ant pupa’s back was a developing wing, which ant queens and males have. He was surprised when a 3-D image of the fossil revealed a fungus sprouting out of one the antibiotic-producing glands ants have on their backs. This fungus was remarkably similar to modern-day “zombie fungi.” It had similarly shaped spores and they were growing out of a domelike structure that had burst from the insect’s back.

A subsequent search turned up a fungus-infected fly, also trapped in amber. It too bore the same similarities to modern-day Ophiocordyceps.

A headless fly with a zombie fungus sprouting out of its back trapped in a droplet of amber.
A fly with a zombie fungus sprouting out of its back was trapped in a droplet of tree sap 99 million years ago.Y. Zhuang et al/Proceedings of the Royal Society B 2025

Both fossils were 99 million years old. That suggests the ancestors of Ophiocordyceps were already infecting multiple groups of insects back then, says Labandeira.

“We think [these fossils] are one of the most important evidences for the coevolution between [insects] and Ophiocordyceps,” says Zhuang. The oldest fossil ant ever found is 113 million years old, so zombie fungi might have been infecting the ancestors of ants almost since their origin.

Ant pupae can’t move, so the fungus was probably not manipulating this fossilized ant’s behavior, cautions Zhuang. The pupa may have been removed from the nest by an adult worker that realized it was infected, he says. Once outside, the fungus would have had the chance to release its spores in search of its next victim.

“It’s a pretty gruesome story if you’re an ant or … a fly,” says Labandeira.