Food waste offers a renewable feedstock to produce lactic acid, but the co-digestion with sludge has not been suitably studied. In this study, response surface methodology was used to identify the pH, temperature, loading rate, and retention time for co-digestion of foodwaste and primary sludge that optimized lactic acid production.