Farmers Almanac
The Farmers Almanac
Order your copy today!

Why Are Bugs Attracted To Light?

Why Are Bugs Attracted To Light?

It’s the same thing every summer: you turn on your porch lights and within minutes, you’re dealing with a swarm of bugs zooming around the lights – and bouncing off of your head or crash landing into your drink. What is it about light that brings out the bugs? Science tells us that this odd phenomenon is caused by phototaxis.

How Phototaxis Affects Insects

A phototactic animal or insect is one that instinctively moves to or away from light. The bugs that are swarming around your porch lights are positively phototactic, which means that they’re attracted to it. Bugs like cockroaches are negatively phototactic, which is why they scuttle away when you turn on a light.

What scientists aren’t quite sure of, though, is why insects are phototactic. Many believe that positively phototactic insects (like moths) use moonlight as a navigational tool. As they fly by moonlight, the Moon stays in a fixed position overhead. But when you turn on artificial light, the moths see it as another Moon and become confused. As they try to guide themselves by your porch lights, they end up zooming back and forth in an effort to keep the “Moon” in sight.

Another theory suggests that bugs use light as an escape route. In other words, if a predator were to shake a bush that insects were resting in, they’d fly towards the Moon where the predator can’t reach them. When artificial lights come on, because they’re generally brighter than the Moon, fleeing insects congregate around them instead.

Why Do Insects Continue Flying Around Lights?

You’d think that at a certain point, a bug confused by an artificial light source would realize its mistake and move on. However, bugs – especially moths – suffer from a temporary night blindness just like people do. Think about what happens when you’re standing in a brightly lit room and someone suddenly turns of all the lights – you experience a moment of confusion and almost total blindness as your eyes adjust to the darkness.

A moth’s eyes have light sensors similar to a human’s eyes (in insects, the sensor is called an “ommatidium”), but unlike humans, it takes a lot longer for the moth’s eyes to adjust to darkness after being exposed to a bright light – up to 30 minutes, in fact. So, as a moth swoops back and forth over your campfire or around a lightbulb, the bright light confuses it, but at the same time, the moth doesn’t want to fly into the darkness because it’ll be blind to predators or other dangers for up to half an hour.

What Kinds of Lights Attract Bugs?

While it isn’t the same for all insects, those that are attracted to lights are normally attracted to UV light and white light. That’s why hundreds of bugs will swarm around your bright white fluorescent lights but only a few will come to a campfire. If you want to keep the bugs away at night, try yellow or red bug lights. A few insects will still be attracted to these lights, but not nearly so many as are attracted to white lights.

In fact, this is one reason why bug zappers are supposed to work – the white and UV light that the device produces is supposed to attract and then zap mosquitoes. Bug zappers do attract a lot of phototactic insects, but only a few mosquitoes. While mosquitoes are somewhat attracted to light, they’re even more attracted to food sources, namely you!

If you want an evening outdoors without the bugs, try using yellow bug lights outdoors. Better yet, simply enjoy your evening by the light of the Moon. You can always use one of our natural repellents to keep the biting ones away from you.

Shop for Related Products on Amazon

Disclosure: We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.

Previous / Next Posts

  • CarolAnn says:

    Very interesting read. I always wondered why it’s party time for moths on my front porch! I don’t mind though as all these little bugs provide food for nesting birds during the day. Feed them all winter and they will de-bugg your yard all summer.

  • Alice Cumming says:

    Guess my bug zapper actually did zap more bugs under the pole lite by the shed. Just hanging it off the porch got hardly no bugs. Thanks for the bug info.

  • jeni simler says:

    I found this article very informative. I am 73 years old and never knew this. Well, you learn something new everyday, right? Keep up the good work!!

  • Amber Kanuckel says:

    Gary: Yellow lights don’t keep bugs away so much as most bugs simply aren’t attracted to them. If you use them on your porch, you’ll have far fewer insects buzzing around than if you used white lights!

  • Gary McMichael says:

    Since you won’t accept my comment or question, I will delete Farmer’s Almanac e-mails.

  • Gary McMichael says:

    Do yellow lights keep bugs away?

  • Gary McMichael says:

    Bugs are like people, strange.

  • Sherri Jenkins says:

    I enjoyed reading this….,answers my questions as to why all those moths are coming onto the porch…..

  • Patty says:

    Very interesting read. Thank you

  • Linda Kelly says:

    I found this very interesting, I’ve wondered this all my life. Thanks ! Now I know why the zappers don’t work, makes sense now.

  • Lindsay says:

    Very interesting…didn’t know these things and love the new word for me -phototaxis!

  • Roger says:

    Thank you for that information…made great reading

  • If you notice a hole in the upper left-hand corner of your Farmers' Almanac, don't return it to the store! That hole isn't a defect; it's a part of history. Starting with the first edition of the Farmers' Almanac in 1818, readers used to nail holes into the corners to hang it up in their homes, barns, and outhouses (to provide both reading material and toilet paper). In 1919, the Almanac's publishers began pre-drilling holes in the corners to make it even easier for readers to keep all of that invaluable information (and paper) handy.

    Reading Farmers' Almanac on Tablet with Doggie

    Don't Miss A Thing!

    Subscribe to Our Newsletter and Get a FREE Download!