摘要:Plants generate a plethora of secondary compounds (toxins) that potently influence the breadth of the breeding niches of animals, including Drosophila. Capsaicin is an alkaloid irritant from hot chili peppers, and can act as a deterrent to affect animal behaviors, such as egg laying choice. However, the mechanism underlying this ovipositional avoidance remains unknown. Here, we report that Drosophila females exhibit a robust ovipositional aversion to capsaicin. First, we found that females were robustly repelled from laying eggs on capsaicin-containing sites. Second, genetic manipulations show that the ovipositional aversion to capsaicin is mediated by activation of nociceptive neurons expressing the painless gene. Finally, we found that capsaicin compromised the health and lifespan of flies through intestinal dysplasia and oxidative innate immunity. Overall, our study suggests that egg-laying sensation converts capsaicin into an aversive behavior for female Drosophila, mirroring an adaptation to facilitate the survival and fitness of both parents and offspring.