The invention relates to a composition for topical use that comprises a combination of glycerol, Vaseline and liquid paraffin as an active principle, in the form of an oil-in-water or water-in-oil emulsion, said composition being used in the prevention of atopic dermatitis.