Background: Transgender and gender diverse (TGD) individuals experience an incongruence between their assigned birth sex and gender identity. They may have a higher prevalence of health conditions associated with cancer risk than cisgender people. Aim: To examine the prevalence of several cancer risk factors among TGD individuals compared to cisgender individuals. Design and Setting: We conducted a cross-sectional analysis using the United Kingdom’s Clinical Practice Research Datalink to identify TGD individuals between 1988-2020, matched to 20 cisgender men and 20 cisgender women on date of gender incongruence diagnosis, age, and practice. Assigned birth sex was determined from gender-affirming care and sex-specific diagnoses documented in the medical record. Methods: We calculated the prevalence of each cancer risk factor by gender identity and estimated prevalence ratios (PRs) using log-binomial or Poisson regression models adjusted for age and year at study entry, and obesity where appropriate. Results: There were 3,474 transfeminine (assigned male at birth) individuals, 3,591 transmasculine (assigned female at birth) individuals, 140,983 cisgender men, and 141,060 cisgender women. Transmasculine people had the highest prevalence of obesity (27.5%) and ever smoking (60.2%). Transfeminine people had the highest prevalence of dyslipidemia (15.1%), diabetes (5.4%), HCV infection (0.7%), HBV infection (0.4%), and HIV infection (0.8%). These prevalence estimates remained elevated in the TGD populations compared to cisgender persons in the multivariable models. Conclusion: Multiple cancer risk factors are more prevalent among TGD individuals compared to cisgender individuals. Future research should examine how minority stress contributes to these health conditions in the TGD population.