This study proposes a novel anaerobic digestion (AD) strategy combining recyclable photoactivated nanomaterials with illumination to enhance electronic transfer for anaerobic microorganisms. Results showed that 7000 Lux illumination increased methane production yield and rate. Incorporating Fe3O4 into graphite carbon nitride (g-C3N4) created a recyclable Fe3O4/g-C3N4 (FG) nanocomposite with improved light absorption, conductivity, redox properties, and methane promotion. The highest methane yield from corn straw was achieved with 7000 Lux and 1.5 g/L FG nanocomposite, 22.6% higher than the dark control. The AD system exhibited increased adenosine triphosphate content, improved redox performance, reduced electron transfer resistance, and higher photocurrent intensity. These improvements bolstered the microorganisms and key genes involved in hydrolysis and acidification, which in turn optimized the acetoclastic pathway. Furthermore, this strategy promoted microorganisms associated with direct interspecies electron transfer, fostering a favorable environment for methanogenic activities, paving the way for future anaerobic reactor developments.