By Mayo Clinic Staff. Night leg cramps, also called nocturnal leg cramps, are painful, involuntary contractions or spasms of muscles in your legs, usually occurring when you're in bed. Night leg cramps usually involve your calf muscles, although muscles in your feet or thighs might cramp as well.