Despite impressive results in restoring physical performance in rodent models, treatment with renin–angiotensin system (RAS) inhibitors, such as Lisinopril, have highly mixed results in humans, likely, in part, due to genetic variation in human populations. To date, the genetic determinants of responses to drugs, such as RAS inhibitors, remain unknown. Given the complexity of the relationship between physical traits and genetic background, genomic studies which predict genotype- and age-specific responses to drug treatments in humans or vertebrate animals are difficult. Here, using 126 genetically distinct lines of Drosophila melanogaster, we tested the effects of Lisinopril on age-specific climbing speed and endurance. Our data show that functional response and sensitivity to Lisinopril treatment ranges from significant protection against physical decline to increased weakness depending on genotype and age. Furthermore, genome-wide analyses led to identification of evolutionarily conserved genes in the WNT signaling pathway as being significantly associated with variations in physical performance traits and sensitivity to Lisinopril treatment. Genetic knockdown of genes in the WNT signaling pathway, Axin, frizzled, nemo, and wingless, diminished or abolished the effects of Lisinopril treatment on climbing speed traits. Our results implicate these genes as contributors to the genotype- and age-specific effects of Lisinopril treatment and because they have orthologs in humans, they are potential therapeutic targets for improvement of resiliency. Our approach should be widely applicable for identifying genomic variants that predict age- and sex-dependent responses to any type of pharmaceutical treatment.