The cAMP cascade is increasingly recognized to transduce physiological effects locally through spatially limited cAMP gradients. However, little is known about how adenylyl cyclase enzymes that initiate cAMP gradients are localized. Here we address this question in physiologically relevant striatal neurons and investigate how AC localization impacts downstream signaling function. We show that the major striatal AC isoforms are differentially sorted between ciliary and extraciliary domains of the plasma membrane, and that one isoform, AC9, is uniquely concentrated in endosomes. We identify key sorting determinants in the N-terminal cytoplasmic domain responsible for isoform-specific localization. We further show that AC9-containing endosomes accumulate activated dopamine receptors and form an elaborately intertwined network with juxtanuclear PKA stores bound to Golgi membranes. Finally, we provide evidence that endosomal localization enables AC9 to selectively elevate PKA activity in the nucleus relative to the cytoplasm. Together, these results reveal a precise spatial landscape of the cAMP cascade in neurons and a key role of AC localization in directing downstream PKA signaling to the nucleus.