The widespread second messenger molecule cyclic di-GMP (cdG) regulates the transition from motile and virulent lifestyles to sessile, biofilm-forming ones in a wide range of bacteria.