Gastritis is an inflammation of the lining of the stomach, and has many possible causes. The main acute causes are excessive alcohol consumption or prolonged use of nonsteroidal anti-inflammatory drugs (also known as NSAIDs) such as aspirin or ibuprofen.