Pimelic acid is the organic compound with the formula HO2C(CH2)5CO2H. Derivatives of pimelic acid are involved in the biosynthesis of the amino acid called lysine. Pimelic acid has been synthesized from cyclohexanone and from salicylic acid. In the former route, the additional carbon is supplied by dimethyloxalate, which reacts with the enolate. Azelaic acid is a naturally occurring saturated dicarboxylic acid which, on topical application, has been shown to be effective in the treatment of comedonal acne and inflammatory acne, as well as various cutaneous hyperpigmentary disorders characterised by hyperactive/abnormal melanocyte function, including melasma and, possibly, lentigo maligna. In addition, azelaic acid has an antiproliferative and cytotoxic effect on the human malignant melanocyte, and preliminary findings indicate that it may arrest the progression of cutaneous malignant melanoma.