The invention relates to a benzothiazole derivative, a preparation method and an application thereof, wherein the benzothiazole derivative is 2-m-aniline benzothiazole-1H-pyrazole-3-formamide, and the structural formula of the benzothiazole derivative is shown in the description. The benzothiazole derivative disclosed by the invention can accelerate the growth of saccharomycetes, strengthen the metabolic activity of the saccharomycetes, obviously reduce the plasma triglyceride, the total cholesterol and the high-density lipoprotein of C57 BL/6J mice fed with high-fat feedstuff, reduce the systolic pressure and the diastolic pressure of model mice, reduce the fasting blood glucose of the model mice, improve the sugar tolerance of the mice, affect the expression of SIRT1 and relevant genes (FOXO1, P53, PPAB gamma and PGC-1 alpha), and obviously improve the sugar and fat metabolism of diabetic model mice. Therefore, the benzothiazole derivative can be applied to preparing medicines for preventing and treating diabetes mellitus and complications of the diabetes mellitus.