What Color Do Roaches Hate? Blue vs. Red Light

Cockroaches avoid blue light more than any other color. In controlled experiments, fewer than 2% of cockroaches moved toward blue light at high intensities, while over 30% moved toward red light and the majority preferred complete darkness. If you’re looking for a color that genuinely repels roaches, blue is the one with scientific backing.

Why Cockroaches Avoid Blue Light

Cockroaches are nocturnal, so they naturally prefer darkness over any light source. But when researchers tested how Turkestan cockroaches responded to red, green, yellow, blue, and white light, the differences were striking. In a six-arm choice test at high light intensity (2,500 lux, roughly equivalent to an overcast day), only 0.9% of cockroaches oriented toward the blue light chamber. In a simpler two-arm test, that number was just 1.8%.

Compare that to red light, which attracted over 30% of the cockroaches in the same experiments, or white light at around 20%. Even green and yellow light drew significantly more roaches than blue, each pulling roughly 5 to 9% of the insects. The researchers concluded that blue light at a wavelength of 478 nanometers has a genuinely repellent effect on cockroaches.

Red Light Is the Least Disruptive to Roaches

The flip side of this finding matters just as much. Cockroaches showed the strongest attraction to red light (678 nm) compared to every other color tested. When researchers looked only at the light-exposed chambers and removed the dark control from the analysis, 61.7% of cockroach movement was toward red light. White light came in second at 35.2%, while green and yellow averaged around 27.7%. Blue trailed far behind at 12.9%.

This makes sense biologically. Red light sits at the long-wavelength end of the visible spectrum and is the closest to darkness from an insect’s perspective. Many nocturnal insects perceive red light poorly, so a red-lit room may look nearly dark to a cockroach. Blue light, with its shorter wavelength and higher energy, likely registers as far more intense and disruptive to their visual system.

Light Intensity Changes the Effect

The repellent power of blue light depends heavily on brightness. At 2,500 lux, cockroaches almost completely avoided blue light. At 250 lux (similar to a dimly lit room), blue still performed as a deterrent, but the gap between colors narrowed. At just 25 lux, the differences between wavelengths largely disappeared, and cockroaches treated blue light about the same as white light.

This means a faint blue nightlight probably won’t do much. If you’re using blue light as a deterrent, brighter sources create a stronger avoidance response. The overall pattern held across multiple experimental setups: the brighter the blue light, the more cockroaches stayed away from it.

What This Means in Practice

Before you swap every bulb in your house, it helps to set realistic expectations. Cockroaches preferred darkness over every color of light in every experiment. Even the most attractive option, red light, pulled fewer roaches than a completely dark chamber. Light of any color is mildly aversive to cockroaches. Blue just happens to be the most aversive by a wide margin.

A bright blue LED in a specific area, like under a cabinet or near an entry point, could make that spot less appealing to roaches. But light alone won’t solve an infestation. Cockroaches are motivated by food, water, and shelter, and they’ll tolerate uncomfortable lighting conditions if those resources are available. Blue light works best as one layer in a broader approach that includes sealing entry points, eliminating moisture, and keeping food sources locked down.

It’s also worth noting that the research was conducted on Turkestan cockroaches, a common pest species. Other species like German or American cockroaches share the same nocturnal habits and general light-avoidance behavior, so the preference pattern likely holds, though the exact percentages could vary.

Colors Ranked by Roach Avoidance

  • Blue (478 nm): Strongest avoidance. Under 2% orientation at high intensity.
  • Yellow (580 nm): Moderate avoidance. Around 5 to 9% orientation depending on the test.
  • Green (620 nm): Similar to yellow, roughly 5 to 9% orientation.
  • White (all wavelengths): Mild avoidance. About 20% orientation.
  • Red (678 nm): Least avoided. Over 30% orientation, the closest any light came to matching darkness.

If your goal is to discourage roaches from a particular spot, bright blue light is your best option among visible colors. If you want to move around your home at night without disturbing roaches into scattering (useful if you’re monitoring traps, for instance), red light will be the least disruptive to their normal activity patterns.