Opioid dependence is accompanied by neuroplastic changes in reward circuitry leading to a negative affective state contributing to addictive behaviors and risk of relapse. The current study presents a neuroimmune mechanism through which chronic opioids disrupt the ventral tegmental area (VTA) dopaminergic circuitry that contributes to impaired reward behavior. Opioid dependence was induced in rodents by treatment with escalating doses of morphine. Microglial activation was observed in the VTA following spontaneous withdrawal from chronic morphine treatment. Opioid-induced microglial activation resulted in an increase in brain-derived neurotrophic factor (BDNF) expression and a reduction in the expression and function of the K(+)Cl(-) co-transporter KCC2 within VTA GABAergic neurons. Inhibition of microglial activation or interfering with BDNF signaling prevented the loss of Cl(-) extrusion capacity and restored the rewarding effects of cocaine in opioid-dependent animals. Consistent with a microglial-derived BDNF-induced disruption of reward, intra-VTA injection of BDNF or a KCC2 inhibitor resulted in a loss of cocaine-induced place preference in opioid-naïve animals. The loss of the extracellular Cl(-) gradient undermines GABAA-mediated inhibition, and represents a mechanism by which chronic opioid treatments can result in blunted reward circuitry. This study directly implicates microglial-derived BDNF as a negative regulator of reward in opioid-dependent states, identifying new therapeutic targets for opiate addictive behaviors.