Different types of food can cause heartburn, including: grapefruit, coffee, garlic, spicy foods, cheese, nuts, peppermint, foods high in fats, and some Carbonated Beverages. Although these are the main heartburn-inducing foods, some foods will give you heartburn more intensely or more often than others.