The conditions that can trigger leg cramps include electrolyte imbalance (insufficient amount of minerals and fluids) in the body, dystonia (movement disorders), blood vessel disease, diabetes, inflammation of any part of the body, nerve damage, liver or thyroid disease and interaction of medications in the body.