structural:reformatting
Reactions

Amides do not readily participate in nucleophilic substitution reactions. Amides are stable to water, and are roughly 100 times more stable towards hydrolysis than esters. Amides can, however, be hydrolyzed to carboxylic acids in the presence of acid or base. The stability of amide bonds has biological implications, since the amino acids that make up proteins are linked with amide bonds. Amide bonds are resistant enough to hydrolysis to maintain protein structure in aqueous environments but are susceptible to catalyzed hydrolysis.

Primary and secondary amides do not react usefully with carbon nucleophiles. Instead, Grignard reagents and organolithiums deprotonate an amide N-H bond. Tertiary amides do not experience this problem, and react with carbon nucleophiles to give ketones; the amide anion (NR) is a very strong base and thus a very poor leaving group, so nucleophilic attack only occurs once. When reacted with carbon nucleophiles, N, N -dimethylformamide (DMF) can be used to introduce a formyl group.

Here, phenyllithium 1 attacks the carbonyl group of DMF 2, giving tetrahedral intermediate 3. Because the dimethylamide anion is a poor leaving group, the intermediate does not collapse and another nucleophilic addition does not occur. Upon acidic workup, the alkoxide is protonated to give 4, then the amine is protonated to give 5. Elimination of a neutral molecule of dimethylamine and loss of a proton give benzaldehyde, 6.