Hepatitis B virus is a hepatophilic virus that can invade several organs of the body at the same time, and the stomach is one of the target organs of the hepatitis B virus. Patients with liver disease should undergo gastroscopy as needed, which allows the doctor to directly see the lesions in the esophagus, stomach and duodenum and other organs, and is more intuitive than a barium x-ray. It can find tiny lesions and know what the nature of the lesion is. It can also take small specimens at the lesion site, do pathological examination and see what the lesion cells look like under the microscope, which is helpful for diagnosis. Its examination results have positive significance to guide clinical treatment. Zhangqiu People’s Hospital, Department of Infectious Diseases, Li Yuerong (1) Acute hepatitis acute stage: the incidence of gastric and duodenal mucosal damage is relatively high in this period, which is an important cause of clinical symptoms such as nausea, vomiting and loss of appetite, and gastroscopy should be performed when necessary. (2) Patients with chronic hepatitis: due to stasis in the portal venous system of the liver, the gastric mucosa is also often stagnant and hypoxic, coupled with liver dysfunction, the toxic substances in the body can not be completely cleared by the liver, while the disruption of hormone secretion in the body can lead to gastric ulcers and other damage. Clinically, patients with chronic hepatitis often have symptoms such as gastric discomfort, belching and acid reflux, nausea and vomiting when brushing teeth, etc. Gastroscopy can help diagnose the cause. (3) Late stage of cirrhosis: mostly accompanied by portal hypertension. Long-term portal hypertension opens up the collateral circulation with dilated, tortuous and varicose vessels, the most prominent being esophageal and gastric fundic varices. About 1/3 of them will rupture and bleed. Therefore, regular gastroscopy, based on the size of varices and the presence or absence of red signs, can detect patients at high risk of bleeding in time to guide treatment. (4) Patients with cirrhotic portal hypertension: the incidence of gastritis in these patients is relatively high, and the risk of heavy gastritis is high, and hemorrhage can occur after ingestion of fried and deep-fried foods, so gastroscopy is the most reliable way to diagnose portal hypertensive gastritis and perform typing. (5) Patients with cirrhosis: Patients with cirrhosis are prone to duodenal bulb ulcers, pyloric sinus area ulcers, compound ulcers, and bile reflux. Compared with X-ray examination, gastroscopy has a high correct rate and can provide clinicians with indications for the rational use of anti-ulcer drugs and gastric mucosal protective agents. In clinical work, there are many patients who are not yet able to undergo gastroscopy, but specialists suggest that patients should cooperate with their doctors for a good gastroscopy so that they can give a more reasonable treatment.