Adrenal insufficiency in paediatric patients is mostly due to congenital adrenal hyperplasia (CAH), a severe monogenic disease caused by steroid 21-hydroxylase deficiency (21-OHD, encoded by the CYP21A2 gene) in 95% of cases. CYP21A2 genotyping requires careful analyses that guaranty gene-specific PCR, accurate definition of pseudogene-gene chimeras, gene duplications and allele dropout avoidance. A small panel of well-established disease-causing alterations enables a high diagnostic yield in confirming/discarding the disorder not only in symptomatic patients but also in those asymptomatic with borderline/positive results of 17-hydroxyprogesterone. Unfortunately, the complexity of this locus makes it today reluctant to high throughput techniques of massive sequencing. The strong relationship existing between the molecular alterations and the degree of enzymatic deficiency has allowed genetic studies to demonstrate its usefulness in predicting/classifying the clinical form of the disease. Other aspects of interest regarding molecular studies include its independence of physiological variations and analytical interferences, its usefulness in the diagnosis of simple virilizing forms in males and its inherent contribution to the genetic counseling, an aspect of great importance taking into account the high carrier frequency of CAH in the general population. Genetic testing of CYP21A2 constitutes an irreplaceable tool to detect severe alleles not just in family members of classical forms but also in mild late-onset forms of the disease and couples. It is also helpful in areas such as assisted reproduction and preimplantation diagnosis. Molecular diagnosis of 21-OHD under expert knowledge definitely contributes to a better management of the disease in every step of the clinical course.