While most theoretical models for the evolution of ageing assume that duration of pre-adult development does not affect the longevity, experimental data are still controversial and inconsistent. Here we examined the short-term and long-term pattern of pre-adult development time and longevity in populations of the gypsy moth (Lymantria dispar) originating from either oak forest (Quercus petrea), a suitable, or locust-tree forest (Robinia psedoacacia), a poor habitat. Using a full-sib design, we examined the genetic correlations between traits found in larvae reared on oak or locust-tree leaves. We detected only negative and insignificant genetic correlations, except for males from the Robinia population reared on oak leaves where the correlation was negative and significant. Our results also showed that a population living 40 generations in the locust-tree forest exhibited a significantly higher longevity than the Quercus population, whereas a significant difference between these two populations in pre-adult development time does not exist. The results are discussed in relation to the potential effect of stress selection in moulding the longevity of the gypsy moth.