In chemistry, an ester is a chemical compound that contains a carbonyl functionality (C=O) attached to an alkoxide. This is done by replacing a hydroxyl group (R-OH) of an acid with an alkoxy group (-O-R) from another molecule such as an alcohol.
Esters may be formed through a variety of esterification reactions, most typically the condensation reaction of a carboxylic acid and an alcohol. For instance, the ester ethyl acetate (shown in the figure) can be produced from the condensation reaction between acetic acid and ethanol. Another method of ester preparation (alcoholysis) uses an acid chloride instead of a carboxylic acid. Both methods involve nucleophilic acyl substitution, that is, the replacement of one nucleophile attached to a carbonyl group with an alkoxide - a superior nucleophile. In alcoholysis, the leaving nucleophile is a halide rather than a hydroxyl group.
An alternative process, suitable for the addition of a relatively small molecule to an alcohol, is the combination of an alcohol and an acid anhydride. Aspirin can be produced by such a reaction, between salicylic acid and acetic anhydride. In these reactions a carboxylate ion substitutes instead of an alkoxide. In all of these reactions an oxygen in the alcohol's hydroxyl group is retained in the ester linkage.
- Wilcox, C.F. (1984). Experimental Organic Chemistry, Theory and Practice. Macmillan. p. 332; ch. 24.
- McMurry, J. (1996). Organic Chemistry (4th ed.). Scarborough, Ontario: Nelson Canada. pp. 222, 639, 803, 814, 816-817, 823-825.