An oral herbal composition comprising a therapeutically effective amount of an extract derived from the berries of a plant, Piper cubeba, wherein the composition is provided for use in the treatment of oral candidiasis (oral thrush). The oral herbal composition can be formulated in the form of a candy, a chewable tablet and an oral gel. The herbal composition exhibits antifungal activity against azole resistant strains of Candida albicans. The herbal composition is safe to administer and has improved patient compliance.