Herbaceous marshes are widely distributed in China and are vital to regional ecological security and sustainable development. Vegetation net primary productivity (NPP) is a vital indicator of vegetation growth. Climatic change can significantly affect NPP, but variations in NPP of herbaceous marsh and their responses to climate change in China remain unclear. Using meteorological data and MODIS NPP data during 2000-2020, this study analyzed the spatial and temporal variations of NPP and their responses to climate change in Chinese herbaceous marshes. We found that the annual NPP of herbaceous marshes in China increased significantly at a rate of 3.34 g C/m2/a from 2000 to 2020, with an average value of 336.60 g C/m2. The increased annual total precipitation enhanced the national average NPP, whereas annual mean temperature had no significant effect on the national average NPP. Regionally, precipitation had a significant positive effect on the NPP in temperate semi-arid and arid and temperate semi-humid and humid marsh regions. For the first time, we discovered asymmetry effects of daytime and nighttime temperatures on NPP in herbaceous marshes of China. In temperate humid and semi-humid marsh regions, increased summer daytime temperature decreased the NPP while increased summer nighttime temperature increased the NPP. In the Tibetan Plateau, increased autumn daytime temperature, as well as summer daytime and nighttime temperatures could increase the NPP of herbaceous marshes. This study highlights the different influences of seasonal climate change on the NPP of herbaceous marshes in China and indicates that the differential effects of daytime and nighttime temperatures should be considering in simulating the NPP of herbaceous marshes in terrestrial ecosystem models, especially under the background of global asymmetric diurnal warming.