The temperate grasslands in China play a vital part in regulating regional carbon cycle and climate change. Net primary productivity (NPP) is a crucial index that reflects ecological function of plants and the carbon sequestration capacity of grassland ecosystem. Climate change can affect NPP by changing vegetation growth, but the effects of climate change on the NPP of China’s temperate grasslands remain unclear. Based on MODIS data and monthly climate data during 2000–2020, this study explored the spatiotemporal changes in grassland NPP and its response to climate change in temperate grasslands of China. We found that the annual NPP over the entire China’s temperate grasslands increased significantly by 4.0 gC/m2/year from 2000 to 2020. The annual NPP showed increasing trends for all the different grassland vegetation types, with the smallest increase for temperate desert steppe (2.2 gC/m2/year) and the largest increase for temperate meadow (5.4 gC/m2/year). The correlation results showed that increased annual precipitation had a positive relationship with the NPP of temperate grasslands. Increased summer and autumn precipitation could increase grassland NPP, particularly for the temperate meadow. With regard to the effects of temperatures, increased temperature, particularly the summer maximum temperature, could decrease annual NPP. However, increased spring minimum temperature could increase the NPP of temperate desert steppe. In addition, this study found, for the first time, an asymmetric relationship between summer nighttime and daytime warming and the NPP of temperate meadow. Specifically, nighttime warming can increase NPP, while daytime warming can reduce NPP in temperate meadow. Our results highlight the importance of including seasonal climate conditions in assessing the vegetation productivity for different grassland types of temperate grasslands and predicting the influences of future climate change on temperate grassland ecosystems.