The most effective over-the-counter option for acid reflux is a proton pump inhibitor (PPI) like omeprazole, taken once daily 20 to 30 minutes before breakfast. For occasional, mild symptoms, a fast-acting antacid or an H2 blocker like famotidine can be enough. The right choice depends on how often your symptoms occur and how severe they are.
Three Types of OTC Medications
Acid reflux treatments fall into three categories, each working differently and suited for different situations.
Antacids (Tums, Rolaids, Mylanta) neutralize stomach acid that’s already there. They work within minutes, making them useful for occasional flare-ups after a heavy meal. The trade-off is that relief typically lasts only 30 to 60 minutes. They won’t prevent reflux or heal any irritation in your esophagus.
H2 blockers like famotidine (Pepcid) reduce the amount of acid your stomach produces. They take longer to kick in, roughly 30 to 60 minutes, but the effect lasts about four hours. Famotidine is available over the counter in 10 mg and 20 mg tablets, taken up to twice daily as needed, with a maximum of 40 mg per day. H2 blockers work well for people who get reflux predictably, like after dinner, since you can take one beforehand.
Proton pump inhibitors like omeprazole (Prilosec) are the strongest option. They shut down acid production at the source by permanently disabling the pumps in your stomach lining that release acid. A single daily dose keeps stomach acid suppressed for 15 to 22 hours. The American College of Gastroenterology recommends an 8-week course of a PPI, taken once daily before a meal, as first-line treatment for people with regular heartburn and regurgitation. PPIs consistently outperform H2 blockers for both symptom relief and healing of esophageal irritation.
Timing Matters More Than You Think
PPIs don’t work like antacids. You can’t pop one when heartburn strikes and expect quick relief. They need to be in your bloodstream when your stomach’s acid pumps activate, which happens when you eat. The optimal window is 20 to 30 minutes before breakfast. Studies show that people who follow this timing get significantly better symptom control than those who take their PPI at random times. Morning dosing also outperforms evening dosing for once-daily use.
H2 blockers are more flexible. You can take famotidine 15 to 30 minutes before a meal you expect will trigger symptoms, or at bedtime if nighttime reflux is your main problem.
Alginate-Based Products
Alginate formulations like Gaviscon work through a completely different mechanism than acid-reducing medications. When the alginate contacts stomach acid, it forms a gel that traps carbon dioxide bubbles, creating a foam “raft” that floats on top of your stomach contents. This raft acts as a physical barrier, sitting between the acid pool and your esophagus. During reflux episodes, the raft moves into the esophagus ahead of the acid, shielding it.
Because alginates don’t depend on suppressing acid production, they provide rapid relief and can be used alongside other medications. They’re a particularly good option for reflux that happens right after meals or when lying down, and they carry essentially no systemic side effects since the gel stays in your digestive tract.
Dietary and Lifestyle Changes
Certain foods relax the muscular valve between your esophagus and stomach, making reflux more likely. Coffee, alcohol, chocolate, and mint all reduce the tension in that valve. High-fat meals, spicy foods, carbonated drinks, and acidic foods like citrus and tomatoes are also well-established triggers. Late-night eating is especially problematic because it increases acid production right before you lie down.
You don’t need to eliminate every possible trigger at once. A more practical approach is to cut out the most common offenders for a few weeks and see which ones actually matter for you. Many people find that just avoiding late meals and reducing fatty or spicy food makes a noticeable difference.
If nighttime reflux is an issue, elevating the head of your bed by about 10 cm (4 inches) using blocks under the bed legs or a wedge pillow can help. If that doesn’t work after a few weeks, increasing to 20 cm (8 inches) is worth trying. Stacking regular pillows doesn’t achieve the same effect because it bends your body at the waist rather than keeping your entire torso elevated.
Supplements Worth Knowing About
Ginger has some clinical support for reflux symptoms. A randomized trial found that 1,080 mg per day of ginger for four weeks significantly improved symptoms like postprandial fullness and upper abdominal pain.
Melatonin is a more surprising option. Clinical trials have found that 3 mg of melatonin daily relieves reflux symptoms comparably to a standard PPI dose. One study found that adding sublingual melatonin to omeprazole improved heartburn, pain scores, and quality of life more than omeprazole alone. Melatonin appears to strengthen the lower esophageal valve and reduce acid secretion through a separate pathway. It’s generally well tolerated, though the research is still based on relatively small trials.
Long-Term PPI Use: What to Watch For
PPIs are safe for short courses, but long-term use (beyond a few months) carries some risks worth understanding. Suppressing stomach acid for extended periods reduces your body’s ability to absorb certain nutrients. A large study found that people taking PPIs for more than two years had a 65% increased risk of vitamin B12 deficiency compared to non-users. Calcium absorption also decreases, and a meta-analysis of 18 studies linked PPI use to a 33% increased risk of fracture at any site and a 58% increased risk of spinal fracture.
Other associations that have appeared in observational research include kidney problems, pneumonia, and low magnesium levels. These findings don’t mean PPIs are dangerous for everyone, but they do mean that staying on them indefinitely without reassessing is not ideal. If you’ve been taking a PPI for months, it’s reasonable to try stepping down to an H2 blocker or using the PPI on demand rather than daily.
Choosing the Right Approach
For occasional heartburn after a big meal, an antacid or a dose of famotidine is usually enough. For symptoms that happen several times a week, a two-week course of a daily PPI is the standard starting point. If symptoms resolve, you can try stopping and switching to as-needed use of an H2 blocker or antacid. For persistent or frequent symptoms, an 8-week PPI course is appropriate.
Reflux that doesn’t improve after 8 weeks on a PPI, or that comes with difficulty swallowing, painful swallowing, unintended weight loss, or vomiting, signals something beyond typical acid reflux and warrants investigation with a gastroenterologist. The same applies if you find yourself relying on daily PPIs for months without being able to taper off.

