The present research investigated the effect of two carbonaceous materials, multiwalled carbon nanotubes (MWCNTs), and graphene nanoparticles (GNPs), on biogas yield from food waste (FW) in an anaerobic digestion system for 30 days. Lab scale investigations were conducted in batch mode in 250 mL glass reactor bottles and the findings were compared to the control reactor. The performance of the experimental procedure was assessed in terms of biogas output and organic matter reduction. The addition of 100 mg/L multiwalled carbon nanotubes and 100 mg/L GNPs increased the cumulative biogas production (33.55 % and 81.16 %, respectively) while decreasing the total solid content (about 25.95 % and 24.95 %, respectively). However, increasing the concentration of both carbon nanomaterials from 100 mg/L to 500 mg/L reduced the total biogas production compared to the control, which can be attributed to cytotoxic effects. A microbial diversity study was performed using 16S amplicon sequencing to understand the changes occurring in the microbial ecology. The predominant phyla found during diversity analysis were Firmicutes, Proteobacteria, Actinobacteriota, and Bacteroidota. Finally, addition of carbonaceous nanomaterials to the anaerobic reactors favours organic matter degradation through the DIET mechanism. It improves the biogas production kinetics and productivity during the anaerobic digestion of FW up to a certain dose.