Objective:To investigate the effects of different light qualities on the biomass and quality of Cordyceps militaris fruiting bodies.Methods:Fruiting bodies of C.militaris,after color conversion,were respectively placed in glass jars and cultured under nine different light quality conditions:black light(BK),white light(W),cyan light(CY),red light(R),blue light(BE),magenta light(CA),sunlight(SU),yellow light(Y),and green light(G).Differences in color,biomass,active ingredi-ents,and nutritional components of C.militaris fruiting bodies under different light qualities were ana-lyzed.Results:The fruiting bodies of C.militaris under light quality Y exhibited the most optimal color-ation.The biomass and adenosine content of the fruiting bodies under light quality Y were the highest,reaching 29.97 g and 2.45 mg/g,respectively.The highest polysaccharide content was observed in the fruiting bodies under light quality W,at 8.95 mg/g.The highest cordycepin content was found in the fruiting bodies under light quality BE,at 0.30 mg/g.Seventeen amino acids were detected in the fruit-ing bodies,with the highest total amino acid content observed under light quality BE,at 25.32 g/100 g.Conclusion:Light quality Y contributes to improving the coloration,biomass,and adenosine content of the fruiting bodies,while light quality W enhances the polysaccharide content,and light quality BE promotes cordycepin and total amino acid content.