CAH is caused by mutations in genes responsible for the production of adrenal enzymes. The most common form, 21-hydroxylase deficiency, is due to mutations in the CYP21A2 gene. These mutations are inherited in an autosomal recessive pattern, meaning that both parents must carry and pass on the faulty gene for their child to be affected.