Each year, 1 million children die due to perinatal asphyxia; however, there are no effective drugs to protect the neonatal brain against hypoxic/ischemic damage. In this study, we demonstrated for the first time the neuroprotective capacity of 3,3’-diindolylmethane (DIM) in an in vivo model of rat perinatal asphyxia, which has translational value and corresponds to hypoxic/ischemic episodes in human newborns. Posttreatment with DIM restored the weight of the ipsilateral hemisphere and normalized cell number in the brain structures of rats exposed to perinatal asphyxia. DIM also downregulated the mRNA expression of HIF1A-regulated Bnip3 and Hif1a which is a hypoxic marker, and the expression of miR-181b which is an indicator of perinatal asphyxia. In addition, DIM inhibited apoptosis and oxidative stress accompanying perinatal asphyxia through: downregulation of FAS, CASP-3, CAPN1, GPx3 and SOD-1, attenuation of caspase-9 activity, and upregulation of anti-apoptotic Bcl2 mRNA. The protective effects of DIM were accompanied by the inhibition of the AhR and NMDA signaling pathways, as indicated by the reduced expression levels of AhR, ARNT, CYP1A1, GluN1 and GluN2B, which was correlated with enhanced global DNA methylation and the methylation of the Ahr and Grin2b genes. Because our study provided evidence that in rat brain undergoing perinatal asphyxia, DIM predominantly targets AhR and NMDA, we postulate that compounds that possess the ability to inhibit their signaling are promising therapeutic tools to prevent stroke.