The question of whether moths prefer darkness is a fascinating paradox, given the common sight of them fluttering around porch lights and streetlamps. The simplest answer is that most moths are indeed nocturnal creatures, meaning their lives are structured around the darkness for survival and reproduction. However, the presence of artificial light triggers a profound behavioral malfunction, drawing them into a chaotic, self-destructive pattern. This apparent attraction is not a preference for the light itself, but rather a misinterpretation of a navigational cue that has been hardwired into their biology for millions of years.
The Nocturnal Nature of Moths
Most of the world’s approximately 160,000 moth species are active at night, a behavior known as nocturnality. This nighttime activity provides a significant survival advantage by allowing them to avoid daytime predators, such as insectivorous birds. The darkness also provides access to a different set of food resources: night-blooming flowers that open and release their nectar and fragrance only after sunset. Moths are thus important pollinators. They navigate and feed in low-light conditions, relying on a sophisticated array of senses, including a highly developed sense of smell to locate mates through pheromones.
The Mystery of Light Attraction
The spectacle of moths swarming a lamp is an example of positive phototaxis. This behavior is counter-intuitive because it overrides their evolved instinct to remain hidden in the dark. When a moth encounters an artificial light, it essentially becomes trapped in a perpetual state of disorientation. The light provides a powerful visual stimulus that the moth’s sensory system cannot ignore, pulling the insect out of its natural behavioral patterns. This attraction is often strongest to light in the ultraviolet (UV) range, which is invisible to humans but highly visible to moths and is a common component of many artificial light sources. The resulting chaotic flight around the bulb is a consequence of their deep-seated navigational system failing in the presence of a nearby light source.
Navigating the Night Sky
The core scientific explanation is transverse orientation, or celestial compass navigation. Moths evolved to use distant light sources, such as the moon or stars, as a fixed reference point for flying in a straight line. They maintain a constant angular relationship to this light source, keeping the light at a specific angle—often at their back, a reflex called the dorsal light response—to establish a stable flight path. Because the moon and stars are practically at infinite distance, the angle to the light source remains constant. An artificial light is extremely close, and as the moth flies past it, the angle to the light changes rapidly. To correct its course and maintain the fixed angle, the moth instinctively steers inward, resulting in an ever-tightening spiral around the light source.
Human Impact on Moth Behavior
Artificial lighting has created a profound ecological disturbance known as light pollution. When moths are drawn to these lights, they waste energy that should be used for mating, foraging, and egg-laying. This energetic cost and behavioral disruption leads to reduced reproduction rates, as males may never find females if they are stuck orbiting a lamp. Moths congregated around lights also become easy targets for nocturnal predators, such as bats, which learn to hunt in these brightly lit “hotspots.” The light can also disrupt a moth’s biological clock, leading to temporal disorientation that interferes with courtship and feeding. The result is a documented decline in moth populations in various regions, highlighting how this simple navigational error, scaled up across the globe, poses a serious threat to these ecologically significant nocturnal pollinators.

