Skip to main content

Is famotidine safer than omeprazole for heartburn?

Medically reviewed by Leigh Ann Anderson, PharmD. Last updated on Feb 11, 2025.

Official Answer by Drugs.com

Famotidine is usually the first choice to treat occasional heartburn if your symptoms occur less than two times per week. It can be used as needed, provides quick relief (within 15 to 30 minutes), and is usually less expensive than omeprazole. Omeprazole may be an option if your heartburn occurs two or more days per week. Both products are available without a prescription.

Ask your doctor before using either product if you have had heartburn for over 3 months as this could be due to a more serious condition.

Both medicines are usually well-tolerated and serious side effects are infrequent in most people.

This is not a complete list of side effects and others may occur. As with any medicine, common and serious side effects may vary among patients. Call your doctor for medical advice about side effects. Follow the directions on the OTC Drug Facts label or as prescribed by your doctor.

Related: Famotidine side effects and omeprazole side effects (more detail)

Both medicines are available over-the-counter in retail stores as a generic or brand name products. Generic medicines can help you save money. If you have questions about generics, check with your pharmacist.

Related questions

Over-the-counter famotidine (Pepcid AC)

Uses:

OTC famotidine (Pepcid AC) is taken once per day with a glass of water to treat symptoms. Do not chew the tablet. To prevent symptoms, take the medicine with water from 10 to 60 minutes before you eat food or drink beverages that cause heartburn or sour stomach. Do not use more than two 20 mg tablets per 24 hours. OTC famotidine is also available in a 10 mg strength tablet.

Over-the-counter omeprazole (Prilosec OTC)

Use: Treatment of frequent heartburn (occurring 2 or more days a week)

Note: Contact your doctor if your heartburn continues, worsens or returns after 14 days of using either product. Also check with your doctor first if you have had heartburn for over 3 months as this could be a more serious condition.

These medicines may be only one part of a treatment regimen that also includes changes in your diet or lifestyle habits, such as:

Check with your healthcare provider if you have concerns about usage or side effects.

This is not all the information you need to know about famotidine (Pepcid AC) or omeprazole (Prilosec OTC) for safe and effective use and does not take the place of your doctor’s directions. Review the full product information and discuss this information and any questions you have with your doctor or other health care provider.

References

Read next

Pantoprazole vs. omeprazole: What's the difference between them?

Pantoprazole and omeprazole are both medicines from the class of medications called proton pump inhibitors (PPIs). The approved uses for pantoprazole and omeprazole differ slightly, but they are all disorders related to too much stomach acid. Continue reading

Can you take an antacid with omeprazole?

You can take an antacid with omeprazole if you are still getting symptoms of indigestion because it can take several days for omeprazole to start working. Take omeprazole as directed (usually taken once daily on an empty stomach), and take antacids as needed to relieve indigestion pain after eating. But tell your doctor if several weeks have gone past and omeprazole does not seem to be working or you are still taking antacids. Continue reading

Is omeprazole (Prilosec) bad for your kidneys?

Omeprazole (Prilosec) is a proton pump inhibitor (PPI) that is used to reduce the amount of acid in your stomach and it can be bad for your kidneys. It can cause acute kidney injury and may also worsen the progression of chronic kidney disease (CKD). Continue reading

See also:

Related medical questions

Drug information

Related support groups