Fasting is required before the liver function test, the fasting time is about 8~12 hours, but you can drink a small amount of water. Fasting is required before liver function tests, elevated blood lipids in the body will affect the detection of liver function, especially the bilirubin test value will be different from the real value. Fasting time is about 8~12 hours, do not eat after dinner the day before the liver function test, but can drink a small amount of water. Avoid eating animal liver the day before the test and do not drink alcohol. Before the liver function test, it is recommended to keep enough sleep, avoid overwork, and don’t do high-intensity exercise, keep emotionally stable, and don’t take tetracycline, gentamycin and other drugs, so as not to aggravate the burden on the liver.