The invention provides a method for the topical non therapeutical cosmetic treatment of the scalp comprising applying to the scalp an effective amount of at least one alkyl-phthalide or a plant extract comprising mainly said alkyl-phthalide. In particular, the treatment is an anti-dandruff treatment. According to the invention, a CO2 supercritical extract of Apium graveolens seeds consisting mainly of sedanenolide may be used.L'invention concerne l'utilisation d'au moins un alkyle-phtalide ou d'un extrait de plante comprenant principalement ledit alkyle-phtalide pour le traitement cosmétique topique de la peau et du cuir chevelu, en particulier un traitement anti-pelliculaire. Selon l'invention, un extrait supercritique de CO2 de semences d'Apium graveolens comprenant essentiellement de la sédanolide peut être utilisé.