Home Store Project Ideas Project Guide Ask An Expert Blog Careers Teachers Parents Students

Build a Better Moth Trap: Will Different-colored Lights Affect How Many Moths You Catch?

Time Required Average (6-10 days)
Prerequisites You will need access to an area with moths. See the Experimental Procedure for details.
Material Availability Readily available
Cost Average ($50 - $100)
Safety No issues


You are coming into the house after a game of flashlight tag with your friends, but the front porch light is not on for you to see the doorknob! What is going on? Maybe your parents know that turning a light on means moths will gather there, and they do not want you letting moths inside when you open the door. You have probably noticed how moths are attracted to lights at night. They will even fly dangerously close to flames in their journey toward light. In this project, you will learn a theory about why that is, and investigate whether or not moths are equally attracted to different-colored lights.


Determine if moths are equally attracted to different-colored lights.


David B. Whyte, PhD, Science Buddies

Sabine De Brabandere, PhD, Science Buddies

Cite This Page

MLA Style

Science Buddies Staff. "Build a Better Moth Trap: Will Different-colored Lights Affect How Many Moths You Catch?" Science Buddies. Science Buddies, 13 Oct. 2015. Web. 26 Nov. 2015 <http://www.sciencebuddies.org/science-fair-projects/project_ideas/Zoo_p059.shtml>

APA Style

Science Buddies Staff. (2015, October 13). Build a Better Moth Trap: Will Different-colored Lights Affect How Many Moths You Catch?. Retrieved November 26, 2015 from http://www.sciencebuddies.org/science-fair-projects/project_ideas/Zoo_p059.shtml

Share your story with Science Buddies!

I did this project I Did This Project! Please log in and let us know how things went.

Last edit date: 2015-10-13


Moths are not as colorful as butterflies, but they can still make for remarkable pictures and show some intriguing behaviors.

A grass moth.
Figure 1. Grass moth (Wikimedia commons user Fir0002).

Many people wonder, at one time or another, why moths fly toward lights at night. Are they searching for something near the light? Or are they, perhaps, looking for a place to get warm? While there is no clear and definitive answer to this question, scientists generally agree that the answer has to do with the moth's use of the Moon to direct its flight, and its confusion when an alternative light source is present. When moths fly at night, they use light from the Moon for navigation. Light from the Moon comes from very far away, so the light reaches both of their eyes with the same brightness. Using this environmental cue from the Moon, a moth can fly in a straight line. If the light is from a closer source, however—such as a lightbulb or a campfire—it is perceived as stronger in one eye than in the other eye. This may cause the moth to turn in its flight path, rather than flying straight. Because it continues to turn as it flies, the moth approaches the light in a spiral path. At some point, the moth actually flies into the light source. Another question you might have is why do the moths tend to settle down near the light source? Some researchers have suggested that, having reached the bright light, the moth is tricked into thinking the Sun is out, and since it is nocturnal, it then settles in to sleep. In this project, you will set up light sources of various colors to determine if and how the color of the light affects the moth's behavior.

Terms and Concepts

  • Navigation
  • Environmental cue
  • Perception
  • Nocturnal
  • Control


  • Why don't insects fly toward light sources during the day?
  • Based on your research, what other kinds of environmental cues do insects and other animals use to help them navigate?
  • Can you think of reasons why it would be to the moth's advantage to fly toward a light source? Hint: See the HowStuffWorks, Inc. entry in the Bibliography, below, for some possibilities.


News Feed on This Topic

, ,
Note: A computerized matching algorithm suggests the above articles. It's not as smart as you are, and it may occasionally give humorous, ridiculous, or even annoying results! Learn more about the News Feed

Materials and Equipment

  • A way to keep track of the moths that come; see the Procedure for suggestions.
  • Small table or desk lamps (4); should hold standard screw-in lightbulbs
  • Colored lightbulbs, standard size; red (1), green (1), blue (1), and white (4); all available at most large hardware and department stores. Use the same wattage for each color of bulb.
  • Extension cord(s); to power lamps, if needed
  • Tape measure
  • Masking tape
  • Permanent marker
  • Timer or clock
  • Flashlight, so you can see as you make notes
  • Lab notebook
  • Graph paper

