Animals acquire predictive values of sensory stimuli through reinforcement. In the brain of Drosophila melanogaster, activation of two types of dopamine neurons in the PAM and PPL1 clusters has been shown to induce aversive odor memory. Here, we identified the third cell type and characterized aversive memories induced by these dopamine neurons. These three dopamine pathways all project to the mushroom body but terminate in the spatially segregated subdomains. To understand the functional difference of these dopamine pathways in electric shock reinforcement, we blocked each one of them during memory acquisition. We found that all three pathways partially contribute to electric shock memory. Notably, the memories mediated by these neurons differed in temporal stability. Furthermore, combinatorial activation of two of these pathways revealed significant interaction of individual memory components rather than their simple summation. These results cast light on a cellular mechanism by which a noxious event induces different dopamine signals to a single brain structure to synthesize an aversive memory.