Negative reinforcement models postulate that addicts use drugs to alleviate negative affective states (e.g. dysphoria) associated with withdrawal. In a pre-clinical model, rats exhibit negative affect to a normally rewarding tastant when it predicts impending, but delayed cocaine, and nucleus accumbens (NAc) neurons dynamically track this state. Here, we examined the effects of short versus prolonged experimenter-imposed cocaine abstinence on negative affect, cocaine seeking and self-administration. Rats were given 14 saccharin-cocaine sessions; NAc activity and affective responses to the taste (i.e. taste reactivity) were measured during sessions 1 and 14. Next, following 1 or 30days of abstinence, taste reactivity and cell firing were recorded in a three-phase test session: (1) intraoral saccharin infusions, (2) extinction and (3) cocaine self-administration. Results showed that 30days of abstinence led to a significant enhancement of aversive responses to the cocaine-paired tastant, accompanied by a dramatic decline in NAc phasic activity during tastant infusion. While extinction behavior did not differ across groups, NAc phasic firing reemerged during drug seeking. Further, when drug was again readily available, greater aversion to the drug-paired tastant before and after abstinence was associated with increased self-administration following prolonged (30-day) abstinence in rats classified as high (not low) aversive. Collectively, these findings show that drug-induced dysphoria is enhanced following prolonged cocaine abstinence and that NAc neural signaling is dynamic, dampening when negative affect is at its highest (phase 1), but transitioning back 'online' during subsequent drug seeking and taking (phases 2 and 3).