Neisseria gonorrhoeae (Gc) pili undergo antigenic variation when the amino acid sequence of the pilin protein is changed, aiding in immune avoidance and altering pilus expression. Pilin antigenic variation occurs by RecA-dependent unidirectional transfer of DNA sequences from a silent pilin locus to the expressed pilin gene through high-frequency recombination events that occur at limited regions of homology. We show that the Gc recQ and recO genes are essential for pilin antigenic and phase variation and DNA repair but are not involved in natural DNA transformation. This suggests that a RecF-like pathway of recombination exists in Gc. In addition, mutations in the Gc recB, recC or recD genes revealed that a Gc RecBCD pathway also exists and is involved in DNA transformation and DNA repair but not in pilin antigenic variation.