The capsule biosynthesis locus of Haemophilus influenzae shows conspicuous similarity to the corresponding locus in Haemophilus sputorum and may have been recruited from this species by horizontal gene transfer.