The present invention relates to a shaving composition comprising an active ingredient for the use in the treatment and/or prevention of pseudofolliculitis barbae and/or folliculitis. The present invention also relates to the use of an active ingredient for the manufacture of a composition for the treatment and/or prevention of the aforementioned conditions.