Anaerobic fermentation liquid from food waste contains abundant nutrients, such as volatile fatty acids (VFAs) and NH 3 −N, which are promising nutrient sources for plant growth. Here, we report a novel integrated technique for the simultaneous recovery of C and N sources from anaerobic fermentation liquid. VFAs and NH 3 −N extracted from anaerobic fermentation liquid were synthesized and converted into layered double hydroxides (LDHs) and NH 4 HCO 3 , respectively, for subsequent use as soil amendments to provide external C and N to plants. The X-ray diffraction, Fouriertransform infrared spectroscopy, and scanning electron microscopy/energy dispersive X-ray spectroscopy results suggested that VFAs were successfully intercalated within the LDH, and the composite (VFA-LDH) exhibited good sustained release performance. In the VFA-LDH synthesis process, the concentrations of chemical oxygen demand, VFAs, and NH 3 −N were reduced by 49.4%, 27.9%, and 43.6% in the anaerobic fermentation liquid, respectively. In addition, VFA-LDH and NH 4 HCO 3 promoted increased soil fertility, including organic matter content, cation exchange capacity, and N and P contents. Overall, the developed technique exhibits great potential as an anaerobic fermentation liquid treatment and nutrient acquisition method.