Subtropical vegetation has strong carbon sequestration potential, and its carbon cycle is greatly affected by extreme weather caused by climate change, especially the increasing number of extreme precipitation events. In this study, we calculated six extreme precipitation indices, including continuous dry duration (CDD), continuous wet duration (CWD), maximum consecutive 1day precipitation (Rx1day), maximum consecutive 5day precipitation (Rx5day), heavy precipitation (R95p), and annual total precipitation (PRCPTOT), based on the 1 km grid meteorological data. We analyzed the spatiotemporal variations of extreme precipitation and net primary productivity (NPP) of subtropical vegetation from 1970 to 2019, and explored the effects of extreme precipitation on vegetation NPP. The results showed that all indices except CWD showed an increasing trend, with a trend of increasing extreme rainfall abnormal events and insignificant aridification. There were significant spatial variations of rainfall. The closer to the northwest, the drier it was, and the wetter it was to the southeast. NPP of subtropical vegetation in China increased at a rate of 5.8 g C·m
-2·10 a
-1. The spatial distribution of mean annual NPP decreased from southeast to northwest, and the overall spatial variation was small. NPP was mainly positively correlated with extreme precipitation index and CWD, and negatively correlated with CDD. NPP was most sensitive to the change of CWD. The spatial variation of sensitivity to CDD was the largest. The longer the dry period and the more extreme precipitation, the higher sensitivity of NPP to extreme precipitation, while the longer the wet period, the lower the sensitivity of NPP to it. The results will provide theoretical support for the evaluation of extreme weather and its impacts on NPP in subtropical regions, and important data support for understanding response of subtropical vegetation to climate change.