How do ants work together like one brain?

Why Ant Colonies Act Like One Brain

The forest floor, +4 m to 0 m 8 min read By Thatiswhy Team

The short answer

Ant colonies act like one brain because each ant reacts to simple local cues, like how often it meets nestmates, and those reactions add up to group decisions.

In this guide (6 sections)
  1. Doing the Wave With No One in Charge
  2. How Harvester Ants Decide When to Forage
  3. Why Eight Choices Break an Ant but Not a Colony
  4. The Same Ripple in Hearts, Hives and Brains
  5. Ant Colony Myths That Don't Add Up
  6. A Thought With Six Legs

Every morning in the southern Arizona desert, a red harvester ant colony makes a decision. Somewhere between 10,000 and 12,000 workers have to settle how many of them will march out to gather seeds today, or whether anyone should go at all. Each of them is steering with a brain the size of a poppy seed, and not one of them is giving orders.

Ant colonies act like one brain because each ant reacts to simple local cues, mostly how often it bumps into nestmates and what they smell like. No ant sees the big picture, but thousands of tiny reactions add up to group decisions, the same way billions of neurons add up to a thought.

You've almost certainly been part of a system just like this, and it happened in a stadium.

Doing the Wave With No One in Charge

The game has gone quiet. Over in one corner of the stands, a few dozen fans leap up with their arms in the air and sit back down. Their neighbors see it and do the same, then their neighbors, and suddenly a ripple is racing around the whole stadium. Nobody planned its path, and nobody can even see all of it from their seat.

Physicists took this apart in Nature. Illés Farkas, Tamás Vicsek and Dirk Helbing analyzed videos of 14 waves in soccer stadiums holding more than 50,000 people. A wave needed just 25 to 35 people to get started, and then it rolled along at about 20 seats every second. The rule each fan follows is almost embarrassingly simple: stand up when enough of the people around you are standing. One person standing beside you isn't enough. Get past that threshold, and up you go.

An ant colony runs on that same stadium rule. Every ant is a fan in the stands, watching only the few nestmates right beside it, and the colony's choices ripple out of their tiny reactions.

Here's where the stadium falls short, though. A wave carries no news; it loops around the stands until people get bored. When an ant reacts to a nestmate, that nestmate is carrying information, often literally, in the form of a seed in its jaws. The ants' wave is built out of news about the world.

Analogy illustration titled Why Ant Colonies Act Like One Brain. On the left, a stadium wave: fans in the stands rise with arms raised as the wave rolls to the right, each standing when their neighbors stand. On the right, a desert ant nest in the morning sun: ants touch antennae with returning nestmates at the entrance, then a line of ants heads out across the sand toward seeds, going when they meet enough returners, with no one in charge. No one leads, yet the whole crowd moves as one
Like a stadium wave, an ant colony moves as one without anyone in charge: each ant reacts to the nestmates it meets.

How Harvester Ants Decide When to Forage

Deborah Gordon of Stanford University has studied red harvester ants in the Arizona desert for more than 20 years, and she put the brain comparison more plainly than anyone. "An ant colony is like a brain in that there's no central control," she told Stanford's neuroscience podcast. No neuron tells the others what to do, and no ant tells the other ants what to do either.

So how does the decision get made? The answer starts with the fact that most ants can't see. They live in a world of smell, and they smell with their antennae. When two ants touch antennae, each one is reading the other's scent.

Glass Beads That Smell Like Good News

Early each morning, a crew of patrollers scouts the ground around the nest. When they come home, their return tells the foragers it's safe to head out. But a single encounter with a returning patroller won't move a forager. It takes a series of meetings, a quick drumbeat of them, before the forager steps outside.

What exactly is a forager smelling? Gordon and her colleague Michael Greene found the answer on the ants' outer skin. Every ant is covered in cuticular hydrocarbons, a thin film of simple carbon-and-hydrogen molecules, and the mix differs slightly from job to job. Patrollers literally smell like patrollers.

This next experiment is our favorite part of the story. The team coated tiny glass beads, each just 3 millimeters wide, with patroller scent and offered them to the foragers inside the nest. The foragers touched the beads with their antennae, and those little touches were enough to send them out to forage. Beads coated with the scent of ordinary nest workers, or with nothing at all, didn't have the same effect.

The ants weren't following a leader at all. They were counting how often they met a particular smell, and meeting about one patroller every 10 seconds seemed to do the trick.

Once foraging gets going, the same logic runs the food supply. A forager doesn't leave the nest until it gets enough contact with returning foragers carrying food. When seeds are plentiful, foragers come home fast, the encounter rate climbs, and more ants pour out. When food is scarce, the returns slow down and the colony quietly holds back.

Gordon points out that an ant assesses its rate of contact using the same kind of excitable dynamics that neurons use. A neuron fires when enough signals arrive from its neighbors, and a forager goes out under the very same kind of rule.

The Day the Nest Got Too Hot

Researchers at the Rockefeller University watched this kind of threshold appear in a completely different decision. Daniel Kronauer and Asaf Gal marked every ant in small colonies with colored dots, filmed them with a tracking camera, and carefully raised the temperature of the nest. The heat crept up and up. Then, all at once, the whole colony rushed out of the nest together.

A colony of 36 workers and 18 larvae reliably packed up and left at around 34°C (about 93°F). That's when the researchers got a real surprise. When the team changed the colony size from 10 to 200 ants, the trigger point moved, and colonies of 200 held out until the temperature passed 36°C (about 97°F). No single ant knows how big its colony is, yet the colony's decision depended on exactly that.

