Ranitidine vs Omeprazole can you take both drugs together?
Drug reviews: use, side effects, effectiveness

Ranitidine vs Omeprazole: which drug is better?

Spread the love

After my recent post on Omeprazole’s alternative drugs, I want to stay in the subject of gastro-oesophageal reflux disease (GORD) and its treatment. In this post, I will contrast Ranitidine vs Omeprazole and briefly discuss:

  • the differences between both classes of drugs (mechanism of action)
  • the effectiveness of Ranitidine vs Omeprazole
  • their safety (contrast of possible side effects)
  • use of Ranitidine and Omeprazole together at the same time

How the mechanism of action differs between ranitidine & omeprazole?

Ranitidine and Omeprazole belong to different classes of drugs, both used in the treatment of heartburn/indigestion. Ranitidine is classified as an h2 receptor antagonist, commonly named h2 blockers. Omeprazole belongs to a group of drugs called proton pump inhibitors (PPIs).

The differences between both drugs come from a distinct mechanism of action on stomach acid suppression. Stomach acid is produced in response to the activation of one of three receptors located on cells in the lining of the stomach. One type of these receptors (h2 receptors) can be blocked by ranitidine, preventing initial production of the acid via this, one route.

PPIs such as omeprazole, on the other hand, block proton pump, which is responsible secretion of the stomach acid in the final part of its production.

Watch the video below to get a more detailed explanation of the mechanism of actions of both drugs.

Ranitidine vs Omeprazole: the effectiveness

A number of studies and clinical trials confirmed that PPIs (Omeprazole) are more effective in the reduction of acid production than H2-blockers (Ranitidine). PPIs are more effective in the reduction of acid production because acid secretion is stopped in the last stage of acid production.

Ranitidine vs Omeprazole: safety and common side effects

Ranitidine common side effects

Ranitidine has a very good side effect profile with no common (1 in 10) side effects listed.  

Omeprazole common side effects

Use of Omeprazole is associated with a number of common side effects, including:

  • Headaches
  • Abdominal pain
  • Constipation
  • Diarrhoea
  • Flatulence
  • Nausea/vomiting

Long term use of omeprazole (or other PPIs) may increase (BNF,n.d):

  • Risk of bone fractures (high doses are taken mainly by the elderly population)
  • Risk of gastrointestinal infections

In 2019 number of Ranitidine products were recalled from UK pharmacies and supermarkets due to possible contamination with N-Nitrosodimethylamine (NDMA), a probable human carcinogen. Recalled products included over the counter and prescription-only Ranitidine. You can read more about it in my separate post: Ranitidine and Cancer: What is the risk?

In 2017 a research paper was published in Gut magazine associating the use of PPIs with increased risk of gastric cancer development. This study looked at patients from Hong Kong who were treated for Helicobacter pylori infection.

H. pylori infection can cause recurring episodes of indigestion. Treatment of confirmed H. pylori infection involves taking a short course of 2 different antibiotics with a PPI such as Omeprazole (triple therapy).

Although eradication of H. pylori infection reduces the risk of stomach cancer development, the above study found that taking PPIs more than doubled this risk. The average time that PPIs were taken by patients was three years after the triple therapy. All patients had a long history of gastritis, which is the inflammation of the stomach lining (BMJ, n.d.). This risk is further increased with the duration of treatment and dose frequency after the triple therapy.

The same study concluded that taking H2 blockers, such as Ranitidine is not associated with an increased risk of stomach cancer development.

Use of ranitidine & omeprazole at the same time

The NICE guideline recommends the use of H2-blocker (Ranitidine) at night in addition to PPIs (Omeprazole) for people with persistent or recurrent symptoms of GORD or confirmed oesophagitis (inflammation of the tube that connects stomach with your mouth). This should be prescribed on a short term basis (for example, for a 2-week course intermittently).) and when patients experience symptoms at night, subject to clinical judgment by a GP (NICE, 2017). NICE suggests additional use of H2 blockers such as Ranitidine is likely to be increasingly ineffective, patients may not benefit from combination treatment, and within weeks night-time symptoms may come back (ibid).

Can you take ranitidine and omeprazole together?

Based on clinical judgment, the GP may decide to prescribe both Ranitidine and Omeprazole. Pharmacologically, Omeprazole overlaps the mechanism of action of Ranitidine. Based on this and as it is suggested by the NICE guidelines addition of Ranitidine in the treatment of persistent GORD together, with Omeprazole may bring short benefits, if any.

Other strategies on the management of GORD need to be explored, including doubling up the dose or switching from daily to twice-daily dosing or switching to a different PPI. Current evidence on the use of these strategies, however, is limited.


To sum up, Omeprazole is more effective in controlling stomach acid production and the management of GORD symptoms than Ranitidine. PPIs are associated with some common side effects; long term use of PPIs may increase the risk of infections and bone fractures. In contrast, H2 blockers have a better safety profile; however, they are less effective in reducing stomach acid production.

Which is better ranitidine or omeprazole?

Based on the pharmacology of both drugs omeprazole is better than ranitidine. Omeprazole and other Proton Pubm Inhibitors (PPIs) stop the last step of stomach acid production, whereas ranitidine just one patch of acid production.

What is the difference between omeprazole and ranitidine?

Omeprazole belongs to a group of drugs called Proton Pubm Inhibitors (PPIs). Ranitidine belongs to a class of drugs called H2-receptor antagonists. The main difference between omeprazole and ranitidine is how both drugs suppress stomach acid production. Omeprazole act on the proton pump, which is responsible for the last step of stomach acid production, whereas ranitidine stops one path of stomach acid production, by acting on h-2 receptors.

What is equivalent to ranitidine?

In the UK, other h2-receptor antagonists include famotidine, cimetidine and nizatidine. All drugs belong to the same class of medicines, hence may be called equivalent to each other.

Is ranitidine banned?

Ranitidine is not banned in the UK, however, there is an ongoing investigation to its safety, due to contamination with 'carcinogenic' compound called NDMA.



I am a community pharmacist working in UK. I blog about drugs, health and pharmacy.

One Comment

  • Jonathan Guy Hart

    Thank you for the clearest explanation that I have seen.
    I have been taking ranitidine at night for many years, as my reflux occurs at nightime, and wakes me with choking episodes.
    I am unable to get this medicine now and so asked for famotidine as a replacement. Unfortunately that is also currently unavailable. I do not have much success with PPIs which I have taken in the past, so am left with Gaviscon advance as my only solution.
    I do not eat or drink much after 6pm but the choking still occurs.
    Any suggestions would gratefully received.

Leave a Reply

Your email address will not be published. Required fields are marked *