Skip to main content

Emergency? Call 911

The Health InitiativeTelehealth in Puerto Rico
Book from $35 (Doctor visit, $79)

Telehealth menu

The Health Initiative
Book a visit

$79Doctor visitCharged when you request

Guides

Omeprazole: uses, how long to take it and what to watch for

Omeprazole (Prilosec) is a proton pump inhibitor: it lowers the acid your stomach makes. Over the counter it is used for frequent heartburn, one tablet a day for 14 days; by prescription, doctors use it for reflux, ulcers and the H. pylori bacteria. It is not a controlled substance. If you have been taking it for months, a review is worth it. Black stools, vomiting blood, trouble swallowing or unexplained weight loss need prompt evaluation.

Can we help by telehealth?YesWe can help by telehealth.
$79Doctor visit

Is it an emergency? Call 911.

Pay now, then choose your time right away. Full refund if you cancel 24 hours or more ahead.

See the cancellation policy

You can cancel for a full refund or change the time up to 24 hours before your visit. Within 24 hours you can't cancel and there's no refund. If you don't join in the first 10 minutes, there's no refund.

If you choose a time less than 24 hours away, it can't be cancelled or changed.

If the clinic can't see you, for example because of a technical problem on our side, we refund you in full.

Is this an emergency?

This is not an emergency service. Call 911 or go to the nearest emergency room if you have:

  • Black or bloody stools, or vomiting blood or material that looks like coffee grounds
  • Trouble or pain swallowing, or food that feels stuck
  • Unexplained weight loss, vomiting that will not stop or loss of appetite
  • Chest pain, sweating, shortness of breath or dizziness with the heartburn (it may be your heart: call 911)
  • Severe diarrhea with watery stools, stomach pain or a fever that does not go away
  • Hives, a rash that gets worse in the sun, or joint pain

Warning signs: when to go to the ER

On this page (13)

What is omeprazole?

Omeprazole (Prilosec and generics) is a proton pump inhibitor (PPI). According to MedlinePlus, it lowers the amount of acid your stomach makes. Related medicines in the same class include esomeprazole, lansoprazole and pantoprazole, which is sold by prescription only.

Over the counter and prescription. At the pharmacy you can buy it without a prescription as a 20 mg delayed-release tablet for frequent heartburn. By prescription there are capsules in several strengths, and the doctor decides the dose based on what is being treated.

It is not a controlled substance. It is also not a fast-acting antacid: it works by reducing acid production, not by neutralizing the acid already in your stomach.

What is omeprazole used for?

According to the over-the-counter Drug Facts label and MedlinePlus, omeprazole is used for:

  • Over the counter: treating frequent heartburn, the kind you get 2 or more days a week, in adults.
  • By prescription: gastroesophageal reflux disease (GERD) and inflammation of the esophagus caused by acid.
  • By prescription: ulcers of the stomach and the small intestine.
  • By prescription, together with antibiotics: clearing the H. pylori bacteria, a common cause of gastritis and ulcers.
  • By prescription: conditions in which the stomach makes too much acid, such as Zollinger-Ellison syndrome.

How to take over-the-counter omeprazole

These are the directions on the over-the-counter Drug Facts label for 20 mg omeprazole, similar to Prilosec OTC. For prescription doses, the doctor decides the dose.

  • Adults 18 years and older: 1 tablet a day with a glass of water, in the morning before eating, for 14 days in a row.
  • Swallow the tablet whole. Do not chew or crush it.
  • It is not for immediate relief. The label says it may take 1 to 4 days for full effect, so you may still have symptoms the first few days.
  • You may repeat a 14-day course no more than once every 4 months, unless a doctor tells you otherwise.
  • Do not use it in people under 18 without asking a doctor.

Taking it before eating matters: per the label, it works best when taken in the morning, before the first meal of the day.

How long can you take omeprazole?

This is the question most worth asking. Over the counter, the limit is 14 days per course and no more than one course every 4 months, unless a doctor says otherwise. If you need more than that, heartburn is no longer something to manage at home on your own.

By prescription, some people need it for weeks or months, for example to heal an ulcer or an irritated esophagus, and some use it longer under supervision. The problem is that many people start it for one symptom and keep taking it for years without anyone checking whether it is still needed, or at what dose.

What the doctor does in a review. She asks about your current symptoms and warning signs, reviews your other medicines, looks for the lowest dose that works and decides with you whether to continue, lower the dose or change the plan. If needed, she can order a lab test, such as vitamin B12, or refer you to a gastroenterologist.

Do not stop suddenly on your own if you have taken it for a long time. Some people notice that heartburn comes back, sometimes stronger, when they stop. It is better to stop with a plan.

