[C:1](=O)([O-])[O-].[K+].[K+].CI.[Br:9][C:10]1[S:14][C:13]([NH:15][C:16](=[O:18])[CH3:17])=[N:12][CH:11]=1.O>CC(C)=O>[Br:9][C:10]1[S:14][C:13]([N:15]([CH3:1])[C:16](=[O:18])[CH3:17])=[N:12][CH:11]=11.9 g (14 mmol) of potassium carbonate and 3.94 ml (63.3 mmol) of methyl iodide are added to a solution of 2.8 g (12.7 mmol) of N-(5-bromothiazol-2-yl)acetamide in 50 ml of acetone. The reaction medium is refluxed for 3 hours. After addition of water, the reaction medium is extracted with ethyl acetate. The organic phase is washed with saturated aqueous sodium chloride solution, dried over magnesium sulfate, filtered and evaporated. The residue obtained is purified by chromatography on a column of silica eluted with a 7/3 heptane/ethyl acetate mixture. 1.1 g (36%) of N-(5-Bromothiazol-2-yl)-N-methylacetamide are obtained.