A moth with a brain just one-tenth the size of a grain of rice can cross more than 1,000 kilometers of darkness and still reach the caves it seeks in Australia’s Snowy Mountains. The grayish-brown bogong moth makes this journey each summer, despite never having visited its destination before. Researchers have now found that it has a built-in compass that senses Earth’s magnetic field.

The discovery adds a second known navigation tool to the moth’s remarkable nighttime journey. In 2025, a team led by Lund University showed that bogong moths use the stars of the Milky Way to find their way. The new study, published in Nature, shows that they can also read the direction of Earth’s magnetic field. Together, the two senses give the insects separate ways to stay on course when they migrate through the night.

The moth appears to use the magnetic inclination angle: the angle at which Earth’s magnetic field meets the ground. That angle changes from place to place. As a bogong moth travels south, the angle increases; as it moves north, the angle decreases. The researchers say this can provide information about direction, helping explain how the moths make a long trip without guides or prior experience of the route.

To test the moths, researchers caught migrating insects using a light source and brought them to a specially built laboratory near Adaminaby, in the Snowy Mountains of southeastern Australia. The lab was made entirely from nonmagnetic materials, so its structure would not distort Earth’s very weak magnetic field or overwhelm the moths’ sensitive ability to detect it.

The work was led by scientists at Lund University, with researchers from Carl von Ossietzky University Oldenburg, the Australian National University and the University of South Australia also taking part. The team describes the study as the most comprehensive investigation so far of how an invertebrate—a creature without a backbone—uses magnetic sensing to navigate.

The finding also offers a clue to a wider puzzle: how animals detect a field that people cannot see. Bogong moths and migrating birds seem to use a similar basic approach, even though insects and birds have evolved along separate paths for around 700 million years. Researchers say this may mean that some ancient biological mechanisms have been preserved over time. The moth’s compass is not the same as the magnetic sense found in desert ants, suggesting animals may have several different ways to read magnetic signals.

For Eric Warrant, a professor of zoology at Lund University, the overlap between insects and birds is striking: “It is remarkable that two such different groups of animals use the same basic principle to detect Earth’s magnetic field.” The researchers now hope to learn exactly how the moth’s magnetic sense works and how it combines with sight and other senses. Their next questions could help explain how animals make reliable journeys across long distances using signals hidden in the world around them.