Muscle twitching is a response when the electrolytes aren't doing their job. The 4 electrolytes are magnesium, potassium, sodium, and calcium. Generally, twitching is caused by a lack of magnesium....but with CF, low sodium levels can cause it too. I supplement with magnesium and I always have...