Methyl 6-methylnicotinate is a pharmaceutical intermediate, which can be prepared from 6-methylnicotinic acid as raw material, 6-methylnicotinyl chloride, and then reacted with methanol. It has been reported in the literature that it can be used in the preparation of antibacterial compounds 3-(6-methylpyridine-3-Chemicalbookyl)-4-[(4-methoxyphenyl)methyleneamino]-1H-1,2,4-triazole-5(4H)-thione and 2-methyl-5-vinylpyridine with wide application value in the research and development of new organic materials and new drugs.