The sight of nocturnal insects circling a porch lamp is a common and puzzling observation. This phenomenon, which appears to be a simple attraction, is actually a complex error rooted in the biology and evolutionary history of these creatures. Insects gather at artificial lights not because they are inherently drawn to the light, but because modern light sources interfere with their basic survival mechanisms. Understanding this behavior requires looking back at how insects evolved to use natural light for orientation.
Phototaxis: The Basic Drive
The initial movement toward or away from a light source is a biological response known as phototaxis. This directional movement is exhibited by many organisms in response to light stimuli. Moths, flies, and many other flying insects are positively phototactic, instinctively directing their bodies toward increasing light intensity. This drive is beneficial for organisms that rely on light for energy or to find open spaces. Not all insects share this response; species like cockroaches are negatively phototactic, moving away from light to seek dark, protected environments and avoid predators.
Celestial Navigation and Transverse Orientation
For flying insects, light acts as a celestial compass for maintaining a straight flight path. This innate mechanism is called transverse orientation. The insect maintains a constant angular relationship between its flight direction and a distant light source, such as the moon or the sun. Because the moon and sun are millions of miles away, the light rays that reach Earth are essentially parallel. This allows the insect to fly in a straight line, which is crucial for activities like migration, foraging, or locating mates.
Dorsal Light Response
Insects also use light for spatial orientation, a process sometimes referred to as the dorsal light response. This mechanism involves keeping the brightest light source, which in nature is the sky, toward their dorsal side, or back. By instinctively keeping the light above them, insects maintain a stable flight attitude. This ensures they know which way is up and prevents them from flying upside down.
The Disruptive Nature of Artificial Light
The problem arises when an insect encounters an artificial light source, such as a porch lamp or street light, because its ancient navigation system is confused. Unlike the distant moon, which provides parallel light rays, a nearby lamp emits light that radiates outward from a point source. This proximity invalidates the principles of transverse orientation. When the insect attempts to maintain a fixed angle relative to this close light, the angle rapidly changes. To correct this perceived error, the insect constantly turns inward, forcing it into the characteristic spiraling flight path that draws it closer to the lamp.
Recent research suggests that a primary disruption is the insect’s attempt to keep its dorsal side toward the artificial light. If a light is directly below or to the side, the insect tilts its body to keep its back toward the brightest source. This response, which normally stabilizes flight, can cause the insect to fly in tight circles, stall mid-air, or flip upside down and crash. The insect is not intentionally seeking the light; it is trapped in a constant state of navigational failure as it tries to maintain orientation.
Light Spectrum and Insect Vision
The intensity of an insect’s attraction is also heavily influenced by the specific colors, or wavelengths, of light emitted by the source. Insect eyes contain photoreceptors fundamentally different from those in human eyes. Many insects, particularly nocturnal species, have peak sensitivities to shorter wavelengths of light. This means they are highly sensitive to ultraviolet (UV) light, which is invisible to humans, as well as violet and blue light. These short wavelengths are naturally abundant in sunlight and moonlight, and they are sometimes used as visual cues for openings or clear areas.
Consequently, artificial light sources that emit significant UV and blue light, such as mercury vapor lamps or certain “cool white” LEDs, are disproportionately attractive to insects. Conversely, warmer-toned sources, such as yellow or red light, have much longer wavelengths that fall outside the peak sensitivity range for most insects. While these lights do not actively repel insects, they are significantly less visible and therefore cause far less navigational confusion. The physiological tuning of the insect eye to the short-wavelength end of the spectrum is why one type of lamp can seem like a beacon while another, emitting a different color, is largely ignored.

