Why Are Insects Attracted to Light? Science
In this article
Insects are attracted to light primarily because many species use natural light sources—the moon and stars—to maintain a steady flight path, and artificial lights confuse this navigation system, causing them to circle or fly toward the bulb. This phenomenon, called phototaxis, is a reflexive response to light intensity and wavelength, not a deliberate desire to reach the lamp.
The Moon Compass Theory
The most widely accepted explanation is the “moon compass” or “transverse orientation” hypothesis. Nocturnal insects evolved to keep a constant angle to the moon’s light, which is far away, so its rays arrive nearly parallel. By maintaining that fixed angle, an insect can fly in a straight line. Artificial lights are close and emit light in all directions, so when an insect tries to keep the same angle to a porch bulb, it ends up spiraling inward, eventually hitting the glass or bulb.
This theory explains why moths and beetles often circle endlessly around a lamp. However, it does not fully explain why some insects, like certain flies, fly directly at the light rather than circling. Recent research suggests that insects may also be dazzled by the light, similar to a human staring into a car’s headlights, disrupting their ability to orient.
Phototaxis: Positive vs. Negative
Phototaxis is an organism’s movement in response to light. Insects fall into two categories:
- Positive phototaxis – attracted to light (e.g., moths, many beetles, flies)
- Negative phototaxis – repelled by light (e.g., cockroaches, some bed bugs, earthworms)
Positive phototaxis is common in insects that navigate by moonlight or are active at dusk. Negative phototaxis is typical of nocturnal insects that hide in dark crevices during the day, such as cockroaches, which scatter when a light is turned on.
Why Are Some Insects More Attracted Than Others?
Different insects respond to different wavelengths of light. Many night-flying insects are especially sensitive to ultraviolet (UV) light, which is why “bug zappers” use UV bulbs. UV light appears brighter and more similar to moonlight to many insects. In contrast, red or yellow lights are less attractive because most insects have limited sensitivity to longer wavelengths. This is why outdoor “bug lights” are often yellow or amber.
Size and eye structure also matter. Insects with compound eyes have thousands of tiny lenses, making them highly sensitive to light flicker and intensity. Some species, like certain moths, have evolved to be more attracted to light because it historically indicated an open space away from predators, though this trait is now maladaptive near human structures.
How Light Pollution Affects Insects
Artificial light at night disrupts insect behavior in several ways:
- Exhaustion and death – Insects circling lights burn energy and may die from fatigue or predation.
- Mating disruption – Some species use light signals to find mates; artificial light can override those signals.
- Feeding disruption – Nocturnal pollinators like moths may spend less time visiting flowers near streetlights.
- Circadian rhythm disruption – Constant light can confuse internal clocks, affecting activity patterns.
Studies have documented declines in local insect populations near streetlights, though exact numbers vary by region and species. Light pollution is considered a contributing factor to global insect decline, alongside habitat loss and pesticides.
Common Misconceptions: Do Insects Eat Light?
No, insects do not eat light. They are attracted to it for navigation or because it triggers a reflex. Some insects, like certain beetles, may be attracted to the heat of a bulb, mistaking it for a warm host, but most are responding to light itself. Another misconception is that “bug zappers” reduce mosquito populations; in reality, they kill many beneficial insects but relatively few biting mosquitoes, which are more attracted to carbon dioxide and body heat than to UV light.
How to Reduce Insect Attraction to Your Home
If you want to minimize insects around your porch or garden, consider these practical steps:
- Switch to warm-colored LED bulbs (yellow or amber) instead of white or UV lights.
- Use motion-sensor lights so they are only on when needed.
- Place lights away from entry doors and windows, or use shielded fixtures that direct light downward.
- Turn off unnecessary outdoor lights during peak insect activity at dusk.
- Consider using insect screens on windows and doors to keep them out.
These methods reduce attraction without eliminating all insects, which are important for pollination and as food for other animals.
Frequently Asked Questions
Why do insects fly into flames?
Insects flying into flames are exhibiting the same positive phototaxis as with any bright light. The flame emits intense light and heat, which overrides their navigation system. They may also be attracted to the light as a potential mate or food source, but the primary cause is the confusion of their light-based orientation.
Why are moths attracted to light but not butterflies?
Most moths are nocturnal, so they rely on moonlight for navigation. Butterflies are diurnal (active during the day) and use the sun’s position, which is a point source but less confusing because they also use visual landmarks. Some butterflies are attracted to lights at night, but it is less common because they are not active then.
Do all insects have the same reaction to light?
No. Reaction depends on species, life stage, and light wavelength. For example, aphids are attracted to yellow-green light, while many flies are attracted to blue and UV. Some insects, like cockroaches, are repelled by light entirely. Even within a species, young and adult stages may differ.
Can insects get used to artificial light?
Some insects can adapt behaviorally over generations, but individual insects do not “learn” to avoid lights. Evolution may favor individuals that are less attracted to artificial lights in urban areas, but this process is slow and not fully understood. There is no evidence that a single moth can learn to ignore a porch light.