Call Now and Ask About the Winter Deal While it Lasts →

Call Now and Ask About the Winter Deal While it Lasts →

Sign-in to Account
Call Us

(855) 948-5816

aptive_pest_control_lockup-white

Find Service Area

Why are Bugs Attracted to Light?

Written by Aptive Pest Control August 15, 2019

Updated August 8, 2024

There’s a good chance that you’ve heard the saying, “like a moth to a flame,” when someone finds something completely irresistible. For example, Susan was drawn to the sparkling pair of earrings like a moth to a flame, or Steve was drawn to the vintage Lamborghini like a moth to a flame. This saying, which Shakespeare made famous, clearly has roots in nature.

If you’ve ever sat on a patio or taken an evening stroll, you’ve probably noticed different bugs fluttering around floodlights and streetlamps. While it’s easy to simply say that bugs like light, the phenomenon is actually a bit more complex. In fact, scientists have studied this phenomenon for years and have developed a number of theories to explain why certain bugs are drawn to light. Furthermore, we can’t even say that all bugs are attracted to light. A few types of bugs try to steer clear of it entirely.

What Bugs are Attracted to Light?

Think back to all of the times you’ve been outside at night, turned on a light or two, and witnessed bugs fly directly to the source of light. More than likely, you’ve seen a fair share of moths and beetles make their way to that luminous glow. That’s because these insects have positive phototaxis.

Phototaxis is a type of innate behavioral response (in this case, a directional movement) that takes place when an organism moves towards or away from a light source. Insects and pests that are attracted to light, and move towards it, are considered positively phototactic. On the flip side, pests that move away from a light source are considered negatively phototactic.

While there are many different theories explaining why pests, such as moths, fliesbeetles, and stink bugs, are attracted to light, one of the most popular theories has to do with navigation. Many scientists believe that insects are drawn to light because they use light as a guide. Before insects evolved and adapted to artificial light sources, they relied on the Sun, Moon, and stars in order to navigate. Many scientists believe that some bugs use transverse orientation for navigational purposes. Transverse orientation involves keeping a distant light source at a fixed angle in order to fly in a straight line. When you introduce man-made artificial light, insects start to confuse that light for natural light sources. This throws of their ability to keep light at a constant angle, which results in insects fluttering into or around artificial light sources.

In addition to navigation, many scientists believe that some bugs are attracted to light because it offers protection from predators and dangers that lurk at night. Meanwhile, another theory suggests that some insects confuse artificial light for flowers. While this may seem pretty bizarre, there are actually some flowers that reflect ultraviolet light. As a result some flying insects may mistake your outdoor lights for a food source.

Negative Phototaxis

Just as some bugs flock to the light, some try to avoid it. It’s pretty intuitive when you think about it. Recall a time when you’ve switched on a light and witnessed pests scurrying away to different hiding places. While you may have simply frightened these pests, there’s a good chance that they are negatively phototactic. Some creatures that are known for their negative phototaxis include cockroaches, earthworms, and a few different types of ants.

Cockroaches, in particular, have a major dislike for both artificial and natural light. As a result, it is very uncommon to see roaches out during the daytime or in bright, light-filled rooms. If you do happen to see roaches out during the day, it’s likely you have a problem on your hands. The roaches that come out during the day have been forced out because their home has become too populated and they are looking for food. In other words, you may have an infestation.

While scientists are still trying to figure out why bugs are attracted to light, there are some ways to limit the amount of bugs flocking to your home’s lighting. Your best bet is to check you lightbulbs. If you are using incandescent, CFL, or halogen bulbs, you are likely attracting bugs. If possible, try to replace any of these bulbs with warm LED bulbs.

If you are tired of pests disrupting your patio time or notice negative phototactic bugs, such as cockroaches, out and about during the day, call your local Aptive Pest Control branch today.

Curated articles for you, from our pest experts.

Close-Up Of A Yellow Jacket Wasp With Yellow And Black Markings, Perched On A Paper-Like Nest, Highlighting Its Body Structure And Nest-Building Behavior.

7 Most Common Pests in Washington State and What to Know

From damp coastal areas to wooded neighborhoods and growing suburbs, many pests in Washington State are simply part of the environment in which homeowners live. But not every pest sighting is a problem. Some pests appear briefly during seasonal changes, while...

