The invention relates to a process for separating hydrogen chloride and
phosgene, which comprises bringing a mixture of hydrogen chloride and
phosgene into contact with an ionic liquid in which at least part of the
hydrogen chloride is dissolved in a step a) and then separating off the
hydrogen chloride dissolved in the ionic liquid in a step b).