Elderly people with leg cramps can take the following types of drugs: First, calcium: such as calcium gluconate, calcium chloride, calcium sulfate, all can promote calcium deposition, absorption, alleviate the symptoms of leg cramps caused by hypocalcemia, and also improve osteoporosis. Second, vitamin D: elderly patients need to supplement vitamin D, such as vitamin D3, preferably activated vitamin D3, such as ossified triol, which can promote calcium absorption and accelerate bone deposition, and is of great benefit to the treatment of osteoporosis. Elderly patients have less opportunity to synthesize vitamin D in their skin, and even with moderate sun exposure, the effect is limited, so additional supplementation with drugs such as osteopontin triol is needed to relieve symptoms. Leg cramps in the elderly must be diagnosed and treated early in order to bring about rapid relief of clinical symptoms.