Dysregulated motivation to consume psychoactive substances leads to addictive behaviors that often result in serious health consequences. Understanding the neuronal mechanisms that drive drug consumption is crucial for developing new therapeutic strategies. The fruit fly Drosophila melanogaster offers a unique opportunity to approach this problem with a battery of sophisticated neurogenetic tools available, but how they consume these drugs remains largely unknown. Here, we examined drug self-administration behavior of Drosophila and the underlying neuronal mechanisms. We measured the preference of flies for five different psychoactive substances using a two-choice feeding assay and monitored its long-term changes. We found that flies show acute preference for ethanol and methamphetamine, but not for cocaine, caffeine or morphine. Repeated intake of ethanol, but not methamphetamine, increased over time. Preference for methamphetamine and the long-term escalation of ethanol preference required the dopamine receptor Dop1R1 in the mushroom body. The protein level of Dop1R1 increased after repeated intake of ethanol, but not methamphetamine, which correlates with the acquired preference. Genetic overexpression of Dop1R1 enhanced ethanol preference. These results reveal a striking diversity of response to individual drugs in the fly and the role of dopamine signaling and its plastic changes in controlling voluntary intake of drugs.