Tree rings are valuable proxies of past climate that allow inferring past growth responses to climate variability and extreme events, which is only possible considering that the relationship between tree growth and environmental conditions is linear and stable over time. However, in the last decades, divergent growth patterns have been observed in trees from the same forest stand, while unprecedented growth convergence was observed between trees from distant locations. Here, we use a new approach that considers convergent and divergent event years in two populations of Pinus pinaster Aiton in an altitudinal and oceanic-continental gradient to investigate what is triggering divergence and convergence in tree growth. The two study sites are Tocha (TCH), a plantation on sand dunes at low altitude near the ocean, and Serra da Estrela (SdE), a mountain plantation located at 1,100 m altitude, 100 km away from the ocean. The analysis of the climatic conditions in convergent growth years revealed that positive convergent growth was related to above average precipitation in previous winter and that negative convergent growth was related to below average precipitation during the growing season. Divergent growth revealed a temperature signal with warmer temperatures in spring promoting growth in SdE and growth reduction in TCH. Convergent growth was associated with a regional climatic signal, reinforcing the importance of precipitation in the Mediterranean region, and divergent growth to site conditions, revealing local adaptation. The information gathered in this study gives valuable insights on the response of P. pinaster to extreme climatic events, allowing for more adjusted management strategies of Mediterranean pine forests.