What Causes Nighttime Leg Cramps, Muscle Spasms? - WebMD Nighttime leg cramps are usually sudden spasms, or tightening, of muscles in the calf. The muscle cramps can sometimes happen in the thigh or the foot.