noah logo

What's The Link Between Magnesium And Erectile Dysfunction?

If you are experiencing trouble getting and maintaining an erection during sex, you may be having erectile dysfunction (ED). You might have heard that there is a link between magnesium and erectile dysfunction. This article aims to explain the fact behind this statement with substantial research evidence.

Reviewed By

How Does An Erection Occur Normally?

During sex arousal, nitric oxide (NO), released by the inner lining of the vascular cells, induces a quick flow of blood to your penis to achieve and maintain a firm erection. Thus, erection depends on the release of nitric oxide.

Generic Weekend Pill

Same long-lasting effects as the weekend pill (up to 36 hours of play), at half the cost.

What Is The Significance Of Magnesium?

Magnesium is an essential micronutrient that plays a vital role in almost every body function. An adult should consume 400-420 mg of magnesium every day. However, it is present in most food items in small quantities.

People at risk of magnesium deficiency can trigger high blood pressure, diabetes, and heart disease. All these conditions contribute to the development of erectile dysfunction (ED). Hence, managing these conditions effectively can help in getting relief from ED symptoms.

What Is The Connection Between Magnesium And Erectile Dysfunction?

Magnesium plays a crucial role in the erection process, where it is involved in nitric oxide metabolism. The reduction of magnesium levels in the blood inhibits the release of nitric oxide.

A 2018 research study reported a lower level of magnesium in blood among patients with erectile dysfunction.

A 2017 study revealed that erectile dysfunction is connected to a lower level of magnesium content in blood in elders with moderate to severely reduced kidney function.

Is It Safe To Take Viagra (Or Other ED Medications) While Consuming Magnesium Supplements?

Doctors usually recommend Viagra (Sildenafil) for treating erectile dysfunction.

In a normal cyclic guanosine monophosphate (c-GMP) pathway, the release of nitric oxide in the penis stimulates guanylyl cyclase to trigger the production of c-GMP, which results in relaxation of smooth muscles followed by erection. However, PDE5 enzyme degrades cGMP. 

A 2005 study reported that Viagra inhibits the PDE-5 enzyme in the body and boosts nitric oxide levels in the penile tissues. This step potentiates the c-GMP pathway followed by c-GMP production and erection. 

A 2017 study reported that magnesium plays a crucial role in the erection process through the metabolism of nitric oxide. Furthermore, it improves the response of PDE-5 inhibitors like Viagra used for treating ED problems.

Thus, magnesium supplementation does not treat erectile dysfunction instantly. However, consuming magnesium supplements for a prolonged duration can improve general health including sexual health as well.

Make sure to inform your doctor in case you are consuming magnesium supplements before starting any erectile dysfunction (ED) medications. 

After checking your medical history, lab reports, and other ongoing medications, the doctor will let you know whether it is safe to consume magnesium supplements or just magnesium-rich foods are enough.

In case you are diagnosed with magnesium deficiency, the doctor will recommend the right supplements depending on your condition.

The Takeaway

As we've covered in this article, magnesium promotes nitric oxide secretion in order to improve erectile dysfunction (ED). 

However, talk to your doctor before consuming magnesium supplements for ED treatment. Usually, doctors recommend supplements only if you have a magnesium deficiency. Or else, just magnesium-rich foods are enough. 

Make sure to verify that magnesium consumption will not cross-interact with your regular medications. In case you are already having magnesium supplements, inform the doctor.

If you are experiencing erectile dysfunction, it is advisable that you consult a doctor. Here at Noah, doctors on our platform are best equipped with the knowledge to help you ascertain the root cause of your erectile dysfunction. They will be able to advise you on the best treatment suited for you, and can also prescribe you the right medication should you need it. 


Toprak O, Sarı Y, Koç A, Sarı E, Kırık A. The impact of hypomagnesemia on erectile dysfunction in elderly, non-diabetic, stage 3 and 4 chronic kidney disease patients: a prospective cross-sectional study. Clin Interv Aging. 2017; 12:437-444. Published 2017 Feb 24. doi:10.2147/CIA.S129377 (Link)

Benli, Erdal & Cirakoglu, Abdullah & Ayyıldız, Sema. (2018). Comparison of Serum Magnesium Levels in Patients with Erectile Dysfunction and Healthy Peers. Journal of Academic Research in Medicine. 25-29. 10.5152/jarem.2018.1462 (Link)

Carson CC, Lue TF. Phosphodiesterase type 5 inhibitors for erectile dysfunction. BJU Int. 2005;96(3):257-280. doi:10.1111/j.1464-410X.2005. 05614.x (Link)

Toprak O, Sarı Y, Koç A, Sarı E, Kırık A. The impact of hypomagnesemia on erectile dysfunction in elderly, non-diabetic, stage 3 and 4 chronic kidney disease patients: a prospective cross-sectional study. Clin Interv Aging. 2017;12:437-444. Published 2017 Feb 24. doi:10.2147/CIA.S129377 (Link)

Reviewed By
Published On
January 25, 2022

Read Up More

Premature Ejaculation: Causes, Prevention and Treatment in Singapore

Editorial Team
Men often feel embarrassed not being able to last as long as they want, but premature ejaculation (PE) is a serious sexual disorder, and it can be treated. Find out all you need to know about the causes of PE, PE treatment and how to prevent PE in this ultimate guide.

Is There a Cure For Balding?

Editorial Team
Approximately 75% of men suffer from male pattern baldness, which is the most common form of hair loss in Singapore. Find out what you can do about it, before you start losing hair.

Male Hair Loss Guide: The Causes Of Hair Loss and Treatments Available In Singapore

Editorial Team
The ultimate guide to hair loss? We've done it. Read on for the types and causes of hair loss, how to recognise male pattern baldness, hair loss treatment in Singapore and finally the truth behind the myth of creatine and hair loss.

Be the first to know!

Far far away, behind the word mountains, far from the countries. Far far away, behind the word mountains, far from the countries.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.