The length of time a patient can live with cirrhosis and vomiting blood depends mainly on whether the treatment is timely and the effect of treatment. This is one of the serious complications of cirrhosis, which means that cirrhosis has entered the advanced stage of the disease and the residual function of the liver can hardly meet the normal needs of the body, which will affect the life expectancy of patients. If the patient achieves hemostasis through surgery early, the patient may survive for a long time, but if the bleeding volume increases rapidly and the patient does not receive treatment in time, he may die quickly due to hemorrhagic shock or hepatic encephalopathy. It is recommended that standardized and effective treatment be given promptly after the diagnosis of cirrhosis to avoid upper gastrointestinal hemorrhage, as well as avoiding harder foods on a daily basis.