Chemistry doubt, NEET and JEE

Which compounds give the haloform (iodoform) test?

Answer: Compounds with a CH3​CO− group joined to carbon or hydrogen, and alcohols with a CH3​CH(OH)− group, give a yellow precipitate of iodoform, CHI3​, with I2​ and NaOH. This is the haloform reaction carried out with iodine.

By Sunil Kumar. Updated 26 November 2026.

Why

The haloform reaction: a methyl ketone reacts with a halogen and alkali (sodium hypohalite, NaOX) to give a haloform, CHX3​, and the sodium salt of a carboxylic acid with one carbon less: RCOCH3​+3NaOX ​ RCOONa+CHX3​+2NaOH, where X is Cl, Br or I.

Base and halogen replace the three alpha hydrogens of the methyl group one after another; each halogen makes the remaining hydrogens more acidic. Hydroxide then attacks the carbonyl carbon and cuts off the CX3​ group, which leaves as the haloform.

The reaction does not touch a C=C double bond, so it is used to turn a methyl ketone into an acid with one carbon less when the molecule also has a double bond.

Alcohols of the type CH3​CH(OH)R respond because the reagent first oxidises them to the methyl ketone.

Gives the testDoes not give the test
EthanolMethanol
EthanalPropanal
Propanone, butan-2-onePentan-3-one
Propan-2-ol, butan-2-olPropan-1-ol
AcetophenoneBenzophenone, benzaldehyde
Lactic acidAcetic acid, ethyl acetate

Exam tip

Ethanol is the only primary alcohol and ethanal the only aldehyde that give the test. Acetic acid, esters and amides have CH3​CO− but do not respond, because the group is attached to O or N.

Previous year questions on this

Practise the same idea

More doubts like this

10 questions on this chapter, with solutions