Our results partly support our hypothesis by finding that only boys showed differential methylation of the FKBP5 gene in response to prenatal pregnancy-related anxiety; also, only in boys was the methylation of NR3C1 and HSD11B2 genes associated with the risk of emotional symptoms and hyperactivity, although no mediating effects were found. This evidence concerns the gene HSD11B2 and Anxiety.