Heartburn happens when stomach acid moves upward into your esophagus—the tube that carries food from your mouth to your stomach. This backward flow is called acid reflux. Your stomach naturally produces acid to break down food, but that acid should stay in your stomach, not travel up. When it does, you feel a burning sensation in your chest, usually behind your breastbone.
Learn About Paying Your FGUA Bill Online →
Several common situations trigger this upward acid movement. Eating large meals forces your stomach to produce extra acid and creates pressure that pushes acid back up. Certain foods relax the lower esophageal sphincter (LES)—a muscular ring that normally acts like a one-way valve. These problem foods include chocolate, mint, fatty meats, fried foods, citrus fruits, tomatoes, and spicy dishes. Beverages matter too: alcohol, caffeine, and carbonated drinks all weaken that valve.
Body position and timing affect heartburn risk significantly. Lying down within three hours of eating allows gravity to work against you, making reflux more likely. Bending over or exercising right after a meal can also trigger symptoms. Weight plays a role as well—extra weight around your abdomen increases pressure on your stomach. Pregnancy also changes stomach pressure and hormone levels, making heartburn more common.
Certain medications can contribute to heartburn. Aspirin, ibuprofen, and some blood pressure medications relax the LES. Even stress affects your digestive system by increasing acid production and slowing stomach emptying. Some people have structural issues—a hiatal hernia occurs when part of the stomach pushes through the diaphragm, making reflux easier.
Your takeaway: Heartburn isn't random. Tracking when it happens—what you ate, your position, your stress level—helps you spot your specific triggers so you can make targeted changes.
Several types of non-prescription medications target heartburn through different mechanisms. Understanding how each one works helps you choose what might work for your situation.
Free Guide to Pay by Plate Illinois Billing →
Antacids work by neutralizing acid that's already in your stomach and esophagus. Common brands contain calcium carbonate, magnesium hydroxide, or aluminum hydroxide. These products work quickly—usually within 15 to 30 minutes—but their effects don't last long, typically one to three hours. You'll recognize antacids as the chalky tablets or liquids you've probably seen in drugstores. They're useful for occasional, mild heartburn but aren't designed for frequent symptoms. Some people use antacids after eating a trigger food or before bed if they know heartburn might strike.
H2 blockers (histamine-2 receptor antagonists) work differently by reducing the amount of acid your stomach produces. Famotidine and ranitidine are the main active ingredients in over-the-counter H2 blockers. These take 30 minutes to an hour to kick in but last much longer—typically 8 to 12 hours. Many people take H2 blockers before meals they suspect might cause problems, or regularly if they experience heartburn several times weekly. They're stronger than antacids but gentler than prescription-strength options.
Proton pump inhibitors (PPIs) are the most powerful over-the-counter option. Omeprazole and lansoprazole are the main OTC PPI medications. These reduce stomach acid production even more dramatically than H2 blockers by blocking the pumps that release acid. PPIs take longer to work—usually one to four days of regular use before you notice major improvement—but their effects can last 24 hours or longer. Most people taking PPIs take them once or twice daily before meals. Packages typically recommend using them for two weeks, then stopping to see if symptoms have improved.
Combination products exist that pair antacids with other ingredients. Some add alginic acid, which floats on stomach contents and forms a protective barrier. Reading labels matters because different brands have different active ingredients at different doses.
Your takeaway: Occasional heartburn calls for antacids or H2 blockers. Frequent heartburn might benefit from PPIs, but using any medication long-term warrants a conversation with your doctor about whether it's appropriate for you.
Many people find that adjusting habits and trying natural approaches reduces heartburn without medication. These methods don't work for everyone, but they're worth exploring as part of your overall heartburn management.
Free Guide to Mold Removal Methods for Walls →
Dietary changes are often the most effective approach because food directly triggers symptoms in many people. Beyond avoiding obvious triggers, meal size matters tremendously. Eating smaller portions means your stomach produces less acid and your LES faces less pressure. Spreading food across five or six small meals rather than three large ones prevents the stomach from becoming overstuffed. Eating slowly and chewing thoroughly gives your digestive system time to work properly and reduces how much you eat before feeling full.
Timing considerations rank equally with food choices. Waiting two to three hours after eating before lying down prevents acid from flowing backward. This means finishing dinner early enough to stay upright through the evening. For nighttime heartburn specifically, elevating your head while sleeping—using an extra pillow or raising the head of your bed four to six inches—uses gravity to keep acid down. Wedge pillows designed for this purpose are inexpensive and effective for many people.
Ginger has been studied for digestive support and some people report relief from ginger tea or fresh ginger added to foods, though research shows mixed results. Aloe vera juice consumed before meals may soothe the esophagus for some individuals. Apple cider vinegar is frequently recommended but actually increases acidity, so it typically worsens heartburn despite popular claims. Licorice-based products called DGL (deglycyrrhizinated licorice) might protect the stomach lining, though evidence remains limited.
Weight management significantly impacts heartburn frequency. People who lose even 10 to 15 pounds often notice fewer symptoms because excess abdominal weight reduces stomach pressure. Stress reduction techniques—whether meditation, exercise, or other methods you prefer—decrease acid production since stress triggers digestive changes.
Clothing choices affect symptoms too. Tight waistbands, tight belts, and restrictive clothing squeeze your abdomen and push acid upward. Wearing loose-fitting clothes around your midsection keeps pressure off your stomach. Similarly, bending or exercising immediately after eating forces acid upward, so waiting at least two hours after meals before vigorous activity helps many people.
Your takeaway: Lifestyle changes require time to show results—usually several weeks—but they address heartburn at the source rather than just treating symptoms. Combining multiple small changes often works better than relying on any single strategy.
If over-the-counter options don't control your symptoms, or if you're using them multiple times weekly, prescription medications become worth discussing with your doctor. Several stronger options exist, each suited to different situations.
How to Delete Your Fitbit Account Guide →
Prescription-strength PPIs (such as esomeprazole, pantoprazole, and rabeprazole) are more potent versions of the omeprazole you can buy without a prescription. Doctors prescribe these for moderate to severe acid reflux that doesn't respond to over-the-counter PPIs. These medications suppress acid production so completely that they can allow damaged tissue in your esophagus to heal. Most people take them once daily, usually in the morning before breakfast.
Prescription H2 blockers (particularly famotidine at higher doses than available over-the-counter) provide a middle option between OTC strength and PPIs. These are less commonly prescribed now due to PPI effectiveness but remain useful for certain patients.
Sucralfate works through a different mechanism—it coats the esophagus and stomach lining, protecting damaged tissue while other treatments reduce acid. Metoclopramide increases stomach muscle contractions, helping your stomach empty faster so acid has less time to flow backward. This medication is particularly useful if slow stomach emptying is part of your problem.
Some doctors prescribe baclofen, which relaxes the LES—but not in a way that allows reflux. Instead, it reduces the inappropriate relaxations that let acid escape. This medication is newer to heartburn treatment and not as widely prescribed but shows promise for people who don't respond well to acid
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.