Process for preparing diimine compounds, in which a discarbonyl compound is reacted with primary amines in the presence of phosphorus pentoxide.