In response to increasing demand for food, Chinese agriculture has both expanded and intensified over the past several decades. Irrigation has played a key role in increasing crop production, and groundwater is now an important source of irrigation water. Groundwater abstraction in excess of recharge (which we use here to estimate groundwater mining) has resulted in declining groundwater levels and could eventually restrict groundwater availability. In this study we used a hydrological model, WBMplus, in conjunction with a process based crop growth model, DNDC, to evaluate Chinese agriculture's recent dependence upon mined groundwater, and to quantify mined groundwater-dependent crop production across a domain that includes variation in climate, crop choice, and management practices. This methodology allowed for the direct attribution of crop production to irrigation water from rivers and reservoirs, shallow (renewable) groundwater, and mined groundwater. Simulating 20 years of weather variability and circa year 2000 crop areas, we found that mined groundwater fulfilled 20%-49% of gross irrigation water demand, assuming all demand was met. Mined groundwater accounted for 15%-27% of national total crop production. There was high spatial variability across China in irrigation water demand and crop production derived from mined groundwater. We find that climate variability and mined groundwater demand do not operate independently; rather, years in which irrigation water demand is high due to the relatively hot and dry climate also experience limited surface water supplies and therefore have less surface water with which to meet that high irrigation water demand.