The current study tested the hypothesis that drug withdrawal contributes to the addiction cycle in part because of an action on memory consolidation. Hence, four experiments in male Sprague–Dawley rats compared the effects of precipitated morphine withdrawal and conditioned morphine withdrawal on the consolidation of object memory and on activation of c‐Fos in the central nucleus of the amygdala (CeA). It was found that immediate, but not 6 h delayed, post sample administration of 3 mg/kg of naltrexone significantly enhanced object memory in rats maintained, or previously maintained, on 10 mg/kg/day of morphine via osmotic minipumps. To establish whether conditioned withdrawal could also alter object memory, a contextual conditioning procedure was employed whereby morphine‐maintained (10 mg/kg/day) animals received naltrexone (3 mg/kg) in a distinctive context (CS+) and vehicle in a separate context (CS−) for 10 days. During conditioning in the CS+, naltrexone suppressed locomotor activity, caused a rapid body weight loss and increased frequency of wet dog shakes. Interestingly, confinement to this CS+ immediately, but not 6 h, after the sample phase, also enhanced object memory. Finally, posttraining naltrexone and exposure to the CS+ both induced significant expression of c‐Fos in the CeA. Therefore, this study reports for the first time that both acute precipitated withdrawal and conditioned withdrawal can facilitate memory consolidation, possibly through a common neural pathway that involves the central amygdala.