I often suggest trying home remedies or exercise for many health
issues then calling your doctor if they dont work. But this is
not one of those situations. Your symptoms could be caused by a
serious condition. You need to contact your doctor. Youre right:
Mineral deficiencies, particularly not having enough magnesium,
potassium and phosphate, can cause muscle weakness. But before
you start treating yourself with magnesium or any other mineral,
you should ask your doctor to check your levels. That can be
done with a simple blood test. There are two fairly common, but
potentially serious, conditions that can cause the kind of leg
weakness youve described. - The first is blockage of an artery
that supplies blood to the leg muscles. Doctors call it
peripheral artery disease. - The second is spinal stenosis. In
this condition, nerves that come out of the spinal cord are
pinched by fragments of bone, thickened ligaments or other
forces. But both peripheral artery disease and spinal stenosis
usually cause leg pain.