A self-foaming composition for a topical application is described. The composition can include a medium which is cosmetically- or pharmaceutically-compatible with a topical application, and clobetasol propionate. The composition can include a small quantity of foaming surfactants. The composition includes: at least one intermediate composition B including a gas-generating agent at least one intermediate composition A including an agent for activating the gas-generating agent and clobetasol propionate being present in at least one of the intermediate compositions A and B. Also described, is a kit or a single container including a plurality of compartments including such a composition.