Are anorectal malformations (ARMs) associated with previous miscarriages or single nucleotide polymorphisms (SNPs) in the Bone Morphogenetic Protein 4 (BMP4) and GLI family zinc finger 2 (GLI2) genes? The SNP rs3738880 in GLI2 and miscarriages were associated with ARM, especially in patients with multiple congenital anomalies (MCA). ARM are one of the most common birth defects of the gastrointestinal tract. The etiology is likely to be multifactorial, involving both environmental and genetic factors. SNPs in BMP4 and GLI2 genes were associated with ARM in non-Caucasian populations. During a patient information day, several mothers of ARM patients reported their concerns about previous miscarriages. A case-control study was performed among 427 ARM patients and 663 population-based controls. We examined the associations of ARM with SNPs in GLI2 and BMP4 using DNA samples of the children and associations with previous miscarriages using parental questionnaires. In addition, gene-gene and gene-environment interaction analyses were performed. The SNP rs3738880 in GLI2 was associated with ARM, especially in patients with MCA (homozygous GG-genotype: odds ratio (OR): 2.1; 95% CI: 1.2, 3.7). We identified previous miscarriages as a new risk factor for ARM, especially when occurring in the pregnancy directly preceding the index pregnancy and in patients with MCA (OR: 2.1; 95% CI: 1.3, 3.5). No association with rs17563 in BMP4, nor gene-gene or gene-environment interactions were found. The possibility of recall errors for previous miscarriage, but we expect these errors to be limited, as a miscarriage is a major life event. In addition, potential misclassification regarding miscarriages and stillbirth, but sensitivity analyses showed that this did not influence our results. This study showed associations of ARM with rs3738880 in GLI2 and with previous miscarriages. Both associations were stronger in patients with MCA, showing the importance of stratifying the analyses by patients with isolated ARM or MCA. This study was funded by the Radboudumc. The authors have no conflict of interest to disclose.