Disclaimer: Science Buddies occasionally provides information (such as part numbers, supplier names, and supplier weblinks) to assist our users in locating specialty items for individual projects. The information is provided solely as a convenience to our users. We do our best to make sure that part numbers and descriptions are accurate when first listed. However, since part numbers do change as items are obsoleted or improved, please send us an email if you run across any parts that are no longer available. We also do our best to make sure that any listed supplier provides prompt, courteous service. Science Buddies does participate in affiliate programs with Amazon.comsciencebuddies, Carolina Biological, Jameco Electronics, and AquaPhoenix Education. Proceeds from the affiliate programs help support Science Buddies, a 501(c)(3) public charity. If you have any comments (positive or negative) related to purchases you've made for science fair projects from recommendations on our site, please let us know. Write to us at scibuddy@sciencebuddies.org.

Share your story with Science Buddies!

I did this project I Did This Project! Please log in and let us know how things went.

Experimental Procedure

Important Notes Before You Begin:

You will need access to moths with which you can experiment. Doing this project will depend on the seasons, since it involves studying moths around your house. Perform the following steps to make sure you will have enough moths to study.

  1. Locate outdoor lights near your home that are on at night, such as a porch light.
  2. Observe whether moths are flying around the light.
  3. If there are moths, proceed with the rest of the experiment.

Decide How To Count Moths During the Experiment

You will have to figure out the best method for keeping track of the number of moths in each experimental setup. Below are some suggestions to get you started. As you choose your method, we suggest a goal of 30 moths or more so you can make meaningful comparisons, but use your judgement to decide on the right number of moths.

  1. If you have plenty of moths in your area, you can count the moths continuously for a given interval (like 15 minutes). Put out a white sheet or towel near each setup and count how many moths land on it.
  2. If you have a high-quality flash camera, you can take pictures of the lightbulbs and nearby moths, and count the number of moths in the picture. Be sure to include the masking tape labels (which you will be making later) in the pictures.
  3. Moth traps, like the one shown in this video, are a better option in areas where moths are less abundant, as the moth traps can be left out all night.

Setting Up Your Experiment

In the steps below, you will set up your lamps, and possibly white sheets or moth traps. First you will count the number of moths that are attracted to white light at each spot. With white lightbulbs in four of the lamps, you would expect to get similar numbers of moths at each light, right? But what if there is a stronger wind at one spot, or some other reason that the moths do not go to the white lightbulbs equally? The data with the white lightbulbs helps control for this kind of variation that is not due to the color of the lightbulb.

  1. Place the four lamps outdoors at night, as follows:
    1. Plug them each into a power source.
    2. Set up the lamps in areas that do not have other strong light sources.
    3. The lamps should be separated by at least 5 meters (15 feet). You can change the distance they are separated, if you choose, but avoid having one lamp too close to another lamp.
  2. Label the lamps 1–4, using the masking tape and the permanent marker.
  3. Make a note in your lab notebook about the location of each lamp. Also make a sketch, showing the position of each lamp.
  4. Remove the shades from the lamps. Any color in the shades could affect your results.
  5. Before you plug in your lamps, insert a white lightbulb into each lamp.
  6. If you use white sheets or moth traps for counting, place them near each lamp at an equal distance from and the same orientation to each lamp.
    1. Measure the distance of the sheets or moth traps from each lamp and record these distances in your lab notebook.
    2. Make a sketch of how the sheets or moth traps are placed near each lamp.
  7. Make a table like Table 1. It will help you record your observations.
   Trial 1 Trial 2 Trial 3 Average
Only white lights Light #1    
Light #2    
Light #3    
Light #4    
Different-colored lights Light #1 - White    
Light #2 - Red    
Light #3 - Blue    
Light #4 - Green    
Table 1. Table in which to record the number of moths observed during a specific time period.

Testing Procedure

The goal here is to count enough moths that you can make meaningful comparisons between the different lamps. Counting at least 30 moths might be a reasonable goal, but use your judgement to decide on the right number of moths. Change the observation time period, as needed, to count a sufficient number of moths, but once you settle on a time period, stick with it and make observations for this duration each time.

  1. Ensure all lamps have white lightbulbs. If they do not, replace the colored lightbulbs with white lightbulbs.
  2. When it is dark, turn on the four lamps.
  3. Make observations:
    1. Record the date and time at which you start observing.
    2. Count the number of moths attracted to each light during a specific time period.
    3. Record the observation time period.
    4. Record the number of moths counted in your data table for each of the four lamps.
  4. Turn off the lights and let the lightbulbs cool before replacing three of the white lightbulbs with the other three different-colored lightbulbs. Important: Be sure to unplug the lamps before you change out the lightbulbs.
  5. Note in your lab notebook which of the original white lights have been replaced with colored lightbulbs. Remember to adjust your data table, if needed.
    1. For example: Lamp #1 - White, Lamp #2 - Red, Lamp #3 - Blue, and Lamp #4 - Green.
    2. Make a sketch of the positions of each colored lamp.
  6. Turn on the lights.
  7. Repeat step 3.
  8. Repeat steps 1–7 two more times for a total of three trials. Having several sets of data ensures that your results are accurate and repeatable. Note: Do not change the position of the colored lightbulbs for subsequent trials, since this would add another variable.

