Other causes include deficiency of vitamin B12 and vitamin B6, electrolyte imbalance, and other mineral deficiencies. When calcium, magnesium, chloride, and other nutrients present in the body fluids are imbalanced, it leads to muscle twitches. People who are on diuretics, or those who have problems such as hypertension and congestive cardiac failure, may experience muscle twitches, as well. Other medications like corticosteroids and estrogen doses may also be the cause.