Introduction.Mycoplasma genitalium is a sexually transmitted bacterium associated with non-gonococcal urethritis (NGU) in men. The rising macrolide and fluoroquinolone resistance in M. genitalium has become a public health concern, requiring close surveillance.Gap statement.MgpB/MG309 typing is commonly used to study genotype distribution and resistance patterns of M. genitalium in men who have sex with men (MSM); however, data for men who have sex with women (MSW) are limited.Aim. The aim of this study was to explore the epidemiology of M. genitalium based on mgpB/MG309 molecular typing in isolates from men diagnosed with NGU, comparing MSM and MSW. Additionally, antibiotic resistance was evaluated to assess associations between the mgpB/MG309 genotypes, antimicrobial resistance profiles, and epidemiological determinants.Methodology. A subset of previously collected M. genitalium isolates from men diagnosed with NGU in Amsterdam, the Netherlands, between May 2018 and November 2019 was analysed. Molecular typing was performed by sequencing relevant regions of the mgpB and MG309 loci. Macrolide resistance was assessed by detecting mutations in the 23S rRNA gene via quantitative polymerase chain reaction, while fluoroquinolone resistance was determined through sequencing parC and gyrA.Results. A total of 62 M. genitalium samples were analysed from 33 MSM and 29 MSW. The overall macrolide and fluoroquinolone resistance was 75.8% and 24.2 %, respectively. At the mgpB locus, 24 sequence types (STs) were identified, with ST4 most prevalent in MSM and ST2 in MSW. The MG309 locus revealed 12 distinct short tandem repeat numbers, with repeat 10 being most common in both groups. Phylogenetic analysis based on mgpB sequences revealed two clusters: cluster A included significantly more MSW, whereas cluster B predominantly comprised MSM (P<0.001). Macrolide and fluoroquinolone resistance was significantly higher in cluster B compared with cluster A (P<0.01 and P<0.05, respectively).Conclusion. Molecular typing of M. genitalium revealed two clusters that differed by sexual preference and antibiotic resistance, highlighting the importance of surveillance of resistance across genotypes. The findings suggest multiclonal spread of resistance through independent mutations. Future studies using next-generation sequencing are needed to further explore the links between sexual transmission and genetic diversity in M. genitalium.