The increase in syphilis rates worldwide necessitates development of a vaccine with global efficacy. Weaimed to explore Treponema pallidum subspecies pallidum (TPA) molecular epidemiology essential for vaccine research by analysing clinical data and specimens from early syphilis patients using whole-genome sequencing (WGS) and publicly available WGS data. In this multicentre, cross-sectional, molecular epidemiology study, we enrolled patients with primary, secondary, or early latent syphilis from clinics in China, Colombia, Malawi, and the USA between Nov 28, 2019, and May 27, 2022. Participants aged 18years or older with laboratory confirmation of syphilis by direct detection methods or serological testing, or both, were included. Patients were excluded from enrolment if they were unwilling or unable to give informed consent, did not understand the study purpose or nature of their participation, or received antibiotics active against syphilis in the past 30days. TPA detection and WGS were conducted on lesion swabs, skin biopsies, skin scrapings, whole blood, or rabbit-passaged isolates. We compared our WGS data to publicly available genomes and analysed TPA populations to identify mutations associated with lineage and geography. We screened 2802patients and enrolled 233participants, of whom 77 (33%) had primary syphilis, 154 (66%) had secondary syphilis, and two (1%) had early latent syphilis. The median age of participants was 28years (IQR22-35); 154 (66%) participants were cisgender men, 77 (33%) were cisgender women, and two (1%) were transgender women. Of the cisgender men, 66 (43%) identified as gay, bisexual, or other sexuality. Among all participants, 56(24%) had HIV co-infection. WGS data from 113participants showed a predominance of SS14-lineage strains with geographical clustering. Phylogenomic analyses confirmed that Nichols-lineage strains were more genetically diverse than SS14-lineage strains and clustered into more distinct subclades. Differences in single nucleotide variants (SNVs) were evident by TPA lineage and geography. Mapping of highly differentiated SNVs to three-dimensional protein models showed population-specific substitutions, some in outer membrane proteins (OMPs) of interest. Our study substantiates the global diversity of TPA strains. Additional analyses to explore TPA OMP variability within strains is vital for vaccine development and understanding syphilis pathogenesis on a population level. US National Institutes of Health National Institute for Allergy and Infectious Disease, the Bill & Melinda Gates Foundation, Connecticut Children's, and the Czech Republic National Institute of Virology and Bacteriology.