Semiarid Pinus halepensis forests are vulnerable to climate-warming effects.
We used the ecohydrological model HYDROBAL to estimate historical soil moisture.
We achieved more accurate tree growth predictions by using soil moisture estimations instead of rainfall.
Forest dynamics knowledge to adapt forests to face global challenges is needed.