The green and blue water footprint (WFP) of major grain crops was quantified in 11 cities of Shanxi Province in the period 20052014 based on the theory of WFP. The spatiotemporal variations and influencing factors of the WFP were analyzed using meteorological and agricultural data. The results showed that the WFP of crop production declined in different regions of Shanxi Province over the past decade. The blue WFP decreased significantly compared with green WFP. The blue WFP of integrated crop production in Shanxi decreased from 1.11 m~3/kg in 2005 to 0.64 m~3/kg in 2014. There were the marked differences in the WFP among various crops,and the blue and green WFP of soybean ranked the highest,which were 2.74 m~3/kg and 2.11 m~3/kg,respectively. The former was 6.5 times of the blue WFP of corn,and the latter was 5.1 times of the green WFP of wheat. From the perspective of WFP composition,the proportion of green WFP in the south of Shanxi Province was higher than that in the north. The average proportion of green WFP in the total water consumption was 46 %, showing great potential for improving green water use efficiency in this province. Generally,both the blue and green WFP of crops fluctuated with the downward trend from north to south in all 11 cities. Higher levels of WFP were observed in the Datong City and Lvliang. Path analysis showed that climate factors such as sunshine,temperature,and rainfall were the top three factors influencing the WFP of crops. In Shanxi Province,the spatiotemporal variations in the WFP of crop production were due to the spatiotemporal differences in climate conditions,while the input of agricultural production had less influence.