Is Famotidine the Same as Pepcid? What to Know

Yes, famotidine is the same medication as Pepcid. Famotidine is the generic (chemical) name, and Pepcid is one of its brand names. Whether you pick up a box labeled “famotidine” or one labeled “Pepcid AC,” the active ingredient reducing your stomach acid is identical.

How the Names Work

Every medication has two names: a generic name based on its chemical identity and one or more brand names chosen by manufacturers. Famotidine is the generic name. Pepcid, Pepcid AC, and Heartburn Relief are all brand names for products containing famotidine as the active ingredient. A store-brand box of famotidine and a name-brand box of Pepcid AC at the same strength will work the same way in your body.

The one exception worth knowing about is Pepcid Complete. This product contains famotidine (10 mg) but also adds two antacids: calcium carbonate (800 mg) and magnesium hydroxide (165 mg). So Pepcid Complete is not just famotidine. It combines an acid reducer with fast-acting antacids, which is why it’s marketed for quicker relief. If you’re trying to match a generic to Pepcid Complete specifically, plain famotidine tablets aren’t a direct substitute.

What Famotidine Does

Famotidine belongs to a class of drugs called H2 blockers. Your stomach naturally produces acid after you eat, triggered by a chemical messenger called histamine that binds to specific receptors on the cells lining your stomach. Famotidine works by blocking those receptors so histamine can’t attach. With the signal interrupted, your stomach produces significantly less acid.

This is different from antacids like Tums, which neutralize acid that’s already been produced. Famotidine prevents the acid from being made in the first place. It’s also different from proton pump inhibitors (like omeprazole), which block acid production through a separate mechanism and are typically used for more persistent or severe conditions.

How Quickly It Works

Famotidine starts reducing stomach acid within about one hour of taking it. A single dose provides relief for 10 to 12 hours, which is why it’s often taken once or twice a day depending on the condition being treated. For preventing heartburn from a meal, taking it 15 to 60 minutes beforehand gives it time to kick in before your stomach ramps up acid production.

OTC vs. Prescription Versions

Over-the-counter famotidine (sold as Pepcid AC or store-brand equivalents) is available in 10 mg and 20 mg tablets. It’s intended for occasional heartburn, acid indigestion, and sour stomach, especially the kind triggered by specific foods or drinks. You can take it to treat symptoms you’re already having or before a meal you expect will cause trouble.

Prescription famotidine comes in higher doses and is used for more serious conditions: stomach or small intestine ulcers, gastroesophageal reflux disease (GERD), and rare conditions where the stomach overproduces acid, such as Zollinger-Ellison syndrome. The active ingredient is the same at every strength. The distinction between OTC and prescription is about dose and the severity of the condition being managed, not a difference in the medication itself.

Why the Price Differs

Generic famotidine is typically cheaper than brand-name Pepcid AC, sometimes substantially so. The formulation requirements for generics mean they must contain the same active ingredient in the same amount and work at the same rate in your body. Inactive ingredients like fillers, coatings, and flavorings can differ between brands, which occasionally matters if you have a sensitivity to a specific dye or additive. But for the vast majority of people, generic famotidine and Pepcid AC are interchangeable.

Conditions It Treats

At over-the-counter doses, famotidine handles the basics: heartburn after a spicy meal, acid indigestion, that sour feeling in your stomach after eating too much or too fast. Many people keep it on hand for occasional use rather than taking it daily.

At prescription doses, it treats conditions that involve ongoing or more severe acid damage. GERD causes repeated backflow of acid into the esophagus, leading to chronic heartburn and potential tissue injury over time. Stomach and duodenal ulcers are open sores on the digestive tract lining that need sustained acid reduction to heal. In these cases, a doctor will typically have you take famotidine on a regular schedule for weeks or months rather than as needed.

One Drug, Many Labels

If you’re standing in the pharmacy aisle comparing boxes, the simplest way to confirm you’re getting the right thing is to check the “active ingredient” line on the back of the package. If it says famotidine and the milligram strength matches what you need, the product will work the same regardless of whether it says Pepcid, a store brand, or just “famotidine” on the front. The only time to look more carefully is with combination products like Pepcid Complete, where additional active ingredients change what the product does.