Ankyrin deficiency is the most common defect in dominant and non dominant hereditary spherocytosis.