Famotidine, sold as Pepcid, is an H2 blocker that lowers stomach acid. It treats and prevents heartburn and is prescribed for GERD and stomach or duodenal ulcers. Pepcid side effects are usually mild: the most common are headache, dizziness, constipation and diarrhea. Rare but serious reactions include confusion in older adults or people with kidney disease, heart rhythm changes and severe allergic reactions.
Key facts
- Drug class: histamine-2 (H2) receptor blocker (acid reducer)
- Used for: heartburn, acid indigestion, GERD, erosive esophagitis, stomach and duodenal ulcers
- US status: OTC (Pepcid AC 10 mg and 20 mg, Pepcid Complete) and Rx (20 mg and 40 mg tablets, oral suspension)
- Most common side effects: headache, dizziness, constipation, diarrhea
- Key caution: kidney disease and older age raise the risk of confusion and other nervous system effects
- Pregnancy: ask a doctor or pharmacist before use
What is famotidine used for?
Famotidine is used to reduce the amount of acid your stomach makes. The US prescribing information for famotidine tablets lists these prescription uses in adults and in children who weigh at least 40 kg (about 88 lb):
- Active duodenal ulcer and active gastric (stomach) ulcer
- Symptomatic gastroesophageal reflux disease (GERD), the long-lasting form of acid reflux
- Erosive esophagitis, where acid has inflamed or worn the lining of the esophagus
- Conditions that make too much acid, such as Zollinger-Ellison syndrome (adults)
- Lowering the risk of a duodenal ulcer coming back (adults)
Over-the-counter Pepcid AC has a narrower use. Its Drug Facts label says it relieves heartburn linked to acid indigestion and sour stomach, and it can prevent heartburn when taken before a meal or drink that usually sets it off. Self-treatment is meant for occasional symptoms. If you need it for more than 14 days in a row, the label says to stop and see a doctor.
Famotidine sits alongside other medicines for acid problems. The NIDDK explains that antacids give quick relief for mild heartburn, H2 blockers such as famotidine lower acid production, and proton pump inhibitors (PPIs) are stronger at healing the esophagus. Another option for ulcers is sucralfate (Carafate), which coats the ulcer rather than lowering acid. You can read more about the wider group of gut conditions on our digestive and liver health conditions page.
How famotidine works
Cells in your stomach lining release acid when the chemical messenger histamine attaches to H2 receptors on their surface. Famotidine blocks those receptors, so less acid is made. It lowers both the amount of acid and its strength. This is a different kind of histamine blocker from allergy medicines such as cetirizine, which act on H1 receptors.
According to the US label, the acid-lowering effect starts within one hour of a tablet and peaks within one to three hours. A single 20 mg or 40 mg dose keeps acid output down for about 10 to 12 hours. That is why famotidine is often taken at bedtime, when it can quiet the acid that builds up overnight. The kidneys remove most of the drug, which explains why kidney function matters so much for safety.
Generic and US brand names
Pepcid is the best-known US brand. Drugs@FDA lists the original Pepcid 20 mg and 40 mg prescription tablets approved in 1986 as discontinued, not for safety reasons. Bausch Health still lists prescription Pepcid tablets on DailyMed, but most prescriptions are filled with generic famotidine. Other brands such as Pepcid RPD and Fluxid are no longer sold, according to MedlinePlus.
Brand name
Form and strengths sold in the US
Rx or OTC
Notes
Pepcid AC Original Strength
Tablets, 10 mg
OTC
For occasional heartburn in adults and children 12 and older
Pepcid AC Maximum Strength
Tablets, 20 mg
OTC
Same use; no more than 2 tablets in 24 hours
Pepcid Complete
Chewable tablets: famotidine 10 mg with calcium carbonate and magnesium hydroxide
OTC
Combines an acid reducer with antacids for faster relief
Pepcid
Tablets, 20 mg and 40 mg
Rx
Original NDA product discontinued; Bausch Health lists tablets on DailyMed
Famotidine (generic)
Tablets 20 mg and 40 mg; oral suspension; injection (hospital use)
Rx
The form most people receive with a prescription
How famotidine is usually taken
This section gives general label information only. The right dose and length of treatment depend on the condition, your age, your weight (for children) and your kidney function. Always follow your prescriber, your pharmacist and the patient leaflet.
- Prescription famotidine is usually taken once a day at bedtime, or twice a day in the morning and at bedtime, with or without food, as described on the prescribing information. It may be taken with antacids.
- Treatment courses for ulcers and GERD are usually limited to a set number of weeks, after which your doctor reviews whether you still need it.
- For OTC Pepcid AC, the label says to swallow one tablet with water to relieve heartburn, or 10 to 60 minutes before a trigger meal to prevent it. Do not take more than two tablets in 24 hours or use it for more than 14 days without a doctor's advice.
- Pepcid Complete must be chewed completely, not swallowed whole, according to its Drug Facts label.
- Shake the liquid suspension well before each dose and measure it with a proper dosing device, not a kitchen spoon.
If you miss a dose of prescription famotidine, take it when you remember unless it is nearly time for the next one. Never double up. Children under 12 should only take famotidine if a doctor recommends it.
Pepcid side effects
Most people take famotidine without trouble. In clinical trials described on the FDA label, the Pepcid side effects reported in at least 1% of people were headache, dizziness and constipation, and diarrhea is also listed among the most common. These effects are usually mild and often fade as your body adjusts.
Common side effects
- Headache
- Dizziness
- Constipation
- Diarrhea
- Nausea, vomiting, stomach discomfort or dry mouth (less common)
- Tiredness, trouble sleeping or sleepiness (less common)
- Fussiness in babies who are given famotidine
MedlinePlus advises telling your doctor if any of these are severe or do not go away. Drinking plenty of water and eating fiber can help with constipation. A simple pain reliever may help a headache, but check with your pharmacist first if you take other medicines.
Serious side effects — get help
Serious famotidine side effects are rare. Call your doctor right away, or get emergency care, if you notice:
- Signs of an allergic reaction: hives, rash or itching; swelling of the face, lips, tongue, throat, hands or ankles; hoarseness; trouble breathing or swallowing
- Changes in thinking or behavior: confusion, delirium, hallucinations, disorientation, agitation, extreme drowsiness or seizures. The label warns these are more likely in older adults and people with kidney disease.
- Heart rhythm problems: a fast, pounding or irregular heartbeat, fainting or lightheadedness. The label reports QT prolongation, mainly in people with moderate or severe kidney disease.
- Liver problems: yellow skin or eyes, dark urine or pain in the upper right belly
- Severe skin reactions: blistering, peeling skin or sores in the mouth, which can signal Stevens-Johnson syndrome
- Blood problems: unusual bruising or bleeding, frequent infections, or severe muscle pain and weakness
When to get urgent help
Call 911 if you have trouble breathing, swelling of the throat or tongue, a seizure, or you faint after taking famotidine. Heartburn with chest pain, shoulder pain, sweating or shortness of breath may be a heart problem rather than acid, so treat it as an emergency; see our heart and blood conditions guide. For a possible overdose, call Poison Help at 1-800-222-1222. You can report side effects to the FDA through MedWatch at 1-800-FDA-1088.
Who should not take it, and cautions
Do not take famotidine if you have ever had a serious allergic reaction, such as anaphylaxis, to famotidine or another H2 blocker. Do not use OTC famotidine together with other acid reducers unless a doctor tells you to.
Talk to a doctor before using famotidine, or before buying it over the counter, if you have:
- Kidney disease of any degree; the dose usually needs to be lowered
- Trouble or pain when swallowing, vomiting blood, or bloody or black stools
- Heartburn for more than 3 months, frequent chest pain, or frequent wheezing with heartburn
- Unexplained weight loss, ongoing nausea, vomiting or stomach pain
- Phenylketonuria (PKU), since some chewable or dissolving products may contain phenylalanine
- A history of heart rhythm problems such as long QT
Older adults are more likely to have reduced kidney function, so prescribers usually choose the lowest dose that works. The label also warns that relief of symptoms does not rule out stomach cancer. If heartburn keeps coming back soon after a course, or does not improve, your doctor may want to examine your stomach.
Interactions
Tell your doctor and pharmacist about every prescription medicine, over-the-counter product, vitamin and supplement you take. Because famotidine lowers stomach acid, it can reduce how well some medicines that need acid are absorbed. Key interactions on the US label include:
- Tizanidine (a muscle relaxant): famotidine can raise its blood levels, causing low blood pressure, slow heart rate or heavy drowsiness. The label advises avoiding the combination.
- Dasatinib, delavirdine, cefditoren and fosamprenavir: taking these with famotidine is not recommended.
- Atazanavir, rilpivirine, ledipasvir/sofosbuvir, erlotinib, nilotinib, ketoconazole and itraconazole: timing or dose may need adjusting; follow each medicine's label.
- Other heartburn medicines, including other H2 blockers or PPIs, unless your doctor has combined them on purpose
Antacids can be taken with famotidine. Pepcid Complete already contains calcium carbonate and magnesium hydroxide, so avoid adding a separate antacid without checking with your pharmacist.
Pregnancy and breastfeeding
The US label says the data on H2 blockers, including famotidine, in pregnant women are not enough to show a drug-related risk of birth defects, miscarriage or other harm. Animal studies at doses far above human doses did not show harm to the developing baby. The OTC label advises asking a health professional before use if you are pregnant.
Limited data show famotidine passes into human breast milk, and no effects on breastfed infants have been reported. If you are breastfeeding, your doctor can weigh your need for treatment against any possible risk to the baby. Lifestyle steps such as smaller meals and not lying down after eating are often tried first for heartburn in pregnancy.
Storage
- Store tablets at room temperature, 68°F to 77°F (20°C to 25°C), away from moisture and heat. A bathroom is not a good place.
- Do not let the liquid suspension freeze. Throw away unused liquid 30 days after it was mixed, as MedlinePlus advises.
- Keep the carton or leaflet; it holds the full directions and warnings.
- Keep all medicines up and away, out of children's sight and reach.
- Do not flush unused medicine. Use a drug take-back program or ask your pharmacist.
A note on a related medicine: ranitidine (Zantac) was another widely used H2 blocker until the FDA asked makers to withdraw all ranitidine products from the US market in April 2020 because of an impurity called NDMA. That request did not involve famotidine.
Frequently asked questions
Is it safe to take Pepcid every day?
Prescription famotidine is often taken daily for several weeks under a doctor's care. OTC Pepcid AC is meant for no more than 14 days in a row. If you need it longer, see your doctor, because ongoing heartburn can signal GERD or another condition that needs a proper diagnosis.
What is the most common side effect of famotidine?
Headache is the most frequently reported side effect, followed by dizziness, constipation and diarrhea. These are usually mild. Tell your doctor if they are severe or last more than a few days.
Can Pepcid cause confusion or anxiety?
Yes, rarely. The US label lists anxiety, depression, insomnia and hallucinations as uncommon reactions, and confusion and delirium have been reported, mostly in older adults and people with kidney disease. Report any change in thinking or mood to your doctor promptly.
How long does it take for Pepcid to work?
Famotidine starts lowering acid within about one hour, with the peak effect at one to three hours, and the effect lasts about 10 to 12 hours. Pepcid Complete also contains antacids, which neutralize acid that is already in the stomach.
Is Pepcid or omeprazole better for heartburn?
They work differently. Famotidine is an H2 blocker, while omeprazole is a proton pump inhibitor. The NIDDK notes that PPIs treat GERD symptoms and heal the esophagus better than H2 blockers. Your doctor can advise which suits your symptoms.