Different types of Drosophila dopaminergic neurons (DANs) reinforce memories of unique valence and provide state-dependent motivational control [1]. Prior studies suggest that the compartment architecture of the mushroom body (MB) is the relevant resolution for distinct DAN functions [2, 3]. Here we used a recent electron microscope volume of the fly brain [4] to reconstruct the fine anatomy of individual DANs within three MB compartments. We find the 20 DANs of the gamma 5 compartment, at least some of which provide reward teaching signals, can be clustered into 5 anatomical subtypes that innervate different regions within gamma 5. Reconstructing 821 upstream neurons reveals input selectivity, supporting the functional relevance of DAN sub-classification. Only one PAM-gamma 5 DAN subtype gamma 5(fb) receives direct recurrent feedback from gamma 5 beta'2a mushroom body output neurons (MBONs) and behavioral experiments distinguish a role for these DANs in memory revaluation from those reinforcing sugar memory. Other DAN subtypes receive major, and potentially reinforcing, inputs from putative gustatory intemeurons or lateral horn neurons, which can also relay indirect feedback from MBONs. We similarly reconstructed the single aversively reinforcing PPL1-gamma 1 pedc DAN. The gamma 1pedc DAN inputs mostly differ from those of gamma 5 DANs and they cluster onto distinct dendritic branches, presumably separating its established roles in aversive reinforcement and appetitive motivation [5, 6]. Tracing also identified neurons that provide broad input to gamma 5, beta'2a, and gamma 1pedc DANs, suggesting that distributed DAN populations can be coordinately regulated. These connectomic and behavioral analyses therefore reveal further complexity of dopaminergic reinforcement circuits between and within MB compartments