A self-foaming composition is described that includes trifarotene, for a no-rinse topical application. The composition can include: 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 trifarotene or one of the pharmaceutically acceptable salts thereof being present in at least one of the intermediate compositions A and B. The composition is particularly intended for the treatment of ichthyosis. Also described, is a kit or a single container including a plurality of compartments including such a composition.