Mealworms show negative phototaxis, meaning they avoid light. In nature, they hide under rocks or in decaying wood. When exposed to light, they crawl toward darkness or clump together to reduce exposure.
Light-sensitive cells called ocelli on their heads detect intensity and direction, guiding their movement. Keeping mealworms in dark, sheltered conditions reduces stress and promotes healthy growth.