Famotidine Side Effects: Common, Rare, and Long-Term

Famotidine (sold as Pepcid) is generally well tolerated, but it can cause side effects ranging from mild digestive issues to, rarely, more serious neurological and heart-related reactions. Most people who take it for heartburn or ulcers experience no problems at all. When side effects do occur, they tend to be mild and resolve on their own or after stopping the medication.

How Famotidine Works

Famotidine belongs to a class of drugs called H2 blockers. After you eat, your body releases a chemical messenger called histamine that binds to receptors on the cells lining your stomach, triggering acid production. Famotidine blocks those receptors so histamine can’t attach, which reduces the amount of acid your stomach makes. This is why it’s used for heartburn, acid reflux (GERD), and stomach ulcers. It’s also why most of its side effects trace back to changes in stomach acid levels or, less commonly, to the drug’s effects on other parts of the body where histamine receptors exist.

Common Side Effects

The most frequently reported side effects are mild and affect the digestive system or general well-being:

  • Headache
  • Constipation or diarrhea
  • Abdominal pain
  • Dry mouth
  • Fatigue
  • Muscle aches

These tend to appear within the first few days of use and often improve as your body adjusts. If any of them persist or become bothersome, lowering the dose or switching medications is usually enough to resolve them.

Rare but Serious Reactions

In uncommon cases, famotidine can cause effects that need prompt medical attention. The FDA’s prescribing information specifically warns about two categories: neurological reactions and heart rhythm changes.

Neurological Effects

Confusion, delirium, hallucinations, disorientation, agitation, seizures, and unusual drowsiness or lethargy have all been reported. These are rare in the general population but significantly more likely in two groups: people over 50 and people with reduced kidney function. When the kidneys can’t clear famotidine efficiently, the drug builds up to higher levels in the blood, increasing its effects on the brain. In clinical trials, these neurological symptoms were reversible once the medication was stopped.

Other nervous system effects reported less frequently include depression, anxiety, decreased sex drive, insomnia, and tingling or numbness in the hands or feet. Again, these resolved in cases where follow-up was available.

Heart Rhythm Changes

Famotidine can rarely affect heart rhythm, causing a fast, irregular, or pounding heartbeat. People with a pre-existing heart rhythm condition, particularly a pattern called QT prolongation, face a higher risk. If you notice dizziness, faintness, or a heartbeat that feels unusual while taking famotidine, that warrants a call to your doctor.

Allergic Reactions

Famotidine is contraindicated in anyone with a history of serious allergic reactions to it or to other H2 blockers. Severe allergic reactions including anaphylaxis are possible, though very rare. Signs include swelling of the face or throat, difficulty breathing, and hives.

Why Kidney Function Matters

Your kidneys are responsible for clearing famotidine from your body. When kidney function is reduced, the drug stays in your system longer and reaches higher concentrations, which raises the risk of side effects, especially the neurological ones described above.

People with mild kidney impairment (a filtration rate of 60 mL/min or above) generally don’t need any dose changes. For moderate impairment (30 to 60 mL/min), the recommended dose is typically cut in half. For severe impairment (below 30 mL/min), doses are reduced further, sometimes to as low as 20 mg every other day depending on the condition being treated. If you know you have kidney disease, your doctor should be aware before you start famotidine, even the over-the-counter version.

Effects of Long-Term Use

When famotidine is taken daily for a year or more, it can interfere with your body’s ability to absorb vitamin B12. Stomach acid plays a key role in releasing B12 from food so it can be absorbed in the gut. By suppressing that acid, famotidine (along with other acid-reducing medications) can gradually lead to B12 deficiency over time. Symptoms of B12 deficiency develop slowly and include fatigue, weakness, numbness or tingling in the hands and feet, difficulty with balance, and memory problems.

This risk applies to all acid-suppressing medications, including both H2 blockers like famotidine and the stronger proton pump inhibitors. If you’ve been taking famotidine daily for over a year, it’s reasonable to have your B12 levels checked, particularly if you’re older or follow a diet already low in B12.

Medications That May Be Affected

Because famotidine raises the pH inside your stomach (making it less acidic), it can interfere with medications that need an acidic environment to dissolve and be absorbed. This is a practical concern worth knowing about if you take multiple drugs.

The most significant interactions involve certain antifungal medications. Ketoconazole absorption drops by 80 to 95% when taken alongside acid-suppressing drugs like famotidine, essentially rendering it ineffective. Itraconazole and posaconazole are similarly affected. Certain HIV medications, particularly atazanavir, also depend on stomach acid for absorption and can lose most of their effectiveness when combined with acid blockers. The blood thinner dipyridamole and some antibiotics like cefpodoxime are also affected.

If you take any of these medications, spacing them apart from famotidine may help, but you should discuss timing or alternatives with a pharmacist or doctor. The interaction isn’t about the drugs reacting with each other chemically. It’s simply that famotidine changes the stomach environment these other drugs need to work.

Side Effects in Older Adults and Children

Older adults are the group most likely to experience side effects from famotidine, particularly the neurological ones. The FDA specifically calls out elderly patients in its warnings, noting that confusion, delirium, and hallucinations are more common in this population. Age-related decline in kidney function is a major reason: even without a diagnosed kidney condition, a 75-year-old’s kidneys typically clear drugs more slowly than a 40-year-old’s. This means the drug accumulates to higher levels and lingers longer.

In children, famotidine is generally well tolerated. In one clinical study of infants under one year old being treated for reflux, agitation was observed in a notable number of patients but resolved after the medication was discontinued. For older children, the side effect profile is similar to adults, with headache and digestive symptoms being the most common complaints.

What to Expect if Side Effects Occur

Most famotidine side effects are reversible. The common ones like headache, constipation, and fatigue typically fade within days of stopping or reducing the dose. The more serious neurological effects, including hallucinations and confusion, have also been reported as reversible in clinical follow-up once the drug was discontinued. There’s no evidence that famotidine causes lasting harm in most people, even after extended use, aside from the gradual B12 concern with chronic daily dosing.

If you’re taking over-the-counter famotidine for occasional heartburn, the risk of any meaningful side effect is low. If you’re on a prescription dose for an ulcer or erosive esophagitis, the same applies for most people, though the higher dose and longer duration slightly increase the odds of noticing something. The people who need to be most attentive are those over 50, those with kidney problems, and those taking medications that require stomach acid for absorption.