Our study firstly revealed a significant mediating effect of TNF-α between E-DII and DepS, extending new evidence that inflammation mediates the relationship between diet and depression. The gene discussed is TNF; the disease is major depressive disorder.