A muscle spasm is a sudden, involuntary movement in one or more muscles. People may also call it a charley horse or a muscle cramp or twitch. These movements can happen in any muscle of the body, and they are very common. Muscle spasms often occur as a result of stress, exercise, or dehydration.