What Are H2 Blockers? Uses, Types, and Side Effects

H2 blockers are a class of medications that reduce stomach acid by blocking histamine receptors on the acid-producing cells in your stomach lining. Three are currently FDA-approved in the United States: famotidine, cimetidine, and nizatidine. All three are available over the counter at lower doses, with higher-strength versions requiring a prescription.

How H2 Blockers Work

Your stomach’s parietal cells produce hydrochloric acid in response to several chemical signals, one of which is histamine. When histamine locks onto a specific receptor (called the H2 receptor) on these cells, it triggers a cascade that pumps acid into the stomach. H2 blockers sit on that receptor and prevent histamine from activating it, which reduces the total amount of acid your stomach produces.

This is different from the histamine involved in allergies. Allergy medications like diphenhydramine block a different receptor (H1), which is why they don’t help with heartburn and H2 blockers don’t help with hay fever.

What They Treat

H2 blockers are most commonly used for heartburn, acid reflux (GERD), and stomach or duodenal ulcers. They’re also used for conditions where the stomach produces too much acid, and sometimes to prevent stress ulcers in hospitalized patients. At over-the-counter doses, most people reach for them to relieve occasional heartburn or indigestion.

Available Medications and Doses

Famotidine is the most widely used H2 blocker today. It comes in 10 mg and 20 mg tablets over the counter, with 40 mg tablets available by prescription. You may recognize it by the brand name Pepcid. Chewable tablets and a liquid suspension are also available.

Cimetidine, the original H2 blocker (sold as Tagamet), is available OTC at 200 mg, with prescription strengths going up to 800 mg. Nizatidine (Axid) has a 75 mg OTC option and prescription tablets at 150 mg and 300 mg.

Ranitidine, once the most popular H2 blocker sold as Zantac, was pulled from the U.S. market in 2020 after testing revealed it could form a cancer-causing contaminant during storage. It is no longer available.

How They Compare to PPIs

Proton pump inhibitors like omeprazole (Prilosec) and esomeprazole (Nexium) work differently. Instead of blocking just one signal to the acid pump, PPIs shut down the pump itself. This makes them substantially more powerful. A PPI keeps stomach pH above 4 for roughly 15 to 22 hours per day, compared to about 4 hours for an H2 blocker.

That difference shows up clearly in healing rates. In studies of peptic ulcers, PPIs healed about 84% of gastric ulcers and 87% of duodenal ulcers, while H2 blockers healed 78% and 76%, respectively. A meta-analysis of 30 trials found PPIs had a 15% advantage in duodenal ulcer healing and a 10% advantage in gastric ulcer healing after just two weeks. PPIs also tend to relieve symptoms faster. Patients who don’t respond to H2 blockers often do better when switched to a PPI.

So why use H2 blockers at all? They kick in faster than PPIs for on-demand relief of a single episode of heartburn. A single dose of famotidine can start working within 30 to 60 minutes, while PPIs can take one to four days of daily use to reach full effect. For occasional, predictable heartburn, an H2 blocker taken before a triggering meal can work well.

The Tolerance Problem

One important limitation of H2 blockers is that your body builds tolerance to them remarkably fast. Research shows that tolerance is detectable as early as the second dose or second day of use. This isn’t a gradual decline over weeks. It happens almost immediately when you take them on consecutive days.

Once tolerance develops, increasing the dose doesn’t overcome it. The loss of effectiveness plateaus rather than getting progressively worse, but the drug simply doesn’t suppress acid as well as it did the first time. Recovery takes more than three days after you stop taking the medication, meaning you can’t just skip a day and reset.

The practical takeaway: H2 blockers work best when used occasionally for isolated episodes of heartburn. If you need daily acid suppression, a PPI is generally a better choice because it doesn’t develop this same rapid tolerance.

Side Effects

H2 blockers are well tolerated overall. Side effects are uncommon and usually minor when they occur: diarrhea, constipation, fatigue, drowsiness, headache, and muscle aches. Rare cases of liver injury have been reported with all H2 blockers, but this is unusual.

Cimetidine specifically has a higher rate of drug interactions than the others, partly because it interferes with certain liver enzymes that metabolize other medications. It can also have hormonal side effects at high doses, including breast tenderness in men. For these reasons, famotidine has largely replaced cimetidine as the go-to H2 blocker.

Long-term safety data has been reassuring on one concern that comes up frequently: whether chronic acid suppression might lead to bacterial overgrowth or abnormal cell changes in the stomach lining. At standard H2 blocker doses, enough acid is still produced in response to meals to prevent persistent bacterial colonization, and problematic cell changes have not been observed during long-term therapy.

Drug Interactions to Know About

Because H2 blockers raise the pH inside your stomach, they can interfere with medications that need an acidic environment to dissolve properly. This mostly affects certain antifungal drugs (like ketoconazole and itraconazole), some HIV medications (like atazanavir and rilpivirine), and several cancer treatments (like dasatinib, erlotinib, and gefitinib).

The fix is usually timing. Most of these interactions can be managed by taking the affected medication two hours before the H2 blocker or several hours after. Some require specific windows of 10 or even 12 hours of separation. If you take any prescription medications regularly, it’s worth checking whether an H2 blocker could affect their absorption before adding one to your routine.