Common side effects

According to MedlinePlus and the labels, the most common side effects of omeprazole are usually mild:

  • Headache
  • Stomach pain, nausea or vomiting
  • Diarrhea or gas
  • Constipation in some people

Risks of long-term use

FDA-approved labels warn about several risks linked to prolonged daily use or high doses. They are uncommon for most people, but they are the reason a treatment review makes sense:

  • Low vitamin B12. Taking an acid-lowering medicine every day for a long time (for example, longer than 3 years) can reduce absorption of vitamin B12. It can cause tiredness, tingling or anemia.
  • Low magnesium. Rarely, usually after a year or more of use, and more so if you also take diuretics. It can cause cramps, an irregular heartbeat or seizures.
  • Fractures. Use of high doses for a year or longer is associated with hip, wrist and spine fractures, especially in older adults.
  • C. difficile diarrhea. These medicines are associated with a higher risk of this intestinal infection. Call your doctor if you have severe diarrhea with watery stools, stomach pain or a fever that does not go away.
  • Kidney problems. The label warns of kidney inflammation (interstitial nephritis) that can happen at any point during treatment.
  • Lupus and skin reactions. Rarely, a skin or systemic lupus can appear or get worse. Tell the doctor if you get a rash that worsens in the sun, or joint pain.
  • Stomach polyps. Use for more than a year is associated with fundic gland polyps, which are usually benign.

None of this means you should stop a medicine you need. It means that taking it for years on autopilot is not ideal.

Warning signs: when heartburn is not just heartburn

Omeprazole can relieve symptoms while covering up a condition that needs a different workup. The over-the-counter label says to ask a doctor before use, or to stop, if you have any of these:

  • Trouble or pain swallowing
  • Vomiting blood or material that looks like coffee grounds
  • Black or bloody stools
  • Unexplained weight loss
  • Nausea, vomiting or stomach pain that persist, or loss of appetite
  • Heartburn for more than 3 months, or that continues or gets worse after 14 days of treatment

With any of these signs the doctor evaluates you and, if needed, refers you to a gastroenterologist for an endoscopy, a test that looks at the esophagus and stomach from the inside. If heartburn comes with chest pain, sweating, shortness of breath or dizziness, it may be your heart: call 911. Read more about when to go to the ER.

Interactions: which medicines to mention

Tell the doctor and the pharmacist everything you take, including over-the-counter products and natural supplements. The labels describe important interactions with:

  • Clopidogrel (Plavix). Omeprazole can reduce its effect. If you take it, do not change anything on your own and ask first.
  • Rilpivirine, an HIV medicine, which should not be combined with PPIs.
  • Methotrexate, whose levels can rise with PPIs, especially at high doses.
  • Warfarin and other blood thinners: closer monitoring may be needed.
  • Diuretics, which together with PPIs raise the risk of low magnesium.
  • St. John’s wort and rifampin, which can lower the effect of omeprazole.

Omeprazole can also change the absorption of other medicines that need stomach acid. A short list of all your medicines makes the review more useful.

Before an H. pylori test

If you are being checked for gastritis or H. pylori bacteria, MedlinePlus explains that some tests can give false results while you take certain medicines, and that you may need to stop them for 2 weeks to a month before the test. Tell the doctor if you take omeprazole before the test, and do not stop it on your own: she will tell you how.

Pregnancy and breastfeeding

If you are pregnant, could be pregnant or are breastfeeding, ask the doctor before starting or continuing omeprazole. Heartburn is common in pregnancy, and the doctor helps you choose the most appropriate option for you, at the lowest dose possible, and decide whether to try habit changes first.

Omeprazole and other causes of stomach pain

Not every upper abdominal discomfort is acid. Stomach pain can come from gastritis, an ulcer, the gallbladder, an infection or medicines. Anti-inflammatories such as ibuprofen and naproxen are a common cause of stomach irritation and ulcers, and are sometimes prescribed with a stomach protector.

If you have heartburn and also take anti-inflammatories often, tell the doctor: the most useful change may not be raising the omeprazole, but reviewing the anti-inflammatory.

Habits that help you need less medicine

The changes recommended by the NIDDK are the first step in treating reflux and can allow the dose to come down over time:

  • Eat at least 3 hours before lying down.
  • Raise the head of your bed if reflux bothers you at night.
  • Avoid foods that bother you, such as very fatty or spicy meals, and alcohol.
  • If you are overweight, losing weight can reduce symptoms.
  • If you smoke, quitting helps. See the quit smoking service.

Book a review of your treatment

Book an evaluation; the doctor decides whether a treatment is right for you.

