Leg cramps at night, or nocturnal leg cramps (NLCs), can occur due to inactivity during the day, tired muscles, or certain medical conditions. Treatment can include medication and stretching the ...