Virulence of the black rot pathogen Xanthomonas campestris pv. campestris (Xcc) is regulated by cell–cell signalling involving the diffusible signal factor DSF. Synthesis and perception of DSF require products of genes within the rpf cluster (for regulation of pathogenicity factors). RpfF directs DSF synthesis whereas RpfC and RpfG are involved in DSF perception. Here we have examined the role of the rpf/DSF system in biofilm formation in minimal medium using confocal laser-scanning microscopy of GFP-labelled bacteria. Wild-type Xcc formed microcolonies that developed into a structured biofilm. In contrast, an rpfF mutant (DSF-minus) and an rpfC mutant (DSF overproducer) formed only unstructured arrangements of bacteria. A gumB mutant, defective in xanthan biosynthesis, was also unable to develop the typical wild-type biofilm. Mixed cultures of gumB and rpfF mutants formed a typical biofilm in vitro. In contrast, in mixed cultures the rpfC mutant prevented the formation of the structured biofilm by the wild-type and did not restore wild-type biofilm phenotypes to gumB or rpfF mutants. These effects on structured biofilm formation were correlated with growth and disease development by Xcc strains in Nicotiana benthamiana leaves. These findings suggest that DSF signalling is finely balanced during both biofilm formation and virulence