The invention discloses a preparation for treating vaginitis, which comprises the following raw materials: fermented liquid of hibiscus root, perilla extract, mulberry leaves, honeysuckle, aloe vera, Cnidium chinensis, pilosity grass, Houttuynia cordata, fucoidan oligosaccharides, Chitosan, the application also discloses the preparation method of the preparation for treating vaginitis, ferment the hibiscus root through the lactobacillus bacterium liquid, carry out biological transformation to the active ingredients of the extracted Chinese medicine, and convert the macromolecular substance of the Chinese medicine , after microbial transformation, it becomes a small molecular component that can be absorbed by the human body, so that the efficacy of traditional Chinese medicine can be better exerted, and at the same time contribute to the balance of the flora. Further, percolation of perilla by dimethyl sulfoxide solution Extraction, fully extract the effective substances in perilla, and at the same time, dimethyl sulfoxide has the function of penetrating the biological barrier of human skin and carrying drugs, and can form a drug store under the human skin, which can make the drug ingredients more effective.