There’s no single best over-the-counter medicine for GERD because it depends on how often you get symptoms, how severe they are, and how quickly you need relief. Three classes of OTC medications treat GERD: antacids, H2 blockers, and proton pump inhibitors (PPIs). Each works differently, lasts a different amount of time, and fits a different situation. The right choice comes down to matching the medication to your pattern of symptoms.
Antacids: Fastest Relief, Shortest Duration
Antacids are the simplest option. They neutralize stomach acid directly rather than preventing your body from making it. Common active ingredients include calcium carbonate (Tums), magnesium hydroxide, and aluminum hydroxide (Maalox, Mylanta). They start working within minutes, which makes them useful when heartburn hits unexpectedly after a meal or when you’re lying down.
The tradeoff is that relief doesn’t last long. The actual acid-neutralizing effect wears off in about 30 minutes, though some pain relief can stretch to a couple of hours. Liquid formulations work faster than tablets. Antacids are the least potent of the three classes, so they’re best suited for occasional, mild heartburn rather than daily GERD symptoms. If you find yourself reaching for antacids more than twice a week, that’s a signal to step up to something stronger.
H2 Blockers: Moderate Strength, Longer Lasting
H2 blockers reduce the amount of acid your stomach produces by blocking histamine receptors on the cells that make it. The main OTC option in this class is famotidine, sold as Pepcid and also as the current version of Zantac 360. (The original Zantac contained ranitidine, which was pulled from the market. Today’s Zantac 360 is famotidine under a different label.)
H2 blockers take longer to kick in than antacids, but they provide relief lasting 4 to 10 hours. That makes them a solid choice if you get predictable heartburn, like symptoms that flare up at night. Taking a dose at bedtime can keep acid suppressed through the hours when reflux tends to be worst. For people with moderate symptoms that antacids can’t control but that don’t require the heaviest suppression, famotidine often hits the sweet spot.
PPIs: Strongest Acid Suppression
Proton pump inhibitors are the most powerful OTC option. They shut down acid production at the source by blocking the enzyme (the “proton pump”) that secretes acid into your stomach. OTC PPIs include omeprazole (Prilosec OTC) and lansoprazole (Prevacid 24HR). These are the same medications doctors prescribe for GERD, erosive esophagitis, and ulcers, just at lower doses.
PPIs don’t provide instant relief. They need to be taken on an empty stomach, 30 minutes to an hour before eating, so the medication has time to work before your stomach ramps up acid production in response to food. It can take one to four days of consistent use before you feel the full effect. But once they’re working, PPIs suppress acid more completely and for longer than either of the other two classes.
OTC PPIs are designed for 14-day courses. You take one pill daily for two weeks, then stop. If symptoms return, you can repeat the course, but the labeling recommends no more than three 14-day courses per year without a doctor’s guidance. This isn’t a medication you’re meant to take indefinitely on your own.
How to Choose the Right One
Think about your symptoms in terms of frequency and severity:
- Occasional heartburn after a specific meal: An antacid is usually enough. It’s quick, cheap, and you only take it when you need it.
- Heartburn several times a week, especially at night: Famotidine gives you hours of coverage and can be taken preventively before you expect symptoms.
- Daily symptoms that disrupt eating, sleeping, or quality of life: A 14-day PPI course delivers the strongest suppression and is the closest OTC equivalent to what a gastroenterologist would start you on.
Some people combine approaches. Taking an antacid for immediate relief while starting a PPI course (which takes days to reach full effect) is a common and reasonable strategy. You can also use an antacid for breakthrough symptoms while on an H2 blocker.
Risks of Long-Term Use
Antacids and H2 blockers are generally well tolerated for extended periods, though antacids containing magnesium can cause diarrhea and those with aluminum can cause constipation.
PPIs are where the safety conversation gets more nuanced. Short courses are very safe for most people. But long-term, continuous PPI use has been linked to reduced absorption of certain vitamins and minerals (including calcium and magnesium), a higher risk of a specific type of intestinal infection, and concerns about bone density. These risks are most relevant to people who take PPIs daily for months or years, not to someone completing a two-week OTC course. Still, the pattern matters: if you keep needing 14-day courses back to back, that’s worth discussing with a doctor rather than self-managing indefinitely.
GERD Medications During Pregnancy
Calcium carbonate (Tums) is the preferred first choice for pregnant or breastfeeding women with mild to moderate heartburn. Aluminum hydroxide and magnesium hydroxide combinations are the next best option. Among H2 blockers, famotidine carries minimal risk during pregnancy and breastfeeding. For stronger suppression, omeprazole has reasonably strong safety data in pregnancy, and lansoprazole is considered similar enough to be used as well. No adverse events have been reported with either PPI in breastfeeding mothers.
Signs That OTC Treatment Isn’t Enough
If you’re using any OTC heartburn medication more than twice a week on an ongoing basis, that’s a threshold the American College of Gastroenterology uses to recommend seeing a doctor for a formal diagnosis and treatment plan. Prescription-strength medications and other interventions may be more appropriate.
Certain symptoms suggest that reflux may have already caused damage or that something more serious is going on. These include difficulty swallowing or a feeling of food getting stuck behind your chest, vomiting blood or material that looks like coffee grounds, black or tarry stools, choking sensations with coughing or hoarseness, and unexplained weight loss with difficulty tolerating food. Any of these warrant prompt medical evaluation rather than continued self-treatment.