Jan 21, 2026
A Close-Up Image Of A Black And Yellow Mud Dauber Wasp (Sceliphron Caementarium) Perched On A Green Leaf. The Wasp'S Slender Body And Long Legs Are Highlighted Against A Dark Background, Showcasing Its Vivid Yellow Patterns And Distinctive Elongated Abdomen.

15 Most Common Household Pests in Tennessee: Homeowners’ Guide

Tennessee’s warm summers and naturally humid conditions make it an active environment for insects and other pests. From suburban neighborhoods to rural properties, pest activity is often influenced by moisture, vegetation, and easy access to shelter. Seeing pests...

Jan 19, 2026
A Close-Up Image Of A Green Grasshopper Perched On A Leafy Plant Stem, Showing Its Textured Body, Long Antennae, And Folded Wings In Sharp Detail.

10 Common Garden Pests in the Midwest​: What Homeowners Should Know

Gardens throughout the Midwest reflect the region’s changing seasons. Along with plants and flowers, these outdoor spaces also support a variety of insect activity. Seeing pests in or around garden areas doesn’t automatically signal a problem. In many cases, it’s a...

Jan 19, 2026
A Close-Up Image Of A Brown Roof Rat Perched On A Weathered Green Metal Lantern, With Its Large Ears, Long Whiskers, And Inquisitive Eyes Facing The Camera. The Background Is Softly Blurred With Dappled Light And Trees.

The Top 5 Most Common Pests in California

California's Mediterranean and semi-arid climates with mild winters, extended warm seasons, and diverse microclimates create ideal conditions for numerous pest species remaining active year-round unlike temperate regions experiencing winter dormancy reducing pest...

Jan 19, 2026
A Close-Up Image Of A Large Spider Guarding Its White Egg Sac With Spiderlings And Unhatched Eggs Inside, Resting On A Mossy Forest Floor.

The Top 10 Most Common Arachnids in the Southeastern U.S.

Warm temperatures, seasonal humidity, and diverse landscapes make the Southeast an ideal environment for a wide range of arachnids. While spotting them indoors can feel unsettling, most species are simply passing through or seeking shelter as conditions change...

Jan 14, 2026
Close-Up Image Of A Jumping Spider With Large, Prominent Eyes, Covered In Fine Hairs, Standing On A White Surface.

The 8 Most Common Pests in Texas and What to Know About Them

Texas hosts an exceptional diversity of pest species due to its vast size, varied climates, and geographic position spanning subtropical Gulf Coast regions to arid western deserts, creating favorable conditions for numerous insects, arachnids, and rodents...

Jan 14, 2026
A Close-Up Macro Photograph Of A Mosquito Standing On The Edge Of A Green Leaf, With Detailed Focus On Its Slender Legs, Wings, And Long Proboscis, Surrounded By Softly Blurred Greenery In The Background.

The 7 Most Common Pests in Florida and What to Know About Them

Florida’s warm climate and lush landscapes make it a beautiful place to live, but they also create ideal conditions for pest activity. For many homeowners, seeing insects or rodents around the house isn’t a sign of neglect. It’s simply part of living in a state...

Jan 14, 2026
Close-Up Of A Japanese Beetle On A Green Leaf With Dew Droplets On Its Back.

4 Pests Living in Your Garden

When noticing unexplained plant damage, wilting foliage, or mysterious holes in garden leaves, identifying the responsible pests in garden environments is crucial for implementing appropriate control measures and protecting your landscape investment.  Gardens...

Dec 17, 2025
A Close-Up Of Several Small Black Ants Crawling Along The Edge Of A Wooden And Tiled Surface.

4 Insects That Are Hard to Get Rid Of

When experiencing recurring pest problems despite repeated pest control attempts, understanding which insects demonstrate greatest persistence is crucial for implementing appropriate comprehensive strategies rather than ineffective quick fixes.  Certain hard to get...

Dec 17, 2025
A Detailed Close-Up Of A Cicada Perched On A Green Leaf, Displaying Its Intricate Wings And Textured Body Against A Vibrant, Blurred Background.

What Is the Definition of Insect?

When encountering small arthropods in homes and attempting to identify them for appropriate control measures, understanding the scientific definition of insect is crucial for distinguishing true insects from other superficially-similar creatures requiring different...

Dec 11, 2025

Take back your home with pest control today.