To elucidate the functional mechanisms and immunomodulatory roles of the six exercise-related signature genes (CALM3, CCL2, CD44, CLIC1, JUN, VCAM1) in cocaine addiction, gene set enrichment analysis (GSEA) and immune cell infiltration correlation analysis were performed. The gene discussed is JUN; the disease is cocaine dependence.