Acetylation is an organic esterification reaction with acetic acid. It introduces an acetyl functional group into a chemical compound. Such compounds are termed acetate esters or acetates. Acetylations are often used in making C-acetyl bonds in Friedel-Crafts reactions. In addition, acetylation is a chemical reaction in which an acetyl group is added to a compound in place of a hydrogen atom. An acetyl group is a chemical functional group composed of a carbonyl group (a carbon double-bonded to an oxygen) and a methyl group (a carbon bound to three hydrogens). Deacetylation is the opposite reaction, the removal of an acetyl group from a chemical compound and is replaced by a hydrogen atom.
The mechanism of an acetylation reaction can be divided into three steps: (1) Acetyl group protonation, (2) nucleophilic attack, and (3) leaving group departure. The mechanism of acetylation begins with the protonation of the acetyl group. Next, the nucleophile (attacks the carbon center of the protonated acetyl group. Finally, the departure of the leaving group begins. The new acetic anhydride-bound compound is acidic, and readily donates the proton back to the conjugate base in the solution. The acid protonates the leaving group (the central oxygen of the acetic anhydride, now a carboxylic acid leaving group). A lone pair of electrons on the acetyl alcohol replaces those bonding the positively-charged carboxylic acid, and the electron pair bonding the carboxylic acid to the acetyl group now resides solely on the carboxylic alcohol. As the electrons bonding the carboxylic acid to the acetyl group reside solely on the carboxylic alcohol, the carboxylic acid is free to separate in the solution. In the final step, a conjugate base removes a proton from the acetyl group to form the neutral acetylated product. Generally, acetic anhydride is preferred over acetic acid in the acetylation reaction. Acetic anhydride is more reactive and gives better yields of product. This could be explained based on the following equations:
To get a good yield of ester you must use a large excess of acetic acid and/or remove the water as it is formed.
While in the case of acetic anhydride: