Prilosec OTC: How It Works, How to Take It & How It Compares
Prilosec OTC treats frequent heartburn at the source, but it is not an instant fix and it is not for everyone. Here is an honest guide to how omeprazole works, how to take the 14-day course, how it stacks up against Nexium and Pepcid, and which pack to buy.
See the packs
The honest short version (read this first)
Prilosec OTC (omeprazole) is for frequent heartburn, heartburn that happens two or more days a week, and it works by reducing how much acid your stomach makes. The catch most people miss: it is not for immediate relief. It can take one to four days to reach full effect, so it is taken as a once-a-day 14-day course, not an as-needed pill. If you only get heartburn now and then, an antacid or an H2 blocker like Pepcid acts faster. Of the packs we stock, the 28-count is the easiest way to start, the 42-count is the best value, and the Wildberry 42-count is the same medicine in a flavored tablet.
Which Prilosec OTC to buy, at a glance
| Pack | Best for | Courses* | Price |
|---|---|---|---|
| Prilosec OTC 28-count | Starting out | 2 courses | $14.25 |
| Prilosec OTC 42-count | Best value | 3 courses | $20.98 |
| Prilosec OTC Wildberry 42-count | Flavored tablet | 3 courses | $22.45 |
*One Prilosec OTC course is one 20 mg tablet a day for 14 days. Do not take it for more than 14 days or more often than every 4 months unless directed by a doctor.
Our Prilosec OTC picks, by pack

Prilosec OTC 20mg, 28 Count
If you are new to Prilosec OTC, this is the sensible starting size: enough for a full 14-day course with a second course in reserve, so you are not buying more than you need to find out whether it helps your frequent heartburn. It is the original, unflavored tablet, one a day in the morning.
- Two complete 14-day courses
- Original unflavored 20 mg tablet
- A low-commitment way to start

Prilosec OTC 20mg, 42 Count
The 42-count is the best value here: three full 14-day courses at the lowest cost per tablet, which suits people who already know Prilosec OTC works for them and use it for recurring bouts of frequent heartburn through the year (within the label’s once-every-4-months guidance). Same original tablet as the 28-count, just a bigger box.
- Three 14-day courses, lowest cost per tablet
- Best for those who know it works for them
- Original unflavored 20 mg tablet

