Exposure to stressors at formative stages in the development of wildlife and humans can have enduring effects on health. Understanding which, when and how stressors cause enduring health effects is crucial because these stressors might then be avoided or mitigated during formative stages to prevent lasting increases in disease susceptibility. Nevertheless, the impact of earlylife exposure to stressors on the ability of hosts to resist and tolerate infections has yet to be thoroughly investigated. Here, we show that early-life, 6-day exposure to the herbicide atrazine (mean + s.e.: 65.9+3.48 mg l
21) increased frog mortality 46 days after atrazine exposure (post-metamorphosis), but only when frogs were challenged with a chytrid fungus implicated in global amphibian declines. Previous atrazine exposure did not affect resistance of infection (fungal load). Rather, early-life exposure to atrazine altered growth and development, which resulted in exposure to chytrid at more susceptible developmental stages and sizes, and reduced tolerance of infection, elevating mortality risk at an equivalent fungal burden to frogs unexposed to atrazine. Moreover, there was no evidence of recovery from atrazine exposure. Hence, reducing early-life exposure of amphibians to atrazine could reduce lasting increases in the risk of mortality from a disease associated with worldwide amphibian declines. More generally, these findings highlight that a better understanding of how stressors cause enduring effects on disease susceptibility could facilitate disease prevention in wildlife and humans, an approach that is often more cost-effective and efficient than reactive medicine.