Wegovy®
A weekly GLP-1 treatment proven to reduce hunger and support meaningful, long-term fat loss.
- ~16.9% average body weight loss
- Boosts metabolic & cardiovascular health
- Proven, long-established safety profile
- Weekly injection, easy to use

Ranitidine (Zantac) was a widely used histamine-2 receptor antagonist for treating gastro-oesophageal reflux disease and peptic ulcers until its withdrawal from the UK market in 2020 due to contamination concerns. Whilst some patients have questioned whether Zantac causes erectile dysfunction, clinical evidence does not establish a clear link between ranitidine and sexual dysfunction. Understanding the relationship between acid-suppressing medications and erectile function is important for patients seeking alternatives following ranitidine's withdrawal. This article examines the evidence, explores potential mechanisms, and provides guidance on alternative treatments and when to seek medical advice.
Summary: There is no established clinical evidence that ranitidine (Zantac) directly causes erectile dysfunction as a commonly reported adverse effect.
Zantac (ranitidine) was a widely prescribed histamine-2 receptor antagonist (H2 blocker) used to treat conditions such as gastro-oesophageal reflux disease (GORD), peptic ulcers, and dyspepsia. The medication worked by reducing stomach acid production through competitive inhibition of histamine at H2 receptors on gastric parietal cells. This mechanism effectively decreased both basal and stimulated gastric acid secretion, providing relief from heartburn and promoting healing of acid-related damage to the oesophageal and gastric mucosa.
In April 2020, the Medicines and Healthcare products Regulatory Agency (MHRA) suspended all ranitidine-containing medicines in the UK following the European Medicines Agency's recommendation, due to concerns about contamination with N-nitrosodimethylamine (NDMA), a probable human carcinogen. This followed earlier MHRA-led recalls beginning in 2019. The contamination appeared to increase over time and under certain storage conditions, raising safety concerns that ultimately led to the withdrawal of Zantac from the UK market. Ranitidine is no longer available in the UK.
Prior to its withdrawal, ranitidine was generally well-tolerated, with common adverse effects including headache, dizziness, constipation, and diarrhoea. Less frequently, patients reported fatigue, skin rashes, and gastrointestinal disturbances. The medication was eliminated predominantly via the kidneys (with a substantial proportion excreted unchanged) with limited hepatic metabolism, necessitating dose adjustments in patients with renal impairment. Understanding these pharmacological properties provides important context when considering any potential links between ranitidine and sexual function, including erectile dysfunction.
Patients who may still have leftover ranitidine should not use it and should speak to their GP or pharmacist about suitable alternatives.
There is no established clinical evidence directly linking ranitidine (Zantac) to erectile dysfunction (ED) as a commonly reported adverse effect. Large-scale clinical trials did not identify sexual dysfunction as a significant concern with ranitidine, though sexual outcomes were not always primary endpoints in these studies. However, some case reports and anecdotal accounts have suggested a possible association, though causality has not been definitively established.
The theoretical mechanism by which H2 receptor antagonists might influence sexual function relates to potential anti-androgenic properties. Some research has indicated that certain H2 blockers may have weak anti-androgenic effects, potentially interfering with testosterone activity. Cimetidine, another H2 receptor antagonist, has been more clearly associated with sexual dysfunction, including erectile difficulties and reduced libido, particularly at higher doses. This association is attributed to cimetidine's stronger anti-androgenic activity and its ability to bind to androgen receptors. Cimetidine has also been shown to increase prolactin levels in some individuals, which may affect sexual function.
In contrast, ranitidine was developed as a more selective H2 antagonist with reduced hormonal effects, making such complications considerably less likely. The evidence for ranitidine causing significant endocrine effects at therapeutic doses is limited and inconsistent.
It is important to recognise that erectile dysfunction is multifactorial, with numerous potential causes including cardiovascular disease, diabetes, psychological factors, medications, and lifestyle factors. Several medications can contribute to ED, including certain antidepressants (particularly SSRIs), some antihypertensives (especially thiazide diuretics and some beta-blockers), 5-alpha-reductase inhibitors, and opioids. If ED developed whilst taking ranitidine, it may have been coincidental rather than causative. Patients who experienced this concern should discuss it with their GP to identify the underlying cause and explore appropriate management options.
Following the withdrawal of ranitidine, several effective alternatives are available for managing acid reflux and heartburn. The National Institute for Health and Care Excellence (NICE) provides comprehensive guidance on the management of gastro-oesophageal reflux disease and dyspepsia, recommending a stepped approach to treatment.
Proton pump inhibitors (PPIs) such as omeprazole, lansoprazole, and pantoprazole are now considered first-line pharmacological treatment for GORD and related conditions. PPIs work by irreversibly blocking the hydrogen-potassium ATPase enzyme system (proton pump) in gastric parietal cells, providing more profound and longer-lasting acid suppression than H2 receptor antagonists. These medications are typically taken once daily, preferably 30–60 minutes before breakfast, and are highly effective for symptom relief and healing of oesophageal inflammation. Common side effects include headache and gastrointestinal disturbances. Long-term use requires periodic review, with patients maintained on the lowest effective dose, as there are potential concerns regarding bone health and nutrient absorption.
Famotidine is the main H2 receptor antagonist currently available in the UK, though it is prescribed less frequently than PPIs. This medication may be appropriate for patients with mild-to-moderate symptoms or as step-down therapy after initial PPI treatment.
Alginate-antacid combinations (such as Gaviscon) form a protective raft on top of stomach contents and are recommended by NICE for symptom relief. Antacids containing aluminium hydroxide, magnesium carbonate, or calcium carbonate provide rapid but short-lived symptom relief and are suitable for occasional use.
For patients with uninvestigated dyspepsia, NICE recommends considering H. pylori testing and treatment where appropriate.
Lifestyle modifications form an essential component of management and should be implemented alongside or before pharmacological treatment. NICE recommends:
Weight reduction if overweight or obese
Avoiding large meals and eating at least three hours before bedtime
Elevating the head of the bed if nocturnal symptoms occur
Reducing alcohol consumption and stopping smoking
Identifying and avoiding trigger foods such as caffeine, chocolate, spicy foods, and fatty meals
Patients should seek urgent medical advice if they experience red flag symptoms including difficulty swallowing (dysphagia), persistent vomiting, gastrointestinal bleeding, unintentional weight loss, or iron-deficiency anaemia. These symptoms may require urgent referral under the two-week wait pathway to exclude serious conditions including upper gastrointestinal cancer.
Erectile dysfunction warrants medical evaluation, particularly when it persists, causes distress, or affects quality of life and relationships. Whilst occasional difficulties with erections are common and not necessarily concerning, consistent problems maintaining an erection sufficient for satisfactory sexual activity should prompt consultation with a GP.
Early medical assessment is important because erectile dysfunction can be an early indicator of underlying cardiovascular disease. The vascular changes that affect penile blood flow often precede more serious cardiovascular events, making ED a potential warning sign. Additionally, conditions such as diabetes, hypertension, high cholesterol, and hormonal imbalances can manifest with erectile difficulties. A thorough medical evaluation can identify these treatable conditions and reduce long-term health risks.
Patients should seek medical advice if they experience:
Persistent inability to achieve or maintain an erection over several weeks or months
Sudden onset of erectile difficulties, particularly in younger men
Associated symptoms such as reduced libido, testicular pain, or urinary problems
Psychological distress or relationship difficulties related to sexual function
Concerns about medication side effects that may be contributing to the problem
The GP consultation typically involves a detailed medical and sexual history, review of current medications, and assessment of cardiovascular risk factors and psychological wellbeing. Physical examination may include blood pressure measurement, cardiovascular assessment, and examination of genitalia. Blood tests are often arranged to check glucose levels, lipid profile, morning testosterone (taken before 10am and repeated if low), and thyroid function. If hypogonadism is suspected, luteinising hormone (LH) and prolactin levels may also be checked.
Treatment options depend on the underlying cause and may include lifestyle modifications (weight loss, exercise, smoking cessation), psychological interventions, medication review, or specific treatments such as phosphodiesterase-5 inhibitors (e.g., sildenafil, tadalafil). These medications are contraindicated in patients taking nitrates or riociguat due to the risk of severe hypotension, and should be used with caution alongside alpha-blockers. The NHS provides access to these treatments, and NICE guidance supports their use in appropriate circumstances.
Patients using treatments for erectile dysfunction should seek immediate medical attention if they experience an erection lasting longer than 4 hours (priapism), as this requires urgent treatment.
Patients should feel reassured that erectile dysfunction is a common, treatable condition, and healthcare professionals are experienced in providing sensitive, confidential support for this concern. Any suspected side effects from medications can be reported through the MHRA Yellow Card Scheme.
The MHRA suspended all ranitidine-containing medicines in April 2020 due to contamination with N-nitrosodimethylamine (NDMA), a probable human carcinogen. The contamination increased over time and under certain storage conditions, leading to permanent withdrawal from the UK market.
Proton pump inhibitors such as omeprazole, lansoprazole, and pantoprazole are now first-line treatments for gastro-oesophageal reflux disease. Famotidine (another H2 blocker) and alginate-antacid combinations like Gaviscon are also available alternatives.
Seek medical advice if you experience persistent inability to achieve or maintain an erection over several weeks, sudden onset of erectile difficulties, or associated symptoms such as reduced libido. Erectile dysfunction can be an early indicator of cardiovascular disease and warrants proper evaluation.
The health-related content published on this site is based on credible scientific sources and is periodically reviewed to ensure accuracy and relevance. Although we aim to reflect the most current medical knowledge, the material is meant for general education and awareness only.
The information on this site is not a substitute for professional medical advice. For any health concerns, please speak with a qualified medical professional. By using this information, you acknowledge responsibility for any decisions made and understand we are not liable for any consequences that may result.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Block quote
Ordered list
Unordered list
Bold text
Emphasis
Superscript
Subscript