OPRM1 and opiate dependence: By mapping gene expression changes within the anatomical context of the mouse brain following opioid dependence, our integrative spatial transcriptomic analysis uncovers a fundamentally new understanding of how the Oprm1 A118G variant shapes the brain’s molecular response to chronic opioids.