Hepatogenic diabetes mellitus is elevated blood glucose caused by liver lesions, which can be treated by general treatment, diabetes treatment and liver disease treatment. 1. General treatment: food containing more sugar should be eaten less, it is better to eat protein, high vitamin, low fat, easy to digest food, control carbohydrate intake, and at the same time, it can be supplemented with branched-chain amino acids and micronutrients, and when there is a risk of hepatic encephalopathy, the intake of protein should be limited. 2. Diabetes treatment: insulin should be used as early as possible, firstly, it can reduce blood glucose and protect the function of β-cells; secondly, early and intensive insulin treatment can improve the metabolic state of hyperglycemia. 3. Treatment of liver disease: the treatment of liver disease should be carried out under the guidance of doctors, and blood glucose can be improved with the improvement of liver function. Hepatogenic diabetes mellitus patients should be correctly treated under the guidance of doctors and need to follow the doctor’s prescription for medication.