In conclusion, exercise can improve depression by inhibiting inflammatory factors (e.g., TNF-α, IL-6, and IL-18) and promoting anti-inflammatory factor TGF-β1, inhibiting the inflammatory response. This evidence concerns the gene IL18 and major depressive disorder.