Trans-Methyl crotonate is obtained by esterification of crotonic acid and methanol. The reaction solution prepared by 800g of crotonic acid, 1L of methanol, 130g of sulfuric acid and 300ml of carbon tetrachloride was heated on a water bath, and carbon tetrachloride was recovered after dehydration and esterification to obtain a crude product of methyl crotonate. Then, the unreacted crotonic acid in the crude product is washed with water, washed with 5% sodium carbonate, and purified by vacuum distillation to obtain the finished product.