Connect with others who understand.

Sign up Log in
Resources
About DiabetesTeam
Powered By
See answer

Magnesium for Diabetes: Does It Help?

Medically reviewed by Robert Hurd, M.D.
Posted on May 4, 2022

Many members of DiabetesTeam have wondered about how magnesium levels relate to diabetes. One member commented, “I got a phone call from my doctor’s office. My magnesium is still too low, and I have to increase the tablets. I do eat nuts, beans, and other things that contain magnesium. What I do not know is what causes the deficiency.”

Magnesium is critical for proper cell function throughout the body. Diabetes is associated with magnesium deficiency, which is a lack of adequate magnesium in the body. Research has shown that improving magnesium levels can improve how the body handles blood sugar in both people with diabetes and people who are at higher risk of developing diabetes.

Magnesium

Magnesium is an important electrolyte (like sodium, potassium, and calcium). It’s involved in about 80 percent of the known metabolic processes in the human body — the chemical reactions that keep the body alive and functioning.

Magnesium is essential for the normal function of the heart, muscles, and the nervous system. It helps to maintain cell function, bone health, and normal electrical activity in nerve cells. Magnesium is found in many types of food, including green leafy vegetables, nuts, beans, and whole grains.

Magnesium is mostly absorbed in the small intestine. It’s then stored in tissues throughout the body, including in muscles and bone. The kidneys help maintain healthy magnesium levels by getting rid of excess magnesium in the urine. Diseases that affect the gut, nutrient absorption, or kidney function can all affect magnesium levels.

Magnesium Deficiency

Magnesium deficiency is a lack of adequate magnesium in the body. Low levels of magnesium are linked to a wide range of chronic diseases, including:

  • High blood pressure
  • Cardiovascular (heart and blood vessels) disease
  • Type 2 diabetes
  • Migraines
  • Osteoporosis (loss of bone tissue causing fragile bones)
  • Alcoholism

Magnesium deficiency is a double-edged sword — not only does it increase the risk of chronic diseases, but it can also be caused by chronic diseases.

People with diabetes are at a higher risk of magnesium deficiency, which can lead to poorer blood sugar control and increased risk of serious complications. Low magnesium levels are also associated with worse complications in people with diabetes.

Symptoms

Symptoms of early or mild magnesium deficiency include:

  • Loss of appetite
  • Nausea and vomiting
  • Weakness
  • Fatigue

Symptoms of more severe magnesium deficiency include:

  • Muscle spasms or cramps
  • Tremors
  • Vertical nystagmus (abnormal up and down eye movements)
  • Numbness or tingling
  • Seizures
  • Heart arrhythmias (abnormal heartbeats)
  • Coma
  • Heart attack

Many people with low magnesium do not have any symptoms. However, they are still at higher risk of developing chronic diseases.

Causes

In general, there are three main causes of low magnesium: not getting enough magnesium through the diet for an extended time, having impaired magnesium absorption in the intestines, and having too much magnesium removed by the kidneys.

In people with type 2 diabetes specifically, it appears that the cause of magnesium deficiency is a combination of low magnesium intake and excess magnesium loss in the urine. Kidney disease, often seen in diabetes, can lead to more magnesium loss and a magnesium deficiency.

Certain medications can also lower magnesium levels. These medications include drugs people with diabetes commonly take, such as insulin and diuretics (water pills) like hydrochlorothiazide and furosemide (Lasix).

Other medications that can lower magnesium levels include:

  • Proton-pump inhibitors for gastric reflux
  • Certain antibiotics
  • Chemotherapy drugs
  • Drugs used to treat osteoporosis
  • Asthma medications
  • Chronic obstructive pulmonary disease medications

To avoid developing a magnesium deficiency, talk with your doctor about possibly changing medications. Your doctor can also tell you if any of the medications you’re taking prevent the absorption of magnesium. If so, avoid taking these drugs and magnesium supplements around the same time.

Diagnosis

Magnesium deficiency can be difficult to diagnose. A medical history can identify symptoms, and a physical exam can find physical signs of a deficiency. Laboratory tests, though, are needed to confirm a magnesium deficiency.

