In organic chemistry, a carbodiimide (systematic IUPAC name: methanediimine) is a functional group with the formula RN=C=NR. On Earth they are exclusively synthetic, but in interstellar space the parent compound HN=C=NH has been detected by its maser emissions.
A well known carbodiimide is dicyclohexylcarbodiimide, which is used in peptide synthesis. Dialkylcarbodiimides are stable. Some diaryl derivatives tend to convert to dimers and polymers upon standing at room temperature, though this mostly occurs with low melting point carbodiimides that are liquids at room temperature. Solid diaryl carbodiimides are more stable, but can slowly undergo hydrolysis in the presence of water over time.