Provided in the present invention is a use of endostatin or a functional variant thereof in the preparation of a drug for treating alimentary obesity, non-alcoholic fatty liver disease, insulin resistance or glucose intolerance. In an embodiment of the invention, the functional variant can be YH-16, mES, mYH-16, m003, m007, mZ101, etc.