The haloform reaction is a chemical reaction where a haloform (CHX3, where X is a halogen) is produced by the exhaustive halogenation of a methyl ketone (RCOCH3, where R can be either a hydrogen atom, an alkyl or an aryl group), in the presence of a base. The reaction can be used to transform acetyl groups into carboxyl groups or to produce chloroform (CHCl3), bromoform (CHBr3), or iodoform (CHI3) and also cyanide.
== Mechanism ==
In the first step, the halogen disproportionates in the presence of hydroxide to give the halide and hypohalite (example with bromine, but reaction is the same in case...