Anaerobic digestion produces substantial biogas slurry comprising abundant nutrients and complex organic matters. In this study, a process combining hydrothermal pretreatment, struvite precipitation and microbial electrolysis cells assisted anaerobic digestion (MEC-AD) was proposed to treat food waste biogas slurry, and the resource and energy recovery efficiencies were evaluated. Both hydrothermal treatment (H) and struvite precipitation (S) essentially increased CH