Our Services
Medical Information
Helpful Resources
Published on: 10/26/2026
Pepcid (famotidine) typically begins easing heartburn within 15 to 60 minutes, reaches full effect in 1 to 3 hours, and can keep acid production down for up to 12 hours, while antacids like Tums or Maalox neutralize existing stomach acid on contact for relief in minutes that fades after 1 to 3 hours. The key difference is mechanism: Pepcid is an H2 blocker that reduces how much acid your stomach makes, whereas antacids only buffer acid already present, which is why timing, dosing before meals, and whether your symptoms are occasional or frequent all change which option fits best. There are important details, including when slower relief may signal something other than ordinary heartburn, so see below for the complete answer. Because recurring reflux, burning, or upper abdominal pain can overlap with conditions such as gastritis, ulcers, GERD, or even cardiac issues, understanding the pattern behind your symptoms matters more than just picking a medication. Take a free, instant, online symptom check to see what your symptoms may point to and get clear guidance on your next steps.
Last reviewed for medical accuracy: 10/22/2026
Pepcid (famotidine) is a widely used medication for reducing stomach acid. Many people reach for it when they experience heartburn, acid reflux or indigestion. Understanding how long does Pepcid take to work and how it compares to over-the-counter antacids can help you choose the right remedy and set realistic expectations.
Pepcid belongs to a class of drugs called H2 (histamine-2) receptor antagonists. It blocks histamine signals at specific nerve sites in the stomach’s acid-producing cells. By doing so, it:
Unlike antacids that neutralize existing acid, Pepcid reduces the production of acid for several hours after a single dose.
“How long does Pepcid take to work” depends on a few factors:
In general, you can expect:
For many, relief can begin as early as 30 minutes, though up to an hour is typical.
Once Pepcid kicks in, it continues working for a significant time:
This extended duration makes Pepcid suitable for nighttime dosing to prevent acid production while you sleep.
While both Pepcid and antacids address acid-related discomfort, they work in distinct ways:
| Feature | Pepcid (H2 Blocker) | Antacids (e.g., Tums, Mylanta) |
|---|---|---|
| Mechanism | Reduces acid production | Neutralizes existing stomach acid |
| Onset of action | 30–60 minutes | 5–15 minutes |
| Duration | 10–12 hours | 1–3 hours |
| Frequency of dosing | 1–2 times per day | Every 4–6 hours or as needed |
| Ideal use | Chronic or predictable heartburn, GERD | Occasional, mild, immediate relief |
| Protection vs. relief | Prevents acid build-up over time | Provides quick symptom relief |
| Side effects | Headache, dizziness, diarrhea (less common) | Gas, constipation, potential electrolyte imbalance (with overuse) |
When deciding between Pepcid and an antacid, consider:
If you’re unsure about your symptoms, you might consider doing a free, online symptom check, using the doctor approved Ubie Symptom Checker to clarify what’s happening and explore possible next steps.
While Pepcid and antacids are safe for most people, certain warning signs mean you should talk to a healthcare professional:
These could signal conditions requiring prompt evaluation. Always err on the side of caution.
If symptoms persist, worsen or you experience any alarming signs, please speak to a doctor. Also remember that online tools such as the free, online symptom check, using the doctor approved Ubie Symptom Checker can guide you on next steps, but they don’t replace professional medical advice. Always speak to a doctor about anything that could be life-threatening or serious.
(References)
* Simkin PA. Zinc, again. J Rheumatol. 1997 Apr;24(4):626-8. PMID: 9101491.
* Dent J. Gastro-oesophageal reflux disease. Digestion. 1998 Aug;59(5):433-45. doi: 10.1159/000007521. PMID: 9705529.
* Moayyedi P, Talley NJ. Gastro-oesophageal reflux disease. Lancet. 2006 Jun 24;367(9528):2086-100. doi: 10.1016/S0140-6736(06)68932-0. PMID: 16798392.
* Meyer W. [Antacids--an historical overview]. Pharm Unserer Zeit. 2007;36(1):10-20. doi: 10.1002/pauz.200600200. PMID: 17283746.
* Malfertheiner P, Chan FK, McColl KE. Peptic ulcer disease. Lancet. 2009 Oct 24;374(9699):1449-61. doi: 10.1016/S0140-6736(09)60938-7. Epub 2009 Aug 13. PMID: 19683340.
* Sullivan JS, Sundaram SS. Gastroesophageal reflux. Pediatr Rev. 2012 Jun;33(6):243-53; quiz 254. doi: 10.1542/pir.33-6-243. PMID: 22659255.
* Gyawali CP, Fass R. Management of Gastroesophageal Reflux Disease. Gastroenterology. 2018 Jan;154(2):302-318. doi: 10.1053/j.gastro.2017.07.049. Epub 2017 Aug 5. PMID: 28827081.
* Chen J, Brady P. Gastroesophageal Reflux Disease: Pathophysiology, Diagnosis, and Treatment. Gastroenterol Nurs. 2019 Jan/Feb;42(1):20-28. doi: 10.1097/SGA.0000000000000359. PMID: 30688703.
* Tolbert MK. Gastroprotective Therapy. Vet Clin North Am Small Anim Pract. 2021 Jan;51(1):33-41. doi: 10.1016/j.cvsm.2020.09.001. Epub 2020 Oct 29. PMID: 33131917.
* Ortiz-Olvera N, Ochoa-Maya JP, González-Martínez MA. Gastroesophageal reflux disease and pregnancy: recommendations for safe treatment. Gac Med Mex. 2025;161(2):119-126. doi: 10.24875/GMM.M25000986. PMID: 40743550.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.