Starting with a study of how mutations affect sensitivity to 10 molecularly targeted drugs, researchers have laid the foundations for a prospective, systematic approach to understanding the genetic mechanisms behind cancer drug resistance. These insights will inform the development of drugs that avoid resistance emerging. For existing drugs, it will be possible to better tailor treatment and to identify second-line therapies for patients whose tumors become resistant.