The body’s immune cells fight off microbes and other invaders, and can also be reprogrammed or ‘trained’ to respond even more aggressively to such threats, report scientists who have discovered the fundamental rule underlying this process in a particular class of cells. Their findings could help pave the way for targeted strategies to enhance the immune system.