Coffee ground vomitus refers to a particular appearance of vomit. Blood contains iron within heme molecules in red blood cells. When this iron has been exposed to gastric acid for some time, it becomes oxidized. This reaction causes the vomitus to look like ground coffee. Coffee-ground vomitus is a classic sign of upper gastro-intestinal bleeding. A peptic ulcer, for example, may bleed into the stomach and produce coffee-ground vomitus. There are many causes that can result in this reaction, with use of NSAIDs (Non-Steroidal Anti-Inflammatory Drugs) being particularly common. These drugs can interfere with the stomach's natural defenses against the strongly acidic environment, causing damage to the mucosa that can result in bleeding. Therefore it is recommended that these class of drugs should be taken with food or on a full stomach. However certain types of illnesses can cause this type of vomiting, and in these cases medical attention is required immediately . When bright red blood is vomited, this is termed hematemesis. Hematemesis, in contrast to coffee ground vomitus, suggests that upper gastrointestinal bleeding is more acute or more severe, or originates more proximally than the stomach:for example, in the esophagus due to a Mallory-Weiss tear. This condition may be a medical emergency. Urgent care may be required.
Oxidized blood from an upper gastrointestinal bleed can also be excreted in stool. It produces tarry, blackened stools known as melaena.