Causes of hypoparathyroidism include:  Injury to the glands. Endocrine disorders. Genetic conditions. Low magnesium levels.