A charley horse is another name for a muscle spasm, which is when a muscle contracts and will not relax. Muscle spasms can happen to any muscle in the body, but they are most common in the leg and foot. During a muscle spasm, the muscle becomes hard and tight and may be tender to the touch. After the spasm subsides, the muscle may be sore for hours or even days.