Parasites cause harm to their hosts and represent pervasive causal agents of natural selection. Understanding host proximate responses during interactions with parasites can help predict which genes and molecular pathways are targets of this selection. In the current study, we examined transcriptional changes arising from interactions between Drosophila melanogaster and their naturally occurring ectoparasitic mite, Gamasodes queenslandicus. Shifts in host transcript levels associated with behavioural avoidance revealed the involvement of genes underlying nutrient metabolism. These genetic responses were reflected in altered body lipid and glycogen levels in the flies. Mite infestation triggered a striking immune response, while male accessory gland protein transcript levels were simultaneously reduced, suggesting a trade-off between host immune responses to parasite challenge and reproduction. Comparison of transcriptional analyses during mite infestation to those during nematode and parasitoid attack identified host genes similarly expressed in flies during these interactions. Validation of the involvement of specific genes with RNA interference lines revealed candidates that may directly mediate fly–ectoparasite interactions. Our physiological and molecular characterization of the Drosophila–Gamasodes interface reveals new proximate mechanisms underlying host–parasite interactions, specifically host transcriptional shifts associated with behavioural avoidance and infestation. The results identify potential general mechanisms underlying host resistance and evolutionarily relevant trade-offs.