Adverse experiences during pregnancy induce placental programming, affecting the fetus and its developmental trajectory. However, the influence of 'positive' maternal experiences on the placenta and fetus remain unclear. In animal models of early life stress, environmental enrichment (EE) has ameliorated and even prevented associated impairments in brain and behavior. Here, using a maternal immune activation (MIA) model in rats, we test whether EE attenuates maternal, placental and/or fetal responses to an inflammatory challenge, thereby offering a mechanism by which fetal programming may be prevented. Moreover, we evaluate life-long EE exposure on offspring development and examine a constellation of genes and epigenetic writers that may protect against MIA challenges. In our model, maternal plasma corticosterone and interleukin-1β were elevated 3 h after MIA, validating the maternal inflammatory response. Evidence for developmental programming was demonstrated by a simultaneous decrease in the placental enzymes Hsd11b2 and Hsd11b2/Hsd11b1, suggesting disturbances in glucocorticoid metabolism. Reductions of Hsd11b2 in response to challenge is thought to result in excess glucocorticoid exposure to the fetus and altered glucocorticoid receptor expression, increasing susceptibility to behavioral impairments later in life. The placental, but not maternal, glucocorticoid implications of MIA were attenuated by EE. There were also sustained changes in epigenetic writers in both placenta and fetal brain as a consequence of environmental experience and sex. Following MIA, both male and female juvenile animals were impaired in social discrimination ability. Life-long EE mitigated these impairments, in addition to the sex specific MIA associated disruptions in central Fkbp5 and Oprm1. These data provide the first evidence that EE protects placental functioning during stressor exposure, underscoring the importance of addressing maternal health and well-being throughout pregnancy. Future work must evaluate critical periods of EE use to determine if postnatal EE experience is necessary, or if prenatal exposure alone is sufficient to confer protection.