A muscle cramp is an involuntary contraction of a muscle. Cramps can last anywhere from a few seconds to a few hours. (Luckily I've never experienced the latter). Nobody likes a muscle cramp. Sometimes, my feet cramp when I'm running barefoot. I once got one high up in my leg