In haloform reaction, compounds having the structure R−O∣HCH−CH3 or R−O∣∣C−CH3
are treated with an excess of iodine solution and alkali to produce iodoform. Butanol-2CH31O∣HCH2−CH23−CH34+HalogenNaOH+X2→HaloformCHX3
Therefore, 2 -butanol responds to haloform test.