Pimelic acid dimethyl ester is an organic compound with the chemical formula CH3OOC(CH2)5COOCH3. It is a diester derived from the dicarboxylic acid, pimelic acid, and is a key intermediate in various organic reactions, particularly in the context of intramolecular Claisen condensations and the Dieckmann cyclization.