A gene signature in the bloodstream can reveal whether someone is going to develop active tuberculosis (TB) disease months before symptoms begin. This offers the prospect of intervening before individuals pose a risk of transmitting the infection to others.