Thus, it is possible to exhibit a sufficient anti-dandruff effect by using only a small amount of the metal pyrithione salt.Especially in a case where the cosmetic composition of the present invention is used as a washing liquid, it is possible to provide a washing liquid which is excellent in both the anti-dandruff effect and the washing property to remove dirt such as oil and dust from the body,