Using a novel model of bark beetle biology and host tree interactions, we assessed how contemporary warming affected western pine beetle populations and mortality of its host, ponderosa pine, during an extreme drought in the Sierra Nevada, California.