Response of endophytic fruit fly species (Tephritidae) to larval crowding is a form of scramble competition that may affect important life history traits of adults, such as survival and reproduction. Recent empirical evidence demonstrates large differences in adult life history traits, especially longevity, among Mediterranean fruit fly (Ceratitis capitata; "medfly") biotypes obtained from different regions of the world. However, whether the evolution of long lifespan is associated with response to stress induced by larval crowding has not been fully elucidated. We investigated, under constant laboratory conditions, the response of a short- and a long-lived medfly biotypes to stress induced by larval crowding. Survival and development of larvae and pupae and the size of resulting pupae were recorded. The lifespan and age-specific egg production patterns of the obtained adults were recorded. Our findings reveal that increased larval density reduced immature survival (larvae and pupae) in the short-lived biotype but had rather neutral effects on the longed-lived one. Only larvae of the long-lived biotype were capable of prolonging their developmental duration under the highest crowding regime to successfully pupate and emerge as adults. Response of emerging adults to larvae crowding conditions was similar in the two medfly biotypes. Those individuals emerging from high larval density regimes had reduced longevity and fecundity. Long-lived biotype individuals, however, appeared to suffer a higher cost in longevity compared with the short-lived one. The importance of our findings to understand the evolution of long lifespan is discussed.