Mature Pseudomonas aeruginosa biofilms undergo specific developmental events. Using a bacteriophage mutant, generated by deletion of the entire filamentous Pf4 prophage, we show that the phage is essential for several stages of the biofilm life cycle and that it significantly contributes to the virulence of P. aeruginosa in vivo. Here, we show for the first time that biofilms of the Pf4 phage-deficient mutant did not develop hollow centres or undergo cell death, typical of the differentiation process of wild-type (WT) P. aeruginosa PAO1 biofilms. Furthermore, microcolonies of the Pf4 mutant were significantly smaller in size and less stable compared with the WT biofilm. Small colony variants (SCVs) were detectable in the dispersal population of the WT biofilm at the time of dispersal and cell death, whereas no SCVs were detected in the effluent of the Pf4 mutant biofilm. This study shows that at the time when cell death occurs in biofilms of the WT, the Pf4 phage converts into a superinfective form, which correlates with the appearance of variants in the dispersal population. Unexpectedly, mice infected with the Pf4 mutant survived significantly longer than those infected with its isogenic WT strain, showing that Pf4 contributes to the virulence of P. aeruginosa. Hence, a filamentous prophage is a major contributor to the life cycle and adaptive behaviour of P. aeruginosa and offers an explanation for the prevalence of phage in this organism.