myRentokil
myRentokil login© 2026 Rentokil Initial plc (M) Sdn Bhd Registration No: 197201001250 (12889-M). Subject to the conditions in the Legal statement
For thousands of years, humans have observed that flying insects are attracted to lamp and candle flames at night and, at some point, realised that light could help control them. Even back in Roman times, there are records of lamps used at night to protect bee hives by attracting and trapping wax moths. An almost identical trap was used in the 1500s, and one of the earliest American patents was issued in 1847 for a beehive incorporating a light trap.
Trapping pest insects to prevent contamination and loss of food products is essential for many businesses today, including restaurants and food processing, retail and storage – and that’s not to mention people also wanting to be protected from biting insects in their homes and leisure places. Finally, after thousands of years of exploiting the insect-light phenomenon, we think we’ve got an answer.
Insects have several types of photosensitive cells in their bodies that give them a different view of the environment compared to mammals.
Most adult insects have compound eyes, one on either side of the head, consisting of 100s to 1000s of tiny elongated hexagonal cell structures called ommatidia. Each one collects a simple image from a small part of the surroundings and when they have combined in the insect’s brain form a mosaic-like image across a wide angle of vision.
Different species of insects have from one (eg, Aedes albopictus mosquito) to 15 (eg Graphium Sarpedon, a butterfly species) types of colour photoreceptor in their ommatidia, detecting different ranges of wavelengths of light.
The common food pests, house flies and fruit flies, have five colour photoreceptors. Two detecting near-UV (UVA), and one each for blue, cyan and green wavelengths. Flying insects with UV vision are attracted to UV more than visible light. As daylight has high levels of UV, their preference for it is thought to drive an attraction to open, bright spaces and away from dim places.
Insect eyes are highly adapted to detecting movement. The thousands of ommatidia arranged over a wide angle allow the detection of movement all around the insect. Combined with neural circuits in the insect brain, this ability gives insects quicker reactions to movement than humans. The eyes of nocturnal Insects are also highly adapted to night vision. They can manoeuvre in complex surroundings and distinguish colours at night at light levels that would appear dark to humans.
These are simple eyes found in many adult insects, usually on the top or front of the head. They do not form an image but sense the brightness and direction of light. They are thought to help insects maintain their flight stability and navigate using the Sun’s position.
These are found in some ommatidia of insects in the dorsal or ventral regions of their eyes. They specialise in the detection of skylights, distinguishing them from reflected light and helping insects to orient themselves and navigate using the polarisation pattern of the sky.
These are light-sensitive cells located on other parts of the insect body, such as the antennae, abdomen or legs. They sense the intensity and wavelength of light and are believed to play a role in regulating circadian rhythms and body temperature.
Insect vision has evolved to help them survive in their environments and for flying insects the skills needed to survive require more complex abilities. Vision helps insects find food sources, use visual clues to orientate and navigate, detect shelters and landmarks, find and choose a mate, detect and escape from predators, and find the best place to lay eggs.
Various theories to explain the phenomenon of insects gathering around artificial lights at night have been proposed for years, including:
Some of these are little more than guesses, while others are based on research into fly behaviour.
New research published in 2023 used high-speed cameras to film insects in flight as they responded to different artificial light sources in low ambient light levels. This was done both in a lab in controlled conditions and a Costa Rican rainforest. The insects studied included dragonflies, butterflies, moths, several fly species, and bees.
When diffuse UV light was shone from above in a container in the lab, honeybees and flies flew upwards in stable flight. When the diffuse UV light was shone from below, neither type of insect was able to fly normally. They tilted and inverted, causing them to crash into the floor. This did not occur when flies were tested with white light, so this effect is unique to UV light — for the fly species used in the study. However, this didn’t affect fruit flies, which can see similar UV wavelengths to other flies.
The same tumbling and crashing effect with UV light below insects’ flight was observed in the Costa Rican rainforest, and normal flight was observed when illuminated from above. This shows the behaviour is caused by the disturbance of the insects’ sense of upwards and downwards by the UV light being below them instead of from the sky.
High-speed photography showed the insects tilt their bodies towards nearby point light sources at night, causing them to fly orthogonally (at right angles), so they ended up circling the lights. This explains the behaviour of nocturnal insects gathering around a light source.
While this sheds some light on how insects respond to artificial light, there’s still much to uncover about their extraordinary vision. Regardless, this knowledge is paving the way for innovative approaches to controlling pest insects.