The liver may also cause elevated blood glucose in diabetes, which we generally refer to as diabetes of hepatic origin. The cause may be due to extensive damage to liver tissue and a decrease in the ability of liver cells to use glucose to synthesize hepatic glycogen, resulting in elevated blood glucose. Secondly, due to impaired liver function, the inactivation of glucagon in the liver is diminished, resulting in elevated blood glucose. Again, a large number of hepatocytes are damaged, resulting in a decrease in the number of insulin receptors on the hepatocyte membrane, leading to increased insulin resistance and elevated blood glucose. It is also possible that when there is liver lesion, hyperaldosteronism is often secondary, and when the body loses too much potassium, it can inhibit insulin secretion and make blood glucose rise. Therefore, if you have abnormal liver function and elevated blood glucose, you must pay attention to exclude if you have diabetes of hepatic origin. About 20% to 40% of patients with cirrhosis have hepatogenic diabetes, so if you have cirrhosis, you must also pay attention to exclude whether you have hepatogenic diabetes, and timely treatment of liver lesions can achieve the improvement of the situation. Hepatogenic diabetes is also more likely to induce hypoglycemia due to abnormal metabolic function, so clinical treatment requires individualized treatment plans to avoid damage to the liver as much as possible.