Wonders of Nature Astronomy & Space No background needed 7 min read

How does a dung beetle roll straight on a pitch-black night?
― A tiny insect reads the Milky Way to find its bearings

On the African savanna at night, a dung beetle rolls its ball straight away from the dung pile, never losing its way. Fit it with a tiny cap over its eyes, and it instantly gets lost. What this insect was watching wasn't the ground — it was the sky. And not the moon, but the Milky Way.

Published: 2026.10.06 Difficulty: ★☆☆ (no background needed) Formulas appear only in the final collapsible section
First, picture this scene

Imagine standing blindfolded in a wide-open field on a pitch-black night. Told to "walk 100 steps in a straight line," most people would veer badly off course.

Yet on the night-time grasslands of South Africa, an insect no bigger than a thumbnail pulls it off. It carves a ball from a pile of animal dung, then pushes it backward while standing on its head, moving away in an almost perfectly straight line.

No looking ahead, no map, not even a moon in the sky. What is this insect using to keep "straight" straight?

Just two reasons

1
Going straight is simply the best strategy

Around a dung pile swarm rivals eager to steal a freshly rolled ball. For the same number of steps, the route that puts the most distance between you and the pile is a straight line.

2
It uses the sky's "bright band" as a landmark

Dung beetle eyes are thought to struggle at picking out individual stars. Experiments showed that instead, they use the direction of the Milky Way's band of light as a cue.

Let's start with why going straight matters so much, then move on to the landmark in the sky that makes it possible on the darkest nights.

Wander off course, and you never escape the dung pile

For a dung beetle, a dung pile is a treasure trove of food and material for raising young. That means fierce competition, and a freshly rolled ball is often stolen by another beetle. So once a ball is made, the beetle wants to get away from the pile as fast as possible.

This is where "direction" matters enormously. If the direction changes randomly with every push, much of the distance covered cancels itself out. Try moving the slider in Figure 1. As you increase the number of pushes, the arrow showing straight-line travel keeps growing longer. Meanwhile, the distance reached with random directions (the dotted circle) barely grows at all.

Dung pile Thick arrow: pushed the same way each time (straight) → 4.9 m from pile Dotted circle: random direction each time → averages about 0.7 m Same number of pushes, but straight goes about 7x farther Assumes 10cm per push
Move the slider to change the gap between the arrow and the circle
Figure 1: Distance covered rolling a ball from the dung pile (left edge). The thick arrow shows pushing the same direction every time; the dotted circle shows the average distance when direction is random each time. Quadruple the number of pushes with the slider, and the arrow quadruples in length — but the circle only doubles.

After 49 pushes, going straight gets you about 5 metres away. With random directions, you'd average less than a metre. This gap widens the more pushes you make. For a dung beetle trying to protect its ball, going "straight" is a survival skill.

On moonless nights, the landmark was the Milky Way

By day, dung beetles use the sun's position as a landmark. At night, a 2003 study reported that they use the moon, or the pattern of "aligned light direction" (polarization) created when moonlight scatters in the air.

The puzzle was moonless nights. Even then, some dung beetles rolled in a straight line. A research team from Sweden and South Africa ran a bold experiment: they brought the beetles into a planetarium in South Africa and compared how they rolled under different projected skies.

The results looked like Figure 2. Under a full starry sky, the beetles rolled straight. With only the band of the Milky Way projected, they rolled just as straight. But when only bright stars were shown, with the Milky Way erased, they began to wander. Outdoors too, fitting a tiny cap over the eyes to block the sky sent the path badly off course.