Blood tests can show low magnesium levels. However, because less than 1 percent of magnesium in the body is found in the blood, blood levels can appear normal even when you have a deficiency. A 24-hour urine test after an injection of magnesium can better assess magnesium levels or identify increased loss of magnesium in the urine.

Blood tests for other electrolytes, including calcium and potassium, are also helpful for diagnosis. Standard blood tests for kidney function can also be used in diagnosis.

Can Magnesium Improve Diabetes?

Some research indicates that improving magnesium levels can improve blood sugar levels and decrease insulin resistance in people with type 2 diabetes and those at high risk of diabetes, including those with prediabetes or metabolic syndrome.

Although this research sounds promising, the results of studies attempting to show a benefit for people with diabetes from taking magnesium supplements have been mixed. Some studies show a benefit, while others do not. In fact, the American Diabetes Association does not believe there is enough evidence to recommend magnesium supplementation to everyone with diabetes. Larger research studies are needed to investigate the role magnesium supplements can play in helping people with diabetes better manage their condition.

How Can Magnesium Levels Be Improved?

Eating more magnesium-rich foods and taking oral magnesium supplements can improve your body’s magnesium levels. Treating underlying conditions that may affect magnesium levels is also important.

Diet

Research suggests that many people do not get enough magnesium in their diet. Getting magnesium from food is perhaps the best way to maintain your magnesium levels. The body absorbs magnesium from food well, and you are at low risk of getting too much magnesium from food. The recommended daily intake of magnesium from food varies greatly by age and gender.

Foods that are high in magnesium include:

  • Pumpkin and chia seeds
  • Almonds, cashews, and peanuts
  • Peanut butter
  • Beans and legumes (black beans, kidney beans, and edamame)
  • Soy milk
  • Spinach
  • Potatoes with skin
  • Whole grains (whole wheat bread, oatmeal, and brown rice)
  • Milk and yogurt
  • Avocados
  • Bananas
  • Raisins
  • Salmon and halibut
  • Ground beef
  • Chicken breast
  • Fortified foods, like breakfast cereals

Magnesium Supplements

Depending on your specific needs, your doctor might ask you to take supplemental magnesium to restore and maintain proper magnesium levels. Oral magnesium supplements come in many forms. Some are absorbed better than others. Some are also more likely to cause side effects, such as diarrhea. Talk with your doctor to see which form is best for you.

When taking magnesium supplements, there is some risk of getting too much magnesium. High levels of magnesium can cause low blood pressure, nausea, vomiting, diarrhea, cramping, urinary retention, abnormal heart rhythms, and even cardiac arrest. Having kidney failure can also contribute to high magnesium if the kidneys cannot remove excess magnesium from the body.

Talk to Your Doctor

If you are concerned about your magnesium levels, discuss it with your doctor or other health care provider. Checking your magnesium levels — both in your blood and urine — can give a clearer picture of how your body is handling magnesium. If you take any prescription medications, you should always discuss potential side effects with your doctor, including their effect on magnesium levels.

Unless you have kidney failure or any serious kidney disease, increasing your dietary intake of magnesium is likely a safe way to raise magnesium levels. If you are considering taking magnesium supplements, it is best to discuss this with your health care provider first. You should always talk with your doctor before making any significant changes in your diet, medications, or nutritional supplements.

Talk With Others Who Understand

DiabetesTeam is the social network for people with diabetes and their loved ones. On DiabetesTeam, more than 118,000 members come together to ask questions, give advice, and share their stories with others who understand life with diabetes.

Have you discussed your magnesium levels with your doctor? Share your experience in the comments below, or start a conversation by posting on your Activities page.

Posted on May 4, 2022

A DiabetesTeam Member

Great information

August 19
All updates must be accompanied by text or a picture.

We'd love to hear from you! Please share your name and email to post and read comments.

You'll also get the latest articles directly to your inbox.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service.
All updates must be accompanied by text or a picture.

Subscribe now to ask your question, get answers, and stay up to date on the latest articles.

Get updates directly to your inbox.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service.

When My Sugar Numbers Start To Approach Normal My Stomach Starts To Have Sharp Pains And Become Very Tired. Any Ideas.

