The hair-removal device comprises a housing, a flashlamp arranged inside the housing, the housing having an opening through which electromagnetic energy originating from the flashlamp can be transmitted towards a skin surface.The housing comprises:a cavity adjacent to the flashlamp;at least one aeration orifice; andat least one mobile component in the housing, which can be displaced between a first so-called aeration position, in which said cavity communicates with said aeration orifice and a second so-called closed position, for which said cavity is closed in order to limit the light escaping from the opening.Said mobile component can be formed by a housing portion that can close the cavity except for the opening, by moving towards a complementary housing portion.