# Does acetoacetic ester give haloform test?

According to my class notes, acetoacetic ester doesn't give haloform test, but I feel that it should.

I know that the methyl group on acetoacetic ester is not responsible for the haloform test. First, the active methylene group is attacked by the base and halogen ion is substituted there. After the attack of $$\ce{OH-}$$ on the carbonyl carbon we will also get an ethanol molecule (from the ester part), which apparently should give positive haloform test.

I am confused. Which is correct?

• With just dil. $\ce {NaOH}$ at r.t.p., the hydrolysis may be rather slow? Only with heating may sufficient ethanol be produced to give a positive iodoform test. I would agree with you that under heating, with $\ce {NaOH}$ (aq), $\ce {I2}$ (aq), iodoform test would give a positive result. – Tan Yong Boon Jun 24 '20 at 8:17
• Does this answer your question? Does acetic acid give a positive result with the iodoform test? – Mathew Mahindaratne Jun 24 '20 at 9:22
• This has an accepted answer. – Mathew Mahindaratne Jun 24 '20 at 9:23
• @MathewMahindaratne granthium is not asking about acetic acid. granthium is asking if iodoform test reagents would be able to hydrolyse the acetoacetic ester and produce suffiicient ethanol to give a positive iodoform test result. – Tan Yong Boon Jun 24 '20 at 10:42
• Look at this: chemistry.stackexchange.com/questions/135626/… ---- Search "acetoacetic" in reference i PDF. NaOCl gives dichloroacetic acid. It is unlikely that the diiodide, under iodoform conditions, is ever formed although the diiodide of AAE is known. The methyl group, which is less acidic than the methylene group, is not involved. – user55119 Jun 24 '20 at 12:38

According to this paper1, acetoacetate gives only mono-iodination at the methylene centre under more powerful iodinating conditions than the standard iodoform $$\ce{I2/OH-}$$. The mono-iodo product in the presence of excess base will exist as the iodo-enolate effectively stopping iodination at the methyl ketone centre. Thus no iodoform product will be formed.