The present invention relates to a process for dyeing keratin fibers in which a mixture is applied to the fibers, this mixture being obtained from: •a dye composition comprising at least one oxidation dye precursor, and •an oxidizing composition comprising at least one chemical oxidizing agent, •at least one of the compositions being dispensed from a pressurized container, •the mixture of the two compositions comprising: (i) at least one C8-C30 fatty alcohol that is liquid at room temperature and at atmospheric pressure, (ii) at least one amphoteric or zwitterionic surfactant, (iii) at least a compound chosen from non ionic surfactant comprising a lipophilic part comprising a saturated or unsaturated, linear or branched C16 or C18 hydrocarbon-based chain and a hydrophilic part comprising at least 20 mol of ethylene oxide, unsaturated C8-C40 fatty acid, in acid or salified form, and mixture thereof, and also to a device suitable for performing this process.