If you are concerned about twitching in your legs, I recommend that you seek formal evaluation by a neurologist
or other professional healthcare provider to further workup your symptoms and provide treatment, if necessary. Muscle twitching can have multiple causes, some benign and others more severe. In resting muscles, benign twitching is often the result of fasciculations, which are high frequency intermittent contractions of muscle that can have multiple sources. A subset of the population will have benign fascinations at baseline. This condition does not generally interfere with activities of daily living. However, people may also develop fasciculations due to lack of sleep, overuse or muscle fatigue, stress, or chemicals such as caffeine or stimulants like nicotine or decongestants. If you are experiencing fasciculations, which people often describe as twitching of resting muscle, simple remedies include eating a regular diet, staying hydrated, getting adequate rest and limiting stress and stimulants like caffeine. In rare instances, fasciculations are symptomatic of more sinister causes such as neurodegenerative conditions of the motor neurons. This may include amyotrophic lateral sclerosis, spinal muscular atrophy, spinal cord injury
and peripheral nerve injury (either trauma or inflammation). Multiple sclerosis
may also result in focal fasciculations. Therefore, it is important that you have a formal neurological evaluation to rule out sinister etiologies.