Canopy water use efficiency (WUEc) is a critical indicator for characterizing the coupling of water and carbon processes in agroecosystems. Although groundwater serves as an important water source for crops in arid districts, the response of WUEc to groundwater depth during crop growing season remains poorly understood. We examined this relationship in an irrigated maize field in the Hetao Irrigation District by combining three years (2017 −2019) of eddy covariance observations with evapotranspiration (ET) partitioning and environmental factors measurements. The results revealed that maize transpiration accounted for an average of 85.7% of ET and daily mean WUEc was 2.68 g C kg−1 H2O. WUEc was jointly influenced by meteorological conditions, canopy development, and water availability. And groundwater table depth (WTD) was significantly and negatively associated with WUEc when surface water input was relatively low. Normalized net ecosystem productivity (NEPn) and transpiration (Tn) decreased as WTD increased, with NEPn showing greater sensitivity than Tn. As a result, WUEc remained relatively stable within the observed smaller WTD range, but declined significantly as WTD increased beyond approximately 2.0 m in the late growth stages. In particular, when root-zone soil water content (SWC) remained below field capacity (0.31 m3 m−3 in this site) for several consecutive days, a sharp decline in NEPn led to a rapid decrease in WUEc. This study demonstrates a stage-dependent response of WUEc to WTD, and highlights the importance of considering both groundwater depth and SWC in arid irrigation districts particularly in the late growing season to sustain WUEc and agricultural water productivity.