February 10, 2024 by A DiabetesTeam Member 1 answer

Has Anyone Been Diagnosed With Type 2 For Several Years And Then Doctors Decided It Is Type 1?

February 12, 2024 by A DiabetesTeam Member 4 answers

If One Takes Magnesium Supplements, How Much Should One Take (in Mgs)

February 12, 2024 by A DiabetesTeam Member 7 answers

Is It Safe For Me To Take Magnesium If I Had Kidney Failure But My Kidneys Regained Complete Function The Way They Are Supposed To At My Age

March 6, 2024 by A DiabetesTeam Member 3 answers
Robert Hurd, M.D. is a professor of endocrinology and health care ethics at Xavier University. Review provided by VeriMed Healthcare Network. Learn more about him here.
Kristopher Bunting, M.D. studied chemistry and life sciences at the U.S. Military Academy, West Point, and received his doctor of medicine degree from Tulane University. Learn more about him here.

Related Articles

Diabetic macular edema (DME) is a relatively common vision problem in people with diabetes. Opti...

How OCT Works To Detect Diabetic Macular Edema: What To Expect

Diabetic macular edema (DME) is a relatively common vision problem in people with diabetes. Opti...
Diabetic macular edema (DME) can be categorized as center-involved or non-center-involved. Cente...

Center-Involved Diabetic Macular Edema vs. Non-Center-Involved: Differences and Management

Diabetic macular edema (DME) can be categorized as center-involved or non-center-involved. Cente...
What do diabetes, eye surgeries, and aging have in common? They’re three of the 10 main causes of...

The 10 Causes of Macular Edema: Diabetes and More

What do diabetes, eye surgeries, and aging have in common? They’re three of the 10 main causes of...
When you’re living with diabetes, you may also experience other medical conditions. For example, ...

Can Type 2 Diabetes Cause Fatty Liver Disease or MASLD?

When you’re living with diabetes, you may also experience other medical conditions. For example, ...
On DiabetesTeam, members frequently discuss eye symptoms like blurry vision and dry eyes. Sometim...

How Does Vision Change as Diabetic Macular Edema Progresses?

On DiabetesTeam, members frequently discuss eye symptoms like blurry vision and dry eyes. Sometim...
Have you ever scratched your ear and caught a whiff of an unusual or just plain bad smell? Sweat,...

Smell Behind Ears: Diabetes-Related or Something Else?

Have you ever scratched your ear and caught a whiff of an unusual or just plain bad smell? Sweat,...

Recent Articles

This fall and winter, the Centers for Disease Control and Prevention (CDC) expects the number of ...

3 Layers of COVID-19 Protection: New Vaccines, Prevention Drug, and Tests

This fall and winter, the Centers for Disease Control and Prevention (CDC) expects the number of ...
Some eye damage caused by diabetic retinopathy is irreversible, but early intervention can slow ...

Can Diabetic Retinopathy Be Reversed? Injections, Diet, and More

Some eye damage caused by diabetic retinopathy is irreversible, but early intervention can slow ...
People with diabetes are at risk of a variety of eye diseases. The American Academy of Ophthalmol...

7 Ways Diabetes Can Affect Your Eyes: Glaucoma, Cataracts, and More

People with diabetes are at risk of a variety of eye diseases. The American Academy of Ophthalmol...
Are you struggling with vision changes possibly due to diabetes? If you’re living with diabetic m...

4 Diabetic Macular Edema Treatments: Injections, Surgery, and More

Are you struggling with vision changes possibly due to diabetes? If you’re living with diabetic m...
Frequent urination (also called urgency incontinence) is common for people with diabetes, and it ...

Frequent Urination and Diabetes

Frequent urination (also called urgency incontinence) is common for people with diabetes, and it ...
Healthy eating is a crucial part of controlling blood sugar if you have type 2 diabetes, and nutr...

Can You Drink Orange Juice if You Have Diabetes?

Healthy eating is a crucial part of controlling blood sugar if you have type 2 diabetes, and nutr...

Thank you for subscribing!

Become a member to get even more: