The role of somatostatin interneurons in nucleus accumbens (NAc), a key brain reward region, remains poorly understood due to the fact that these cells account for < 1% of NAc neurons. Here, we use optogenetics, electrophysiology, and RNA-sequencing to characterize the transcriptome and functioning of NAc somatostatin interneurons after repeated exposure to cocaine. We find that the activity of somatostatin interneurons regulates behavioral responses to cocaine, with repeated cocaine reducing the excitability of these neurons. Repeated cocaine also induces transcriptome-wide changes in gene expression within NAc somatostatin interneurons. We identify the JUND transcription factor as a key regulator of cocaine action and confirmed, by use of viral-mediated gene transfer, that JUND activity in somatostatin interneurons influences behavioral responses to cocaine. Our results identify alterations in NAc induced by cocaine in a sparse population of somatostatin interneurons, and illustrate the value of studying brain diseases using cell type-specific whole transcriptome RNA-sequencing.