Esophageal cancer spitting out mucus with blood may be caused by digestive bleeding, tumor invading digestive system, gastric ulcer, etc. It can be treated by drugs, radiotherapy, chemotherapy and surgery. 1. Bleeding in digestive tract: esophageal cancer patients may have bleeding in digestive tract due to damage of mucous membrane of digestive tract, which may lead to spitting out digestive secretion with blood. At this time, patients can follow doctor’s advice to use hemagglutinin and posterior pituitary hormone for medication, and endoscopic hemostasis should be carried out in case of large amount of bleeding. 2. Tumor invading the digestive system: esophageal cancer tumor will compress the digestive system in the process of development and impair the digestive function, which may lead to vomiting mucus with blood, at this time, the tumor can be treated by surgery, radiotherapy and chemotherapy depending on the situation, and chemotherapeutic drugs such as cisplatin and paclitaxel can be chosen. 3. Gastric ulcer: Gastric ulcer will lead to gastric mucous membrane breakage, causing patients to vomit mucus with blood, at this time, there is generally no relationship with the tumor, and it can be treated with some acid-suppressing drugs according to the doctor’s prescription, such as omeprazole, rabeprazole and other medicines, and gastric mucous membrane protector drugs can also be used at the same time, such as tioprinone and so on. Esophageal cancer spitting mucus with blood may also be bronchial disease and other conditions. If spitting mucus with blood occurs, one should consult doctor in time to avoid aggravating the condition. Drug application needs to strictly follow the doctor’s prescription.