Fruit flies infected with a blood-borne parasite consume alcohol to self-medicate, a behavior that greatly increases their survival rate.