A night with the Milky Way visible Uses the bright band's direction as a landmark Moves straight away from the pile With a tiny cap over the eyes Sky is hidden Winds around the pile
Figure 2: On the left, a night with the Milky Way visible. Using the diagonal bright band as a landmark, the dotted path runs straight. On the right, a tiny cap over the eyes, and the path winds back and forth around the pile (this is a schematic illustration of the study's results, not an actual recorded path).

What matters here is that the dung beetle isn't remembering "which star" it is. It isn't searching for a destination either. The direction it ends up going doesn't matter — the only goal is "keep the direction you've already chosen." For that, all you need is for one side of the sky to be a little brighter than the other. The Milky Way happened to be a perfect, oversized landmark for the job.

💡 The "dance" atop the ball

Before it starts rolling, a dung beetle climbs onto the ball and spins in place. It's thought to be scanning the sky to choose its direction. If it bumps into an obstacle and its bearing gets thrown off midway, it climbs back onto the ball and resets its direction.

💡 The opposite trick to a human sailor's

Human sailors found their heading by memorizing a single, unmoving star, like the North Star. Dung beetles don't memorize constellations — they use only the direction of the band's overall brightness. The Milky Way does drift slowly across the sky over the course of a night, but if the rolling is done in a few minutes, that drift barely matters.

Summary

Dung beetles move in a straight line away from the dung pile so their ball isn't stolen. Wander off course, and no amount of extra pushing gets you very far. On moonless nights, what supports that "straightness" is the faint band of the Milky Way crossing the sky. Even eyes too small to pick out individual stars can read the direction of the band's brightness.

The Milky Way we look up at and find beautiful,
this insect uses every single night as a compass.

For why the North Star has long guided people, see "Is the North Star really the brightest star?"; for why the Milky Way is less visible on autumn nights, see "Why are there so few bright stars in the autumn sky?"

🧪 Try "going straight" with your eyes closed
  1. In a wide, safe space (a grassy park or school field), stand facing a landmark directly ahead. Mark your starting spot.
  2. Close your eyes and walk slowly, 30 steps, straight toward the landmark. Always have someone watching nearby for safety.
  3. Open your eyes and see how far off you ended up. Then try again with eyes open, fixed on a single distant point, and compare how far you drift.

You'll feel firsthand how much easier it is to walk straight with just one landmark. On a clear, dark night, try finding the Milky Way somewhere away from city lights — you'll get a sense of just how large the "band" is that the dung beetle is reading.

Want to know more? ― Terms, formulas, and links to the textbooksWe mark clearly which level each part belongs to, from middle-school science to university specialist courses
How to read the labels below
  • MSCovered in middle-school science
  • HSCovered in high-school "Physics" or "Biology"
  • HS+Advanced high-school content, or a textbook sidebar topic
  • Univ.Not covered in high school — university specialist topics (probability theory, sensory physiology)
  • ResearchNot yet settled even at university level — an active area of ongoing research

MSTerms: this phenomenon has names

MSHSChecking it with a formula: how big is the gap between straight and random?

Let ℓ be the distance the ball travels per push, and N the number of pushes. If the direction is the same every time, the distances simply add up. If the direction is random each time, the average distance can be estimated with the formula below. To make the numbers easy to follow, we'll assume each push moves the ball 10cm (the real value depends on the beetle's size and the ground).

⓪ The basic formula
In symbolsStraight: D = ℓ × N / Random: D ≒ ℓ × √N
In wordsDistance from the pile = distance per push × number of pushes. If direction is random, distance ≒ distance per push × the square root of the number of pushes
Where the formula comes fromRandom-direction steps cancel each other out on average. What survives the cancelling is the sum of "distance squared," which grows in proportion to the number of pushes, giving ℓ² × N. Taking the square root of that gives the average distance

Symbols: D is distance from the pile (cm), ℓ is distance per push (cm), N is the number of pushes. All calculated in cm.

① Starting figures
Distance per push ℓ (assumed)10 cm
Number of pushes N100
Square root of 10010
② Working it out
Distance when pushed straight10 × 100 = 1000 cm (10 m)
Distance with random direction10 × 10 = 100 cm (1 m)
How many times the difference1000 ÷ 100 = 10 times
Pushes needed to reach 10 m with random direction (N = the square of the multiplier)100 × 100 = 10000 pushes

With the same 100 pushes, going straight gets you 10 times farther. Covering that same 10m with random directions takes 100 times the effort. The gap widens the more pushes you make. Simply not getting lost is, by itself, a major advantage.

HSHS+The "sky landmark" for holding a direction

HSThinking of movement as the sum of vectors, arrows pointing the same way simply add their lengths. Arrows pointing in random directions cancel each other out. The gap between the arrow and the circle in Figure 1 is exactly this difference in vector addition. As animal behaviour goes, a "sun compass" — holding a fixed angle relative to the sun as you move — is also known in honeybees and migratory birds.

HS+Sunlight and moonlight become polarized when they scatter off air molecules. The direction of polarization at any point in the sky is determined by the position of the sun or moon. Insect compound eyes are thought to have a region along the upper rim (the dorsal rim area) that senses this polarization, and dung beetles are thought to use the polarization of moonlight as a landmark too.

Univ.Random walks and the insect sky compass

Movement with a randomly changing direction is called a random walk in probability theory. The property that the average of the squared distance from the starting point (the mean squared displacement) grows in proportion to the number of steps takes the same form as diffusion of molecules in a liquid. Meanwhile, how dung beetles hold their bearing isn't "navigation" toward a destination — it's classified as straight-line orientation (menotaxis), simply maintaining a chosen direction. Nocturnal species are thought to have eyes built to gather more light, keeping sensitivity high even in dim conditions.

📖 For the derivation of the formula and further reading: Random walk (Wikipedia, Japanese) / Polarization (Wikipedia, Japanese)

ResearchWhat's still not fully understood

In other words, even this article describes things "as currently understood." Exactly how such a tiny brain reads the sky is still being worked out.

Links to the textbooks (by level)

LevelSubject / unitWhere in this article
MSScience, "Earth and Space," "Animal Body Structure"What the Milky Way is, insect eyes
HSPhysics "Vector addition," Biology "Animal behaviour"The arrow and circle in Figure 1, sun compass
HS+Physics "Polarization of light"Polarization of moonlight
Univ.Probability theory, sensory physiology / ethologyRandom walk, straight-line orientation
ResearchAnimal navigation researchCombining sky cues, light pollution
―Connection to daily lifeHow even humans can't walk straight without a landmark, night-sky brightness

※This article is a general-audience science explainer. The figures given are approximate, meant to aid understanding of the underlying mechanism. The distances in Figure 1 are a schematic calculation assuming 10cm of travel per push.