The
haloform reaction is a chemical reaction where a haloform (CHX
3, where X is a
halogen) is produced by the exhaustive
halogenation of a methyl
ketone (a molecule containing the R–CO–CH
3 group) in the presence of a
base. R may be
alkyl or
aryl. The reaction can be used to produce
chloroform (CHCl
3),
bromoform (CHBr
3), or
iodoform (CHI
3).