The present invention relates to a composition for the protection of keratinous fibers containing at least one compound chosen from ceramides and glycoceramides, at least one cationic polymer, and at least one amphoteric polymer; to a process and kit for protecting keratinous fibers from damage caused by chemical treatment by applying, prior to chemical treatment, to the keratinous fibers a leave-in composition comprising at least one compound chosen from ceramides and glycoceramides.