Genetic testing is a good predictor of lactase persistence (LP) in specific populations but its clinical utility in children is less clear. We assessed the role of lactose malabsorption in functional gastrointestinal disorders (FGID) in children and the correlation between the lactase non-persistence (LNP) genotype and phenotype, based on exhaled hydrogen and gastrointestinal symptoms, during a hydrogen breath test (HBT). We also evaluate dairy consumption in this sample. We conducted a 10-year cross-sectional study in a cohort of 493 children with suspected FGID defined by Roma IV criteria. Distribution of the C/T-13910 genotype was as follows: CC, 46.0%; TT, 14.4% (LP allele frequency, 34.1%). The phenotype frequencies of lactose malabsorption and intolerance were 36.3% and 41.5%, respectively. We observed a strong correlation between genotype and both lactose malabsorption (Cramér’s V, 0.28) and intolerance (Cramér’s V, 0.54). The frequency of the LNP genotype (p = 0.002) and of malabsorption and intolerance increased with age (p = 0.001 and 0.002, respectively). In 61% of children, evaluated dairy consumption was less than recommended. No association was observed between dairy intake and diagnosis. In conclusion, we found a significant correlation between genotype and phenotype, greater in older children, suggesting that the clinical value of genetic testing increases with age.