Ailments & Conditions Causes of Muscle Twitches and Spasms Muscle twitches and spasms occur when nerves misfire. This leads to the sudden contraction of muscle fibers, which can be very painful. These problems can happen with any muscle groups