The two pathogenic species of Neisseria, N. meningitidis and N. gonorrhoeae, have evolved resistance to penicillin by alterations in chromosomal genes encoding the high molecular weight penicillin-binding proteins, or PBPs. The PBP 2 gene (penA) has been sequenced from over 20 Neisseria isolates, including susceptible and resistant strains of the two pathogenic species, and five human commensal species. The genes from penicillin-susceptible strains of N. meningitidis and N. gonorrhoeae are very uniform, whereas those from penicillin-resistant strains consist of a mosaic of regions resembling those in susceptible strains of the same species, interspersed with regions resembling those in one, or in some cases, two of the commensal species. The mosaic structure is interpreted as having arisen from the horizontal transfer, by genetic transformation, of blocks of DNA, usually of a few hundred base pairs. The commensal species identified as donors in these interspecies recombinational events (N. flavescens and N. cinerea) are intrinsically more resistant to penicillin than typical isolates of the pathogenic species. Transformation has apparently provided N. meningitidis and N. gonorrhoeae with a mechanism by which they can obtain increased resistance to penicillin by replacing their penA genes (or the relevant parts of them) with the penA genes of related species that fortuitously produce forms of PBP 2 that are less susceptible to inhibition by the antibiotic. The ends of the diverged blocks of DNA in the penA genes of different penicillin-resistant strains are located at the same position more often than would be the case if they represent independent crossovers at random points along the gene. Some of these common crossover points may represent common ancestry, but reasons are given for thinking that some may represent independent events occurring at recombinational hotspots.