Several methods exist for the preparation of diazo compounds. Classically, diazos were prepared via
diazo coupling, but the reaction only produces diaryl diazo compounds.
From amines or nitrosamines Alkyl-acyl
nitrosamines in base
dehydrate to diazo compounds: for an alternative. Examples are the laboratory synthesis of diazomethane from
diazald or
MNNG. In some cases, the nitrosamine can be produced
in situ without base. Primary aliphatic
amines R-CH2-NH2 with an α acceptor (R = COOR, CN, CHO, COR) directly generate a diazo compound in
nitrous acid.
From hydrazones Hydrazones are
oxidized (
dehydrogenation) for example with
silver oxide or
mercury oxide for example the synthesis of from
acetone hydrazone. Other oxidizing reagents are
lead tetraacetate,
manganese dioxide and the
Swern reagent.
Tosyl hydrazones RRC=N-NHTs are reacted with base for example
triethylamine in the synthesis of crotyl diazoacetate and in the synthesis of
phenyldiazomethane from PhCHNHTs and
sodium methoxide. Reaction of a
carbonyl group with the
hydrazine 1,2-bis(tert-butyldimethylsilyl)hydrazine to form the hydrazone is followed by reaction with the
iodane difluoroiodobenzene yields the diazo compound: :
From diazomethyl compounds An example of an
electrophilic substitution using a diazomethyl compound is the
Nierenstein reaction between an
acyl halide and
diazomethane. The same reaction is the first step in the
Arndt-Eistert synthesis.
By diazo transfer In
diazo transfer, sometimes called
Regitz diazo transfer, certain
carbon acids react with
sulfonyl azides and a weak base like
triethylamine or
DBU, with corresponding
sulfonamide byproduct. The mechanism involves
enolate attack at the terminal nitrogen, proton transfer, and sulfonamide anion expulsion. β-Carbonyl aldehydes undergo a
deformylative variant to give primary diazo compounds stabilized by only the
ketone. Simple examples synthesize tert-butyl diazoacetate, diazomalonate, or
methyl phenyldiazoacetate (from
methyl phenylacetate). In a more complicated example,
phenacyl bromide reacts with
trimethylphosphite and then
sodium hydride and methanesulfonyl azide to give a diazo product that converts
aldehydes into
alkynes. This method resembles the
Ohira-Bestmann reagent but is significantly more expensive.
From azides One method is described for the synthesis of diazo compounds from
azides using
phosphines: : == Reactions ==