In the case that the body is not receiving an adequate supply of minerals such as calcium and magnesium, muscle spasms in thighs are a likely possibility. This can occur when the diet is low in these minerals. The amount of calcium in our body influences muscle actions. Studies show that calcium ions are primarily responsible for controlling muscle contractions. Muscle cells contain calcium, ensuring proper muscle contraction. However, in the presence of insufficient calcium may arise muscle fatigue and controlled muscle activity becomes difficult. Furthermore, the relaxation of muscles is controlled by magnesium. Therefore, less magnesium, have difficulty muscles to relax. Thus, when the body is deprived of one or both of these minerals, thigh muscles can contract several times during the day.