c-di-GMP is a ubiquitous second messenger that is used by most bacteria to switch between a planktonic and a biofilm-related lifestyle. Here, Schirmer and Jenal review the most recent structural and functional data on GGDEF-, EAL- and PLZ domain-containing proteins, the key components of the c-di-GMP signalling network.