4-pentylphenol (PP) and 3-methyl-4-nitrophenol (PNMC), two important components of vehicle emissions, have been shown to confer toxicity in splenocytes. Certain natural products, such as those derived from walnuts, exhibit a range of antioxidative, antitumor, and anti-inflammatory properties. Here, we investigated the effects of walnut polyphenol extract (WPE) on immunotoxicity induced by PP and PNMC in murine splenic lymphocytes. Treatment with WPE was shown to significantly enhance proliferation of splenocytes exposed to PP or PNMC, characterized by increases in the percentages of splenic T lymphocytes (CD3+ T cells) and T cell subsets (CD4+ and CD8+ T cells), as well as the production of T cell-related cytokines and granzymes (interleukin-2, interleukin-4, and granzyme-B) in cells exposed to PP or PNMC. These effects were associated with a decrease in oxidative stress, as evidenced by changes in OH, SOD, GSH-Px, and MDA levels. The total phenolic content of WPE was 34,800 ± 200 mg gallic acid equivalents/100 g, consisting of at least 16 unique phenols, including ellagitannins, quercetin, valoneic acid dilactone, and gallic acid. Taken together, these results suggest that walnut polyphenols significantly attenuated PP and PNMC-mediated immunotoxicity and improved immune function by inhibiting oxidative stress.