<s>[INST] I get sever leg cramps in my thighs at night. The cramp is so deep in my leg that I can t rub or massage it away. I can t walk it off. Nothing helps. I have heard that dehydration is the cause so I started drinking more water, but that hasn t helped. I have also heard that it is a lack of potasium, but I am afraid to take supplements because you can over dose. What really is the cause of leg cramps? [/INST] Thank you very much for contacting Chat Doctor. You have problem of leg cramps that may be because of overuse of muscle. Muscle strain may cause cramps problem. Lack of blood supply to let may cause muscle cramps. Atherosclerosis of artery may cause muscle cramps problems. Too little calcium or magnesium or potassium level may cause muscle cramps problems. Check your blood mineral level also. Nerve compression may cause this type of problem .MRI is helpful for further diagnosis. Proper physical examination and history give exact idea. Consent a physician for diagnose. I hope my guidance is helpful to you. Take care. Thanks. </s>