Autism spectrum disorder (ASD) is a diverse collection of neurodevelopmental disorders often accompanied by excessive oxidative stress and chronic inflammatory responses. Selenium (Se), a trace element, has demonstrated anti-inflammatory, antioxidant, and neuroprotective effects. The present study aimed to examine the effects of sodium selenite, a Se supplement, on a rat model of ASD. The valproic acid intervention method was used during pregnancy to construct an ASD rat model. Rats were then treated with sodium selenite. Behavioral tests, morphological assessments, and measurements of antioxidant enzymes, oxidative stress indicators, and inflammatory factors in the hippocampal tissues and serum were conducted. Se supplementation mitigated inflammatory responses and oxidative stress in ASD rats while preserving neuronal morphology and function. In addition to Se supplementation, rats received specific inhibitors targeting the signaling pathway. Protein and mRNA expression levels, as well as the tissue distribution of sirtuin 1 (Sirt1), heme oxygenase-1 (HO-1), nuclear factor erythroid 2-related factor 2 (Nrf2), and Kelch-like ECH-associated protein 1 (Keap1), were evaluated. The results demonstrated that Se treatment upregulated the expression levels of Sirt1, Nrf2, and HO-1, while downregulating Keap1 expression. These findings demonstrate that Se attenuates inflammatory damage and oxidative stress in the brain, and this protective effect is associated with the Sirt1/Keap1/Nrf2/HO-1 signaling pathway.