T lymphocytes expressing the T cell receptor (TCR)-gammadelta recognize unknown antigens on tumor cells. Here we identify metabolites of the mevalonate pathway as the tumor ligands that activate TCR-gammadelta cells. In tumor cells, blockade of hydroxy-methylglutaryl-CoA reductase (HMGR), the rate limiting enzyme of the mevalonate pathway, prevents both accumulation of mevalonate metabolites and recognition by TCR-gammadelta cells. When metabolite accumulation is induced by overexpressing HMGR or by treatment with nitrogen-containing bisphosphonate drugs, tumor cells derived from many tissues acquire the capacity to stimulate the same TCR-gammadelta population. Accumulation of mevalonate metabolites in tumor cells is a powerful danger signal that activates the immune response and may represent a novel target of tumor immunotherapy.