& Key message Adaptation of Pinus brutia and Pinus halepensis to harsh Moroccan environments varied considerably among populations, with variation following marked geographic clines. & Context Mediterranean pines are drought tolerant species that play relevant ecological and economic roles in North Africa. Mediterranean pines harbor huge intraspecific variation in adaptive traits. & Aims Exploring the relative performance of different seed sources and analyzing the genotype by environment (G × E) interaction becomes, thus, essential for maximizing the efficiency of any reforestation program. & Methods We present the results of a comprehensive quantitative analysis of growth, survival, and resistance to the processionary moth of 57 populations of P. halepensis Mill. and P. brutia Ten. tested under severe drought conditions in two contrasting Moroccan test sites differing in water regime, soil, and physiographic conditions. & Results The results indicated the existence of considerable variation between species and among populations within species in growth, survival, and susceptibility to the processionary moth (Thaumetopoea pityocampa Dennis & Schiff.), but low plasticity across sites, despite the apparently large environmental differences between them. On average, P. brutia performed better than P. halepensis. The G × E interaction was significant for all traits and ages, but an in-depth analysis revealed that the main source of the interaction was due to large differences in residual variances across sites, while the relative population ranks remained highly consistent across sites. & Conclusion Growth and survival of Aleppo pine populations followed well-defined geographical clines, with populations from the Eastern range of the distribution, particularly those of Greece, showing outstanding performance. The two local Aleppo pine This article is part of the Topical Collection on Mediterranean pines Handling Editor: Bruno Fady Contribution of the co-authors HS planned and led the experiment, performed the phenotyping, collected and processed the data, and contributed to the writing. RZ performed the statistical analyses, elaborated the results, and led the writing.