The most common cause of congenital hypothyroidism is a defect in the development of the thyroid gland. This can include complete absence of the gland (agenesis), partial development (hypoplasia), or improper positioning (ectopic thyroid). Other causes include inherited defects in thyroid hormone production or maternal factors like iodine deficiency.