The invention relates to a composition which is intended for a topical application, is in the form of a rinse-off mousse, contains no or only a small quantity of foaming surfactants, and comprises a medium which is cosmetically or pharmaceutically compatible with a topical application, and benzoyl peroxide. The composition comprises at least one intermediate composition, at least one gas-generating agent, at least one agent activating the gas-generating agent, and benzoyl peroxide. The invention also relates to a kit or a single container with a plurality of compartments containing this composition.