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.

A White Bookshelf Filled With A Vibrant Assortment Of Hardcover Books Arranged Neatly By Color, With Titles In Various Fonts And Sizes Creating A Visually Striking Rainbow Pattern.

Booklice 101: What Are Booklice?

Booklice are tiny, harmless insects commonly found in homes with moisture problems, feeding on mold, fungi, and microscopic organic matter rather than actually damaging books despite their misleading common name. These minute creatures appear suddenly in humid...

Nov 25, 2025

Why Do Bugs Appear in the Bathroom More Than Anywhere Else

You observe disproportionate pest activity in bathrooms compared to other household rooms, noticing insects including silverfish, cockroaches, and drain flies appearing regularly despite cleaning efforts, suggesting these spaces provide uniquely attractive...

Nov 25, 2025
A Close-Up Image Of A Dead Cockroach Lying On Its Back On A Rough Concrete Surface. Its Legs And Antennae Are Curled Upward, And Its Brown Exoskeleton Is Clearly Visible.

Why Dead Bugs Attract More Bugs

You observe clusters of dead insects in corners or windowsills accompanied by live insects including beetles, flies, or ants, suggesting decomposing insects attract additional pest activity rather than simply accumulating passively.  Dead insects release...

Nov 25, 2025
A Detailed Image Of A Basement Laundry And Utility Room With Exposed Wooden Beams, A Washer And Dryer, A Water Softener, Ductwork, And A Water Heater Unit Against A Brick And Wood-Paneled Wall.

Why Do Basements and Attics Host Different Pest Species

You observe distinct pest types in different vertical zones of your home—moisture-seeking insects in basements while overwintering pests concentrate in attics—suggesting these spaces provide fundamentally different environmental conditions attracting...

Nov 25, 2025
Modern Suburban Home With Beige Siding, Dark Shutters, And A Clean Black Roof, Featuring A Well-Maintained Lawn And A Triple Garage Under A Colorful Evening Sky.

Why Do Pests Return After Moving Out of a Home

You vacate a property expecting pest activity to cease without human occupancy, yet observe infestations reestablishing or intensifying during vacancy periods, suggesting pests exploit conditions created by unoccupied structures rather than requiring active human...

Nov 20, 2025
A Group Of Small Potted Plants, Including A Fuzzy Cactus, A Green Succulent, And A Taller Reddish Succulent, Arranged On A Windowsill With Sheer Lace Curtains Softly Filtering Daylight In The Background.

Why Windowsills Become Hotspots for Insect Activity

You observe disproportionate insect activity concentrated on windowsills compared to other household areas, finding dead and live insects including flies, ladybugs, spiders, and various other species clustered near glass surfaces.  Windowsills attract insects...

Nov 20, 2025
A Dimly Lit Indoor Scene Showing A Rainy Window With Water Droplets On The Glass. Two Lit Candles Sit On The Windowsill, One On Each Side, With A Wooden Incense Holder And An Unlit Incense Stick Placed Between Them. The View Outside Is Blurry, Showing Overcast Skies And Faint Outlines Of Trees And Buildings.

How Humidity Levels Influence Pest Survival Indoors

You discover insects concentrated in bathrooms, basements, and other damp areas despite keeping other rooms free of pests, suggesting moisture levels fundamentally determine where certain pest species can survive and establish.  Indoor humidity directly...

Nov 18, 2025
A Bright Indoor Scene Featuring Several Potted Houseplants On And Around An Orange Wooden Cabinet. A Trailing Pothos Vine Climbs The Wall, A Rubber Plant Sits In A Large White Ceramic Pot, And Another Leafy Plant Is In A Patterned Pot Beside Several Books. A Small Elephant-Shaped Planter Holds A Thin-Leaved Plant. Framed Botanical Artwork Hangs On The Wall Above, And Lush Green Leaves From Additional Plants Fill The Right Side Of The Image.

Top 5 Tips for Avoiding Thrips

Preventing thrips infestations requires proactive strategies that address how these tiny pests enter gardens, the conditions that favor their reproduction, and early detection methods that allow intervention before populations reach damaging levels.  Thrips...

Nov 18, 2025
A Close-Up Macro Image Of An Argentine Ant (Linepithema Humile) On A Green Leaf. The Ant’s Segmented Body, Including Its Reddish-Brown Head And Large Black Abdomen, Is Sharply In Focus Against The Blurred Green Background.

Top 5 Most Common Pests to Worry About in the Pacific Northwest

The Pacific Northwest's mild, wet climate and dense urban-forest interface create ideal conditions for numerous pest species that thrive in the region's consistent moisture, moderate temperatures, and abundant vegetation. Homeowners in Washington, Oregon, and...

Nov 12, 2025
A Small Snail With A Light Brown Shell Crawling On A Green Leaf Covered In Water Droplets, With A Blurred Green Background.

Top 5 Most Common Pests in Your Home Garden

Home gardens face constant challenges from insect and invertebrate pests that damage vegetables, flowers, and ornamental plants through their feeding activities, virus transmission, and rapid population growth under favorable conditions. Understanding the most...

Nov 12, 2025

Take back your home with pest control today.