Analyzing Your Results

  1. Graph the data for each trial. Put the number of the lamp and the color of the lightbulb on the x-axis and the number of moths caught on the y-axis.
  2. Make side-by-side bar charts for all three trials and compare trends.
  3. Average the data by adding the data for each trial and dividing by three (the number of trials you performed). Record the average in the last column of your data table.
  4. Graph the averages on another graph.
  5. Looking at your graphs, can you make any conclusions about whether or not one color appears to attract more moths?

Share your story with Science Buddies!

I did this project I Did This Project! Please log in and let us know how things went.


  • As another control, count near a light that is not turned on. What does this control tell you?
  • Repeat the procedure, but put the lights in different locations. Does this change your results?
  • Test if heat is attracting the moths, rather than light. To do so, compare incandescent bulbs (they will be warm) with LED bulbs (very low heat output). Choosing colored lightbulbs will help limit the difference in light spectrum emitted by the different light source types.
  • Study how a white LED lightbulb compares to a white incandescent lightbulb. This study might not reveal what exactly attracts the moths, as there are several differences between these two light sources (like heat output, light spectrum, etc.). The study is still relevant however, as its outcome can help predict the impact that switching outdoor lighting has on moths.
  • Try a black light to determine if moths respond to ultraviolet (UV) light.
  • Use the data from the trials with all white lightbulbs to correct for variation not due to color. For each light, divide the number of moths caught with the colored lightbulb by the number of moths caught with the white lightbulb. For example, if light #2 had 30 moths with the white lightbulb and light #2 had 15 moths with the red lightbulb, the ratio would be 15/30 = 0.5. Graph this ratio for each light.

Share your story with Science Buddies!

I did this project I Did This Project! Please log in and let us know how things went.

Ask an Expert

The Ask an Expert Forum is intended to be a place where students can go to find answers to science questions that they have been unable to find using other resources. If you have specific questions about your science fair project or science fair, our team of volunteer scientists can help. Our Experts won't do the work for you, but they will make suggestions, offer guidance, and help you troubleshoot.

Ask an Expert

Related Links

If you like this project, you might enjoy exploring these related careers:

wildlife biologist holding goslings

Zoologist and Wildlife Biologist

Ever wondered what wild animals do all day, where a certain species lives, or how to make sure a species doesn't go extinct? Zoologists and wildlife biologists tackle all these questions. They study the behaviors and habitats of wild animals, while also working to maintain healthy populations, both in the wild and in captivity. Read more
female biologist plotting animal range data on computer


Life is all around you in beauty, abundance, and complexity. Biologists are the scientists who study life in all its forms and try to understand fundamental life processes, and how life relates to its environment. They answer basic questions, like how do fireflies create light? Why do grunion fish lay their eggs based on the moon and tides? What genes control deafness? Why don't cancer cells die? How do plants respond to ultraviolet light? Beyond basic research, biologists might also apply their research and create new biotechnology. There are endless discoveries waiting to be found in the field of biology! Read more
female environmental engineer measuring streamflow

Environmental Engineer

Environmental engineers plan projects around their city or state—like municipal water systems, landfills, recycling centers, or sanitation facilities—that are essential to the health of the people who live there. Environmental engineers also work to minimize the impact of human developments, like new roads or dams, on environments and habitats, and they strive to improve the quality of our air, land, and water. Read more

News Feed on This Topic

, ,
Note: A computerized matching algorithm suggests the above articles. It's not as smart as you are, and it may occasionally give humorous, ridiculous, or even annoying results! Learn more about the News Feed

Looking for more science fun?

Try one of our science activities for quick, anytime science explorations. The perfect thing to liven up a rainy day, school vacation, or moment of boredom.

Find an Activity