The embodiment of invention provides a method for producing γ-aminobutyric acid, including the steps of providing a medium including Saccharomyces cerevisiae, adding an extract of Rhinacanthus nasutus into the medium and fermentating Saccharomyces cerevisiae in the medium added with the extract of Rhinacanthus nasutus to produce γ-aminobutyric acid.