Cramps are involuntary, localized muscle contractions that are often painful. Leg cramps typically affect the calf muscle, though they can occur in other parts of your leg as well.
These contractions commonly occur at night and can last seconds to minutes. Most leg cramps are over in less than a few minutes.
Although their exact cause isn’t always clear, multiple factors, including pregnancy, medical treatments, insufficient blood flow, and the use of certain drugs, may increase your risk.