Background: Obesity is considered the most important public health problem. Previous studies have confirmed that a high-fat diet (HFD) can cause the development of systemic and tissue inflammation due to the increase in pro-inflammatory markers. Objectives: This study aims to evaluate the effect of aerobic exercise and pistachio soft hull extract (PSHE) on inflammatory gene expression in the soleus muscle of rats fed a HFD. Methods: In an experimental trial, 30 female Wistar rats weighing between 180 and 200 grams were selected as subjects and randomly divided into five groups: Normal diet control, HFD control, HFD aerobic exercise, HFD-PSHE, and HFD aerobic exercise-PSHE. The aerobic exercise program consisted of four weeks of five weekly sessions of running on a treadmill at an intensity of 50 – 60% VO2max. Pistachio soft hull extract at a dose of 60 mg/kg was administered to the rats by gavage for four weeks, five times a week. Forty-eight hours after the last interventions, the rats were anesthetized, and the soleus muscle was removed to determine the expression of the IL-6 and IL-1β genes. Results: Induction of HFD significantly decreased IL-6 (P = 0.001) and increased IL-1β (P = 0.001) gene expression. IL-1β gene expression in the aerobic exercise (P = 0.001), PSHE (P = 0.003), and aerobic exercise-PSHE (P = 0.001) groups was significantly lower than in the HFD control group. Aerobic exercise (P = 0.002), PSHE (P = 0.002), and the combination of aerobic exercise and PSHE (P = 0.003) caused a significant increase in IL-6 gene expression compared to the HFD control group. Conclusions: High-fat diet promotes inflammation in skeletal muscle by increasing the expression of the IL-1β and IL-6 genes. Aerobic exercise, PSHE, and the combination of aerobic exercise and PSHE can exert their anti-inflammatory effects by reducing the expression of the IL-1β and IL-6 genes in skeletal muscle tissue.