Cinnamic acid is an organic compound with the formula C6H5CHCHCO2H. It is a white crystalline compound that is slightly soluble in water, and freely soluble in many organic solvents. Classified as an unsaturated carboxylic acid, it occurs naturally in a number of plants. It exists as both a cis and a trans isomer, although the latter is more common.
The original synthesis of cinnamic acid involves the Perkin reaction, which entails the base-catalysed condensation of acetic anhydride and benzaldehyde. Rainer Ludwig Claisen (1851–1930) described the synthesis of cinnamate esters by the reaction of benzaldehyde and esters. The reaction is known as the Claisen condensation. It can also be prepared from cinnamaldehyde and benzal chloride.