The four key genes were mainly enriched in the TNF signaling pathway, cocaine addiction, amphetamine addiction, IL-17 signaling pathway, MAPK signaling pathway, and Toll-like receptor signaling pathway. This evidence concerns the gene TNF and cocaine dependence.