Here, a modified version of an in-situ CO<
sub>
2<
/sub>
removal process was applied during AD of food waste with two types of walnut shell biochar (WSB) at bench-scale under batch operating mode. Compared to the coarse WSB, the fine WSB has a higher ash content (43 vs. 36 wt%) and higher concentrations of calcium (31 vs. 19 wt% of ash), magnesium (8.4 vs. 5.6 wt% of ash) and sodium (23.4 vs. 0.3 wt% of ash), but a lower potassium concentration (0.2 vs. 40% wt% of ash). The 0.96 - 3.83 g biochar (g VS<
sub>
added<
/sub>
)<
sup>
-1<
/sup>
fine WSB amended digesters produced biogas with 77.5-98.1% CH<
sub>
4<
/sub>
content by removing 40-96% of the CO<
sub>
2<
/sub>
compared to the control digesters at mesophilic and thermophilic temperature conditions. In a direct comparison at 1.83 g biochar (g VS<
sub>
added<
/sub>
)<
sup>
-1<
/sup>
, the fine WSB amended digesters (85.7% CH<
sub>
4<
/sub>
content and 61% CO<
sub>
2<
/sub>
removal) outperformed the coarse WSB amended digesters (78.9% CH<
sub>
4<
/sub>
content and 51% CO<
sub>
2<
/sub>
removal). Biochar addition also increased alkalinity as CaCO3 from 2,800 mg L<
sup>
-1<
/sup>
in the control digesters to 4,800-6,800 mg L<
sup>
-1<
/sup>
providing process stability for food waste AD.