The treatment of leg pain caused by calcium deficiency is different. 1, calcium deficiency causes muscle pain due to cramps, the treatment is mainly calcium supplementation, plus the symptomatic use of anti-inflammatory and pain-relieving drugs, such as calcium carbonate D3 tablets, diclofenac sodium extended-release tablets. 2, elderly patients due to calcium deficiency leads to osteoporosis, causing pain in the legs, which is generally caused by the lack of calcium in the bones. The treatment is mainly calcium supplementation, plus the use of anti-inflammatory and analgesic drugs, such as calcium carbonate D3 tablets and diclofenac sodium release tablets. 2. Elderly patients with osteoporosis due to calcium deficiency, causing leg pain, is generally caused by the lack of calcium in the bones, which requires not only calcium supplementation, but also the use of anti-osteoporosis drugs, such as alendronate sodium tablets, for treatment, and appropriate physical activity to prevent further aggravation of osteoporosis.