Most people have at one time or another, and the problem gets more common as you age. The spasm-like cramps usually last only a few seconds, but they may keep coming back through the night, ruining a good night's sleep. There's no explanation for why these cramps occur and, unfortunately, no successful medical treatment. Until recently, quinine was the main remedy. However, its use is controversial because even though it is successful in treating the spasms in some people, it occasionally causes dangerous side effects like vision problems and heart irregularities.
Experts suggest taking specific steps to avoid muscle cramps.
Hold that pose a few seconds, then relax and repeat. If you sleep on your back, make sure the blankets are loose so there's less chance that you'll point your toes and pull on the calf muscles. Try lying on your stomach, with your feet hooked over the bed. If you are taking any medications on a regular basis, mention the leg cramps to your pharmacist. Some drugs, such as diuretics, can cause the problem.