Minor spasms may be the result of exercise or overuse of a muscle. Some spasms may be the result of a neurological condition or injury. Serious causes of spasms include kidney disease, seizure, and stroke.