In conclusion, our study had shed light on that gene polymorphisms as suggestive risk predictors and expression levels of IDO1 were involved in depression occurring during the acute stage of stroke and the TNF-α rs361525 polymorphism was associated with serum IDO1 levels. The gene discussed is TNF; the disease is depressive symptom measurement.