Anhedonia, the reduced ability to experience pleasure in response to otherwise rewarding stimuli, is a core symptom of major depressive disorder (MDD). Although the posterior ventromedial prefrontal cortex (pVMPFC) and its functional connections have been consistently implicated in MDD, their roles in anhedonia remain poorly understood. Furthermore, it is unknown whether anhedonia is primarily associated with intrinsic 'resting-state' pVMPFC functional connectivity or an inability to modulate connectivity in a context-specific manner. To address these gaps, a pVMPFC region of interest was first identified using activation likelihood estimation meta-analysis. pVMPFC connectivity was then examined in relation to anhedonia and general distress symptoms of depression, using both resting-state and task-based functional magnetic resonance imaging involving pleasant music, in current MDD and healthy control groups. In MDD, pVMPFC connectivity was negatively correlated with anhedonia but not general distress during music listening in key reward- and emotion-processing regions, including nucleus accumbens, ventral tegmental area/substantia nigra, orbitofrontal cortex and insula, as well as fronto-temporal regions involved in tracking complex sound sequences, including middle temporal gyrus and inferior frontal gyrus. No such dissociations were observed in the healthy controls, and resting-state pVMPFC connectivity did not dissociate anhedonia from general distress in either group. Our findings demonstrate that anhedonia in MDD is associated with context-specific deficits in pVMPFC connectivity with the mesolimbic reward system when encountering pleasurable stimuli, rather than a static deficit in intrinsic resting-state connectivity. Critically, identification of functional circuits associated with anhedonia better characterizes MDD heterogeneity and may help track of one of its core symptoms.