Hi, There is a wide range of conditions that can cause muscle twitching. In general, more severe muscle twitching results from serious causes. Minor twitching results from less serious lifestyle-related causes.. There is no definitive way to prevent muscle twitching. However, there are some simple things you can do to decrease its occurrence.
Eat a balanced diet, including a wide range of fruits and vegetables. This may help prevent some nutritional deficiencies linked to muscle twitching. You should also avoid drinking caffeinated beverages or eating foods containing caffeine. These foods and drinks may increase or promote twitching.
It is a good idea to stop smoking, since nicotine is a mild stimulant that affects the central nervous system.