You see Dr. Diana Nieves Castro, MD, a Puerto Rico–licensed general practice physician, in English or Spanish. She reviews why you started omeprazole, what symptoms you have now, your warning signs and your other medicines, and decides with you whether to continue, adjust or change the plan. If appropriate, she prescribes and we send the prescription to your pharmacy; if you already take it and just need to continue a treatment that was already prescribed, see the prescription refill service. Every day, any time (Puerto Rico time). Doctor online 24/7: video doctor visits 24/7.

The pharmacy bills for the medicine. We do not bill insurance; on request we give you an itemized receipt (superbill). Visits are private and not recorded. See pricing, the online doctor visit and book your visit.

How we care for you

  • We evaluate, diagnose and treat; if needed, we give you a lab order for a lab near you.

  • We see adults and children of all ages. Patients under 21: a parent with patria potestad (parental authority) or a legal guardian is on camera for the whole visit and shows photo ID.

  • Real-time video visit. We send you a secure video link. It works on your phone, tablet or computer.

  • If appropriate, the doctor prescribes and we send your prescription to your pharmacy.

  • You must be physically in Puerto Rico during the visit (visitors, tourists and cruise passengers are welcome).

  • In an emergency, call 911.

Frequently asked questions

What is omeprazole used for?

It lowers the acid your stomach makes. Over the counter it is used for frequent heartburn in adults. By prescription, doctors use it for reflux (GERD), inflammation of the esophagus, ulcers and, together with antibiotics, to clear H. pylori bacteria.

How long can I take omeprazole?

Over the counter, the label says 1 tablet a day for 14 days and to repeat the course no more than once every 4 months, unless a doctor tells you otherwise. By prescription some people use it longer, but the doctor should check from time to time whether you still need it and at what dose.

Should omeprazole be taken on an empty stomach or with food?

The over-the-counter label says to take it in the morning, with a glass of water, before eating. Swallow the tablet whole. For a prescription, follow the directions the doctor and pharmacist give you.

What are the side effects of omeprazole?

The most common are headache, stomach pain, nausea, vomiting, diarrhea and gas. Long-term use is associated with low vitamin B12, low magnesium, fractures and C. difficile intestinal infection. Tell the doctor if you have severe diarrhea, hives, a rash that worsens in the sun or joint pain.

Can I stop omeprazole suddenly?

If you took it for just a few days over the counter, you can usually stop when the course ends. If you have taken it for months or years, some people notice heartburn returning, sometimes stronger. It is better to talk to the doctor and make a plan to lower the dose or change treatment.

Can omeprazole hide a more serious problem?

It can relieve symptoms even when there is another cause. So if you have trouble swallowing, black stools, vomiting blood, unexplained weight loss or heartburn for more than 3 months, see a doctor instead of continuing it on your own.

What is the difference between omeprazole and pantoprazole?

They are in the same class (proton pump inhibitors) and both lower stomach acid. Omeprazole has a 20 mg over-the-counter version; pantoprazole is sold by prescription only. The doctor helps you choose if needed.

Can I take omeprazole with ibuprofen?

They can be used by the same person, but they do not do the same thing: ibuprofen can irritate the stomach and omeprazole lowers acid. If you take anti-inflammatories often and have heartburn, tell the doctor so she can check for a better option for your pain.

Can I have my omeprazole reviewed by video?

Yes. The doctor evaluates you by video, reviews your symptoms, warning signs and medicines, and decides with you whether a treatment is right for you. If you need an in-person test, such as an endoscopy, she refers you to a gastroenterologist.

Video visit

$79· Doctor visit

Video doctor visits 24/7 — book online and choose your time right away.

Pay now, then choose your time right away. Full refund if you cancel 24 hours or more ahead.

See the cancellation policy

You can cancel for a full refund or change the time up to 24 hours before your visit. Within 24 hours you can't cancel and there's no refund. If you don't join in the first 10 minutes, there's no refund.

If you choose a time less than 24 hours away, it can't be cancelled or changed.

If the clinic can't see you, for example because of a technical problem on our side, we refund you in full.

  • Doctor licensed in Puerto Rico (24027) Verify (opens in a new tab)
  • Visits are not recorded
  • No insurance needed
  • Secure card payment (may include Apple Pay or Google Pay)

Medical care provided by Dr. Diana Nieves Castro, MD (PR license 24027)

About this page

Author: The Health Initiative

Medical care provided by Dr. Diana Nieves Castro, MD (PR license 24027)

Disclosure: Founding Executive Director of The Health Initiative

Published: 2026-10-10 · Updated: 2026-10-11