Memory effects refer to the impacts of antecedent climate conditions on current vegetation productivity. This temporal linkage has been found to be strong in arid and semi-arid regions. However, the dominant climatic factors that determine such patterns are still unclear. Here, we defined’water-memory effects’ as the persistent effects of antecedent precipitation on the vegetation productivity for a given memory length (from 1 to up to 12 months). Based on satellite observations and climate data, we quantified the length of water-memory effects and evaluated the contributions of antecedent precipitation on current vegetation. Our results showed that vegetation productivity was highly dependent on antecedent precipitation in arid and semi-arid regions. The average length of water memory was approximately 5.6 months. Globally, water-memory effects could explain the geographical pattern and strength of memory effects, indicating that precipitation might be the dominant climatic factor determining memory effects because of its impact on water availability. Moreover, our results showed vegetation in regions with low mean annual precipitation or a longer water memory has lower engineering resilience (i.e. slower recovery rate) to disturbances. These findings will enable better assessment of memory effects and improve our understanding of the vulnerability of vegetation to climate change.