Repeated cocaine exposure produces an enhanced locomotor response (sensitization) paralleled by biological adaptations in the brain. Previous studies demonstrated region-specific responsivity of adenosine monophosphate-activated protein kinase (AMPK) to repeated cocaine exposure. AMPK maintains cellular energy homeostasis at the organismal and cellular levels. Here, our objective was to quantify changes in phosphorylated (active) and total AMPK in the cytosol and synaptosome of the medial prefrontal cortex, nucleus accumbens, and dorsal striatum following acute or sensitizing cocaine injections. Brain region and cellular compartment selective changes in AMPK and pAMPK were found with some differences associated with acute withdrawal versus ongoing cocaine treatment. Our additional goal was to determine the behavioral and molecular effects of pretreatment with the indirect AMPK activator metformin. Metformin potentiated the locomotor activating effects of acute cocaine but blocked the development of sensitization. Sex differences largely obscured any protein-level treatment group effects, although pAMPK in the NAc shell cytosol was surprisingly reduced by metformin in rats receiving repeated cocaine. The rationale for these studies was to inform our understanding of AMPK activation dynamics in subcellular compartments and provide additional support for repurposing metformin for treating cocaine use disorder.