The invention provides an anti-dandruff composition, which includes anti-dandruff agents, moisturizing agents, and anti-bacterial agents, wherein the anti-dandruff agents include zinc pyrithione, ketoconazole, selenium disulfide, campanol, and pyridone ethanolamine salts. One or more; the antibacterial agent includes one or more of Gu Jingcao extract, eugenol, Coptidis Rhizoma extract, and ebony extract. Adding a moisturizing agent in the composition can moisturize the scalp, promote the health of the hair follicles, and indirectly care for the hair; adding an antibacterial agent can effectively antibacterial and anti-inflammatory, reduce the generation of dandruff, thereby playing the role of removing dandruff; the added anti-dandruff agent can effectively reduce hair loss. dandruff, keep the scalp clean; the anti-dandruff composition of the present invention mildly moisturizes the scalp, effectively inhibits bacterial reproduction, maintains the health of the scalp, and cares for the hair, thereby achieving the purpose of effectively removing dandruff.