The present invention relates to a composition for enhancing mushroom flavor and a method for enhancing mushroom flavor of a food or a beverage. The composition and the method of the present invention comprise a nucleic acid comprising guanylic acid and adenylic acid.