Cyclic di-(3′:5′)-guanosine monophosphate (c-di-GMP) is a major prokaryote signalling intermediate that is synthesized by diguanylate cyclases and triggers sessility and biofilm formation. We detected the first eukaryote diguanylate cyclases in all major groups of Dictyostelia. On food depletion, Dictyostelium discoideum amoebas collect into aggregates, which first transform into migrating slugs and then into sessile fruiting structures. These structures consist of a spherical spore mass that is supported by a column of stalk cells and a basal disk. A polyketide, DIF-1, which induces stalk-like cells in vitro, was isolated earlier. However, its role in vivo proved recently to be restricted to basal disk formation. Here we show that the Dictyostelium diguanylate cyclase, DgcA, produces c-di-GMP as the morphogen responsible for stalk cell differentiation. Dictyostelium discoideum DgcA synthesized c-di-GMP in a GTP-dependent manner and was expressed at the slug tip, which is the site of stalk cell differentiation. Disruption of the DgcA gene blocked the transition from slug migration to fructification and the expression of stalk genes. Fructification and stalk formation were restored by exposing DgcA-null slugs to wild-type secretion products or to c-di-GMP. Moreover, c-di-GMP, but not cyclic di-(3′:5′)-adenosine monophosphate, induced stalk gene expression in dilute cell monolayers. Apart from identifying the long-elusive stalk-inducing morphogen, our work also identifies a role for c-di-GMP in eukaryotes.