
Resource recovery from livestock waste is essential for reducing dependence on mineral fertilizers and improving nutrient circularity in agricultural systems. Biogas slurry (BS), a nutrient-rich liquid digestate generated during anaerobic digestion, represents a potentially valuable secondary nutrient resource; however, its effectiveness when crop nutrient acquisition is constrained by limited water availability remains insufficiently understood. This study evaluated the effects of partial (BC) and complete (BS) substitution of chemical fertilizer with livestock waste-derived BS on maize growth and nutrient accumulation under well-watered and water-deficit conditions, while maintaining equivalent N, P, and K inputs among fertilization treatments. Water deficit markedly suppressed plant growth, biomass production, and nutrient accumulation. Compared with chemical fertilizer alone (CF), BS and BC treatments maintained higher leaf relative water content and SPAD values under water-deficit conditions, increasing them by 2.41%-4.72% and 11.61%-13.00%, respectively, while reducing electrolyte leakage by 16.03%-25.48%. Furthermore, BS and BC treatments promoted root and shoot growth, increasing total plant biomass by 26.67%-76.51% and whole-plant N, P, and K accumulation by 6.62%-124.23%, 9.19%-115.30%, and 10.12%-89.60%, respectively. Overall, nutrient-equivalent substitution of mineral fertilizer with livestock waste-derived BS provides a viable pathway for recovering nutrients from anaerobic digestion residues while sustaining crop biomass production and nutrient capture under water limitation. These findings support the agricultural valorization of liquid digestate as a secondary nutrient resource for more circular and resource-efficient crop production.