Coffee can trigger acid reflux and heartburn in some people because caffeine relaxes the lower oesophageal sphincter and stimulates stomach acid production. Its natural acidity may also irritate the digestive tract. Drinking coffee on an empty stomach or consuming multiple cups daily can worsen symptoms, especially in people prone to GERD or digestive sensitivity.