Prilosec OTC Wildberry 20mg, 42 Count
Exactly the same active ingredient and 14-day routine as the regular tablet, just in a wildberry-flavored version that is more pleasant to take if you do not love swallowing a plain tablet. Also a 42-count, so you get three courses. Choose this purely on flavor preference; the medicine is identical.
- Same 20 mg omeprazole, wildberry flavor
- Three 14-day courses
- Nicer to take if you dislike plain tablets
What is Prilosec OTC, and how does it work?
Prilosec OTC is the over-the-counter brand of omeprazole, a proton pump inhibitor (PPI). PPIs work on the “pumps” in your stomach lining that produce acid, switching many of them off so your stomach makes less acid overall. Less acid means the lining of your oesophagus gets a chance to heal and frequent heartburn settles down. This is a different job from an antacid, which simply neutralises acid that is already there, and from an H2 blocker like famotidine (Pepcid), which reduces acid a different way and acts faster but less completely.
Because a PPI works by gradually shutting down acid production, it is built for frequent heartburn (two or more days a week), not the occasional after-a-big-meal kind. Used as directed, it gives 24-hour relief once it has built up, which is why it is taken once a day as a short course.
How long does Prilosec OTC take to work?
This is the most important thing to understand: Prilosec OTC does not work instantly. It can take one to four days for the full effect, because it works by gradually reducing acid production rather than neutralising acid on the spot. Some people feel better on day one, but you should not judge it, or reach for a second pill, on the first day. You take one tablet each morning for 14 days, and the benefit builds over that course.
How to take the 14-day course
- ✓ One 20 mg tablet a day, in the morning before eating, swallowed whole with water.
- ✓ Take it for 14 days in a row, even if you feel better sooner, to complete the course.
- ✓ Do not take more than one tablet a day, and do not use it for more than 14 days unless a doctor tells you to.
- ✓ Wait at least 4 months between 14-day courses unless your doctor advises otherwise.
If your frequent heartburn keeps coming back and you find yourself needing course after course, that is a sign to see a doctor rather than to keep self-treating, there may be more going on that needs proper assessment.
Prilosec vs Nexium vs Pepcid: how it compares
These names get compared a lot because they treat the same problem in different ways. Prilosec OTC (omeprazole) and Nexium 24HR (esomeprazole) are both PPIs, very similar in how they work and how they are taken, a daily 14-day course for frequent heartburn. Pepcid (famotidine) is an H2 blocker: it works faster and is better for more occasional or predictable heartburn, but its acid reduction is less complete than a PPI’s.
| Prilosec OTC | Nexium 24HR | Pepcid (AC) | |
|---|---|---|---|
| Type | PPI (omeprazole) | PPI (esomeprazole) | H2 blocker (famotidine) |
| Best for | Frequent heartburn (2+ days/week) | Frequent heartburn (2+ days/week) | Occasional / predictable heartburn |
| Speed | Builds over 1–4 days | Builds over 1–4 days | Works within an hour |
| How taken | Once daily, 14-day course | Once daily, 14-day course | As needed or before triggers |
For frequent heartburn, Prilosec OTC and Nexium 24HR are broadly comparable, most people choose on price and what works for them. We carry Prilosec OTC; if you prefer Pepcid for faster, occasional relief or Nexium, those are reasonable choices too. The honest takeaway is to match the type of medicine to your pattern of heartburn: PPI for frequent, H2 blocker or antacid for occasional.
Side effects & long-term use
For a 14-day course, Prilosec OTC is generally well tolerated. The most common side effects are mild and include headache, stomach pain, nausea, diarrhoea, constipation or gas. Most people get none of these. Taken as directed, it is a short, self-limited course, which is part of why it is sold over the counter.
The bigger cautions are about long-term, ongoing PPI use, well beyond the OTC directions. Extended use has been associated in studies with lower magnesium and vitamin B12 levels, a higher risk of certain gut infections, and concerns about bone fractures and kidney issues. That is exactly why the label limits you to a 14-day course no more often than every four months without medical advice. If you feel you need a PPI more or less constantly, that is a conversation to have with a doctor, who can check what is driving it and supervise any longer-term use.
When to see a doctor (do not skip this)
Heartburn is usually harmless, but some chest symptoms are not, and a few warning signs mean you should get checked rather than reach for an antacid. See a doctor before or instead of self-treating if your heartburn is new and you are over 50, if you have been using heartburn medicines for a long time, or if you have trouble or pain swallowing, vomiting, vomit that is bloody or looks like coffee grounds, black or tarry stools, or unexplained weight loss, these can signal something that needs proper investigation. Also speak to a doctor or pharmacist before using Prilosec OTC if you are pregnant or breastfeeding, or take other medicines such as warfarin, clopidogrel or certain antifungals.
Prilosec OTC FAQ
How long does Prilosec OTC take to work?
It is not an instant-relief medicine. Because it works by gradually reducing how much acid your stomach makes, it can take one to four days to reach full effect. You take one tablet each morning for 14 days, and the benefit builds over the course. For heartburn you need to calm right now, a fast-acting antacid or an H2 blocker like Pepcid is the better tool.
Is Prilosec OTC the same as omeprazole?
Yes. Prilosec OTC is the over-the-counter brand name and omeprazole is the active ingredient (a proton pump inhibitor). Generic omeprazole contains the same medicine at the same 20 mg over-the-counter strength. Prescription omeprazole can come in higher doses, but the OTC product and OTC generic omeprazole are equivalent.
Prilosec or Nexium, which is better?
Both are proton pump inhibitors for frequent heartburn and are taken the same way, a once-daily 14-day course. Prilosec OTC is omeprazole and Nexium 24HR is esomeprazole, a closely related molecule. For most people they work comparably, so the choice usually comes down to price and what agrees with you. Neither is for instant relief.
Can I take Prilosec OTC every day, long term?
Not without medical advice. The label is a 14-day course, taken no more than once every four months unless a doctor directs. Long-term PPI use beyond that has been linked to lower magnesium and B12, certain infections, and bone and kidney concerns. If you feel you need it constantly, see a doctor to find out why and to supervise any ongoing use.
Does Prilosec OTC cause constipation?
It can, though it is not the most common effect. Possible side effects include headache, stomach pain, nausea, diarrhoea, constipation and gas, but most people taking a standard 14-day course get none of them. If constipation is bothersome, staying hydrated and eating fiber helps; if it persists or is severe, stop and speak to a doctor or pharmacist.
Can I take Prilosec OTC while pregnant?
Talk to your doctor or pharmacist first. Heartburn is common in pregnancy, but you should not start Prilosec OTC during pregnancy or breastfeeding without professional advice, as your doctor may recommend a different first step. This guidance is general information, not a substitute for that conversation.
The bottom line
Prilosec OTC is a genuinely effective treatment for frequent heartburn, with one honest caveat to remember: it works gradually over a 14-day course, not instantly, so it is the wrong choice when you need relief in the moment. Take one 20 mg tablet each morning for 14 days, no more than one course every four months without a doctor’s say-so, and match the medicine to your pattern, a PPI for frequent heartburn, an antacid or Pepcid for occasional. Of the packs we stock, start with the 28-count, save with the 42-count, and pick Wildberry if you prefer a flavored tablet. And treat chest pain with other symptoms as an emergency, not heartburn.
Editorial & commerce note: We stock and sell Prilosec OTC, and the buy links go to our own store. We aim to give honest, useful guidance regardless of which product you choose.
Medical disclaimer: This article is for general information only and is not medical advice. Prilosec OTC (omeprazole) is a medicine; always read and follow the label. Do not use for more than 14 days or more often than every 4 months unless directed by a doctor. Consult a doctor or pharmacist before use if you are pregnant or breastfeeding, take other medications, or have trouble swallowing, persistent stomach pain, vomiting, bloody or black stools, or unexplained weight loss. Treat chest pain with shortness of breath, sweating or pain spreading to the arm or jaw as a medical emergency.