Black poop can be harmless, caused by certain foods or medications ... Johns Hopkins Medicine. Gastritis. Saint Luke's. Bleeding peptic ulcer: treatment. Northwestern Medicine. Esophageal varices ...