"It seems that the threshold isn't fixed. Rather, it's an emergent property that changes depending on the group size," Kronauer said. The team suspects that the chemical signals ants leave for one another, called pheromones, add up differently when more ants are present, and their math model shows the idea is plausible.

Illustrated diagram of how red harvester ants decide to forage, in three steps: 1, antennae touch for a smell check: in a nest tunnel two ants touch antennae, reading the job on a nestmate's skin, and returning patrollers mean it is safe to go out; 2, enough meetings, go out: one meeting is not enough, but about one patroller every 10 seconds is, and a stream of foragers pours out of the nest entrance; 3, food coming in keeps it going: foragers come home with seeds, and more food means more meetings and more ants heading out
A smell check at the antennae, enough meetings to go out, and food coming home to keep the flow going. See the detailed teaching diagram and printable PDF.

Why Eight Choices Break an Ant but Not a Colony

What Kronauer called an emergent property has a name of its own. Emergence is what scientists call it when a group shows an ability that none of its members has on its own. A single neuron can't remember your birthday, and a single ant can't decide how many foragers the colony needs today. Yet the brain remembers, and the colony decides.

The most striking proof comes from tiny Temnothorax rugatulus ants, which live in rock crevices in the American Southwest. When they move house, they're picky about the new cavity: entrance size, cavity size and darkness all count. Stephen Pratt and Takao Sasaki at Arizona State University built artificial nests and tested single ants against whole colonies. Sometimes the choice was between two nests, and sometimes it was among eight, with half of them unsuitable either way.

Individual ants did fine with two options and made much worse decisions with eight. Their tiny brains got swamped, the same information overload you feel scrolling through too many restaurant reviews. Whole colonies, though, did equally well with two nests or eight. The colony spread the work of comparing across many ants, so no single ant had to weigh every option, and the pieces still added up to one good answer. As Pratt put it: "What we really want is a more complete understanding as to how this society works as a kind of distributed brain."

That's the big rule behind swarm intelligence, the group smarts hiding inside every ant nest. Intelligence doesn't have to live in one place. Spread the thinking thinly across many simple units, give each one a threshold and a way to sense its neighbors, and a mind can appear where no single mind exists.

The Same Ripple in Hearts, Hives and Brains

Here's the part that still surprises us. When the physicists modeled the stadium wave, they borrowed the math scientists use for excitable media, systems where each piece fires once its neighbors push it past a threshold. Those same models were first built to describe forest fires and the waves of electricity that sweep through heart tissue. Fans, heart cells and foraging ants turn out to follow strikingly similar rules.

Honeybees run their own version. Foragers share news of good flower patches through the honeybee waggle dance, and the hive's choices grow out of thousands of those small exchanges. Fish do it too: a school of fish turns as one because each fish tracks only its closest neighbors.

Other ants push the idea into architecture. Army ants on the move build living bridges out of their own bodies, each ant locking in place when the traffic over it gets heavy. Termites raise mounds that work like air-conditioned cities with no architect anywhere in the colony. A slime mold that maps networks like an engineer does something similar without a single neuron. Together they make one of the best cases for why nature is the ultimate engineer: the smartest designs often have no designer.

Ant Colony Myths That Don't Add Up

Myth: The queen tells the colony what to do. The truth: A red harvester ant queen can live 20 years and produce thousands of new workers every year, but she doesn't run the colony. Decisions come from workers reacting to the ants around them, not from orders handed down.

Myth: Ants talk to each other and give instructions. The truth: Ants don't tell each other what to do when they meet. They read each other's scent, and each ant responds to how often it meets ants of a certain kind.

Myth: A colony works because every ant is a genius. The truth: One ant on its own stumbles when the choices pile up, as the eight-nest test showed. The colony's smarts come from how the ants are connected, not from any one brilliant worker.

Myth: A colony is literally one brain with a shared mind. The truth: There's no telepathy and no master ant. Colonies resemble brains because both make decisions from many simple units following threshold rules.

A Thought With Six Legs

Back in the Arizona desert, the sun is climbing over the harvester ant nest. Patrollers trickle home, foragers brush antennae with them, and a few at a time the foragers step out into the heat. No one counted heads, no one gave a speech, and still the colony decided.

Every single ant was just reacting to the nestmates right beside it, like one fan rising out of a seat. Yet together they made a choice that fits the day's dangers and the day's food. A thought, it turns out, doesn't need a skull to live in. Sometimes it walks around on six legs, ten thousand times over.

Key terms

Emergence
When a group shows an ability that none of its members has on its own, such as an ant colony deciding when to leave a hot nest although no single ant knows the colony's size.
Cuticular hydrocarbons
A thin film of simple hydrogen-and-carbon molecules on an insect's outer skin. In red harvester ants the mix differs slightly from job to job, so ants can smell what task a nestmate does.
Swarm intelligence
Smart group behavior that emerges when many simple individuals follow local rules, with no leader in charge.

Full glossary

Sources and further reading

  1. Ant colonies behave like neural networks when making decisions The Rockefeller University
  2. Where ant colonies keep their brains (Nicholas Weiler with Deborah Gordon) Wu Tsai Neurosciences Institute, Stanford University
  3. Cuticular Hydrocarbons Inform Task Decisions (Mark Shwartz) Stanford University News Service
  4. New research shows ants share decision-making to lessen 'information overload' Arizona State University, ASU News
  5. Doing the Wave (Ivars Peterson) Science News