BetaEntity Annotation Prototype
← Back to search results

Annotated full text

Testicular cancer incidence and associations with prior epididymo-orchitis or urinary tract infections: a national cohort study in Sweden, 1964–2018

bmjonc · 2026-04-29 · canonical JSON source

263 visible annotations · policy: published · automated confidence ≥ 75.00%

Document resource

WHAT IS ALREADY KNOWN ON THIS TOPIC Epididymo-orchitis and urinary tract infections (UTI) may precede testicular cancer (TC) diagnosis, but potential associations in large population-based studies have not been examined.WHAT THIS STUDY ADDS In this Swedish nationwide study, we found that epididymo-orchitis and UTI may precede TC diagnosis.The associations between epididymo-orchitis and TC were strong and persisted for several years after the infection, whereas the association between UTI and TC was weaker and no association was observed between cystitis and TC.Approximately 0.45% of men with epididymo-orchitis and 0.04% of men with UTI were diagnosed with TC in the same or subsequent calendar years.HOW THIS STUDY MIGHT AFFECT RESEARCH, PRACTICE OR POLICY The findings may be useful information in clinical practice and could provide a foundation for further clinical research.Background Testicular cancer (TC) is the leading cancer in young men aged 15–40 years, especially those of European origin, with increasing incidence rates worldwide. 1–5 Incidence rates start to rise in late adolescence, spike at around 30 years of age and then rapidly decline.6 TCs are predominantly germ cell tumours (seminomas and non-seminomas), which account for 90%–95% of all cases, with non-seminomas dominating in young ages and seminomas in older ages.3–5 7 Early diagnosis is crucial, as TC is highly curable at an early stage by radical orchiectomy,4 7 and delayed diagnosis correlates with poorer survival.8 High awareness of TC symptoms and misdiagnosis-prone conditions, as well as knowledge of potential clinical markers and risk factors for TC, is therefore important.Possible risk factors for TC include cryptorchidism, genetic factors, familial TC, maternal smoking, certain occupations and viral infections.4 9–13 Earlier studies also found that sexually transmitted infections and childhood mumps orchitis were associated with TC,11 12 14 although more recent findings have been inconsistent.15 In clinical practice, the classical presentation of TC is a painless testicular lump, scrotal swelling and enlargement.4 16 However, some men may present with other symptoms and/or be diagnosed or misdiagnosed with other conditions, such as infections, before TC diagnosis, which may delay detection.7 16–19 For example, undiagnosed TC may present with acute scrotal pain, swelling and enlargement (eg, due to intratumoral haemorrhage or infarction), clinically mimicking epididymo-orchitis and resulting in misdiagnosis.16 18 19 A case–control study also found that testicular or groin pain strongly predicted TC and that 11% of men who visited primary healthcare in the year before TC diagnosis were diagnosed with epididymo-orchitis16—an association consistent with a prior study showing a strong link between TC and preceding epididymo-orchitis.20Epididymo-orchitis is a common inflammatory disease of the epididymis and testis,17 21 often occurring at the same age as TC incidence peaks.6 Although isolated orchitis can occur due to a viral infection (eg, mumps orchitis), it more commonly occurs with concurrent epididymitis (epididymo-orchitis). The typical clinical presentation is a gradual onset of unilateral scrotal pain, enlargement and swelling (overlapping with TC symptoms), often accompanied by symptoms of urinary tract infection (UTI).17 The condition is mainly caused by sexually transmitted infections or enteric bacteria, usually Enterobacteriaceae, that also cause UTI.2217 21 To our knowledge, no large-scale population-based study with long-term follow-up has examined the extent to which epididymo-orchitis or UTI may precede TC diagnosis. Prior research has primarily been case–control studies on isolated orchitis,15 and a recent review concluded that the available evidence for an association between epididymo-orchitis and TC is low.23 For UTI, only one previous study has investigated the potential link with TC, which likely was underpowered to detect any potential association.15Sweden is an ideal setting for addressing these gaps, due to its universal tax-financed healthcare system24 and comprehensive national registers with long-term coverage—including a national cancer register25 and population-based data derived from primary healthcare settings, where most infections are diagnosed. We have recently identified potential short- and long-term associations between UTI and prostate- and urinary tract cancers in men using these data.26 In this study, we aimed to examine potential associations between epididymo-orchitis or UTI and TC diagnosis during 1964–2018.Material and methods Design, setting and study population We conducted a nationwide, open-cohort study including 8 382 433 male individuals residing in Sweden during 1964–2018. Sweden has a universal tax-financed healthcare service with the goal of providing healthcare on equal terms for the entire population. 24 At birth or on immigration, all individuals residing in Sweden are assigned a unique 10-digit personal identification number.27 This number is used in all healthcare contacts and for the collection of data to national registers by the public authorities, thus enabling accurate linkage between public registries and medical data. For this study, data linkages were performed by using a pseudonymized version of this number.Data sources The Swedish National Cancer Register, which is managed by the Swedish National Board of Health and Welfare (in Swedish: Socialstyrelsen), is used for monitoring cancer incidence and survival rates in the country. 25 Approximately 60 000 unique cancer diagnoses have been reported to this register annually, given a date of clinical diagnosis and registered by diagnosis (topography) codes and tumour classification (histology and morphology) codes. To ensure consistency, these codes were transferred to the 7th edition International Classification of Diseases (ICD-7) codes and Pathological Anatomical Diagnosis (PAD) codes for the entire study period. The Swedish National Patient Register, which is managed by the Swedish National Board of Health and Welfare (in Swedish: Socialstyrelsen), includes inpatient and outpatient specialist care medical diagnoses.28 During the study period, diagnosis codes were collected according to the following ICDs: ICD-7 (1964–1968), ICD-8 (1969–1986), ICD-9 (1987–1996) and ICD-10 (1997–2018). Population-based primary healthcare data, which includes ICD-coded healthcare data from 20 out of 21 administrative healthcare regions in Sweden, was also used in the study.29 The population-based coverage of this data varied over time and region throughout the 29-year time period (1990–2018) the data were collected, covering around 90% of the Swedish population in 2018. The Total Population Register, which is managed by the Swedish governmental authority Statistics Sweden (SCB), includes data on the whole Swedish population, including death, emigration, immigration and sociodemographic factors.30 The Multi-Generation Register is managed by SCB and includes data on (biological) parental and sibling linkages in the Swedish population for individuals born 1932 and afterwards.31Testicular cancer The outcome was the primary TC incidence during the study period. The ICD-7 diagnosis code ‘178’ (malignant neoplasm of testis) was used to identify outcome event, collected from the Swedish Cancer Register ( online supplemental table S1). TCs with PAD code ‘066’ were classified as seminomas and ‘826’ as non-seminomas (including mixed cell types). Due to differences in age distribution (non-seminoma predominating at younger ages and seminoma at older ages) and temporal incidence trends (higher increase in non-seminomas than seminomas),3–5 7 we also analysed seminomas and non-seminomas separately. In these analyses, TCs with other PAD codes (2.6%) were included in the non-seminomas group. Secondary (metastatic) cancer to the testis or haematolymphoid neoplasms of the testis were not included.SP110.1136/bmjonc-2026-001078.supp1Supplementary dataEpididymo-orchitis and UTI The predictors were defined as epididymo-orchitis and UTI occurring in the same or preceding calendar years to any potential TC diagnosis. For epididymo-orchitis, the diagnosis codes ( online supplemental table S1) used were ICD-10 code ‘N45’ (orchitis and epididymitis), ICD-9 and ICD-8 code ‘604’ (orchitis and epididymitis) and ICD-7 code ‘614’ (orchitis and epididymitis). For UTI, the diagnostic codes used were: ICD-10 codes ‘N30’ (cystitis) and ‘N39’ (other disorders of urinary system, including ‘N39.0’, UTI, site not specified), ICD-9 and ICD-8 codes ‘595’ (cystitis) and ‘599’ (other disorders of urethra and urinary tract, including ‘599.0’, unspecified UTI), and ICD-7 codes ‘605’ (cystitis) and ‘609’ (other diseases of urinary system/urethra). While ICD-10 codes have been validated for UTI,32–34 the older ICD-codes for UTI and the codes for epididymo-orchitis have, to our knowledge, not. Nevertheless, all diagnosis codes for cystitis and epididymo-orchitis were more or less specific for these conditions, thus making it unlikely that the codes were used for other clinical conditions. However, the other codes used to identify UTI also include other diseases of the urinary system. Given that we only had access to category-level codes (eg, ICD-9 ‘599’) and not subcategory-level codes (eg, ICD-9 ‘599.0’) for most of the study period, we conducted a sensitivity analysis stratified by UTI diagnosis codes specific for cystitis and other codes (in this paper called: UTI, unspecified/site not specified).Diagnostic methods for TC, epididymo-orchitis and UTI (1964–2018) The gold standard for TC diagnosis is histopathological examination following orchidectomy. 35 PAD codes indicating histopathological verification were registered for more or less all TC cases identified in the National Cancer Register during the study period (online supplemental figure S2). TC evaluation in clinical practice evolved during the study period, initially based on symptoms and physical examinations, with the gradual implementation of complementary diagnostic tools such as scrotal ultrasound. The European Association of Urology included scrotal ultrasound in the 2001 TC guidelines,36 but it was probably used in clinical practice in Sweden before that. For example, adding ultrasound to improve physical examination was mentioned in a Scandinavian review on TC from 1985.37 Diagnostic methods for male UTI and epididymo-orchitis also evolved during the study period. Diagnosis has mainly been based on symptoms and physical examinations, with gradual addition of complementary tools such as urine dipstick and cultures, as well as scrotal ultrasound for differential diagnosis of acute scrotal pain.38 Urine cultures appeared to have been routinely used in Sweden from the 1970s and onward (including in primary healthcare from the 1980s)39 and scrotal ultrasound for differential diagnosis of acute scrotal pain was mentioned in a Swedish publication in 1994.40 To partly address the potential effect of these changes in diagnostic practice during the study period, which may have had geographical variability in implementation, we included time period and region of residence as covariates in the analyses.Covariates Covariates include the time period of TC diagnosis (1964–1973, 1974–1983, 1984–1993, 1994–2003, 2004–2013 and 2014–2018), sociodemographic factors and comorbidities. The sociodemographic factors included age at TC diagnosis (<20, 20–39, 40–59, 60–79 and ≥80 years of age); educational level (≤9, 10–12 and >12 years of formal education), defined as the highest level during the study period; region of residence (large cities (Malmö, Gothenburg and Stockholm), Southern and Northern Sweden); and country of origin (born in or outside of Sweden). 30 Family history of TC was defined as a TC diagnosis in first-degree male relative (brother or father). The comorbidities included diagnosis of alcoholism, cannabis use, chronic obstructive pulmonary disease (COPD) as a proxy for heavy tobacco smoking, diabetes mellitus, HIV infection (HIV) and obesity during the study period (online supplemental table S1). These covariates were included in the analyses as potential confounders. Sensitivity analyses stratified by age at TC diagnosis were also conducted.Statistical analysis Each male individual was followed from birth or immigration (starting on 1 January 1964) until the year of a first TC diagnosis, emigration, death or end of study period (31 December 2018), whichever came first. In those with epididymo-orchitis or UTI, each individual was followed from the year the infection (first event) was diagnosed (starting on 1 January 1964) until the year of a first TC diagnosis, emigration, death or end of study period, whichever came first. We calculated the total follow-up time in person-years, mean (SD) follow-up time and mean (SD) age at TC diagnosis. Incidence rates were calculated by combining data from the Total Population Register and Swedish Cancer Register. We calculated the distribution of the number of diagnoses and incidence rates (per 100 000 person-years) of TC in the total population during the study period. We also plotted TC incidence rates over the different time periods and in individuals with and without a preceding epididymo-orchitis or UTI by age at TC diagnosis. Standardised incidence ratios (SIRs) for TC were calculated to compare the observed TC incidence in individuals with epididymo-orchitis or UTI to the TC incidence in those without these infections, using indirect standardisation methods. 41 All calculations were standardised by age groups, time period groups and other covariates. We categorised time periods of TC diagnosis as diagnosis recorded within the same or subsequent calendar years to the epididymo-orchitis or UTI diagnosis. Subsequent calendar years were also subcategorised into 1–4 and ≥5 years of follow-up. For epididymo-orchitis, the association with TC was tested in three models: model 1, adjusted for age and time period; model 2, adjusted for age, time period, sociodemographic factors and family history of TC; and model 3, a full model, adjusted for all covariates. SIRs were also calculated for different age groups to examine whether the relationships varied by age. In addition, we conducted a sensitivity analysis stratified by type of UTI diagnosis. The 95% CIs of the SIRs were calculated assuming a Poisson distribution. All of the analyses were performed using SAS software V.9.4 (SAS Institute).Results The study population consisted of 8 382 433 male individuals, with a follow-up of 239 890 652 person-years and a mean (SD) follow-up of 27.93 years (±18.95; online supplemental table S3). A total of 11 903 individuals were diagnosed with TC, mainly seminomas (55%) and non-seminomas (42%) (online supplemental table S2), at a mean (SD) age of 36.9 (±13.5) years during the study period. Among these individuals, 522 (4.38%) had been diagnosed with epididymo-orchitis (n=400, 3.36%) or UTI (n=122, 1.02%) in the same or preceding calendar years (mean follow-up: 6.85 years, SD±8.31).TC incidence rates in Sweden between 1964 and 2018 Table 1 shows that the TC incidence rate per 100 000 person-years was 5.09 (95% CI 4.99 to 5.18) during the entire study period, 11.17 (95% CI 10.92 to 11.43) in those aged 20–39 years, and increased from 2.84 (95% CI 2.68 to 3.02) in 1964–1973 to 8.37 (95% CI 7.99 to 8.77) in 2014–2018 (visualised in figure 1).Table 1Number of testicular cancer diagnoses and testicular cancer rates between 1964 and 2018 in SwedenNumber of diagnosesRates per 100 000 person-yearsn%Rate95% CITotal population11 9035.094.995.18Age at diagnosis (years) <204473.760.750.680.82 20–39739962.1611.1710.9211.43 40–59320126.895.134.965.32 60–797506.301.741.621.87 ≥801060.891.281.061.55Time period of diagnosis (years) 1964–197310749.022.842.683.02 1974–1983143112.023.463.283.64 1984–1993198216.654.704.504.91 1994–2003242320.365.735.505.96 2004–2013321727.037.477.217.73 2014–2018177614.928.377.998.77Region of residence Large cities566047.555.315.175.45 Southern Sweden456538.354.924.785.06 Northern Sweden167814.104.774.555.01Educational level (years) ≤9311126.144.174.034.32 10–12264222.204.624.454.80 >12615051.675.965.816.11Country of origin Born in Sweden10 74890.305.325.225.42 Born outside of Sweden11559.703.623.423.84Alcoholism Diagnosis4924.134.083.734.45 No diagnosis11 41195.875.145.055.24Cannabis use Diagnosis410.346.965.129.45 No diagnosis11 86299.665.084.995.17COPD Diagnosis4784.024.774.365.21 No diagnosis11 42595.985.105.015.20Diabetes mellitus Diagnosis5034.234.003.664.36 No diagnosis11 40095.775.145.045.23HIV infection Diagnosis190.167.855.0112.31 No diagnosis11 88499.845.084.995.17Obesity Diagnosis1030.874.783.945.80 No diagnosis11 80099.135.095.005.18Family history of testicular cancer* Yes1981.6631.7027.5836.44 Non11 70598.345.014.925.10*Testicular cancer diagnosis in father or brother.COPD, chronic obstructive pulmonary disease.Figure 1Testicular cancer incidence rates in Sweden between 1964 and 2018, age-standardised to the world standard population.TC incidence rates in relation to epididymo-orchitis and UTI A total of 383 797 individuals were diagnosed with epididymo-orchitis (n=89 596) or UTIs (n=294 201) during the study period ( online supplemental table S3). Among these individuals, the mean (SD) age at TC diagnosis was 37.1 years (±13.6), and the overall TC incidence rate was 28.21 (95% CI 25.89 to 30.74) per 100 000 person-years, corresponding to a total of 522 (0.14%) cases in those with epididymo-orchitis (n=400, 0.45%) or UTI (n=122, 0.04%). Figure 2 shows that the TC incidence rates appear to be higher among men with infections than those without until ≥75 years of age. The incidence rates were particularly high among men aged 25–39 years at TC diagnosis; peaking in those aged 30–34 years—in whom the rate was 83.2 and 12.9 cases per 100 000 person-years in those with and without epididymo-orchitis or UTI, respectively.Figure 2Testicular cancer incidence rates in the total Swedish male population (grey line) and in those with epididymo-orchitis or urinary tract infections (black line), 1964–2018, stratified by age at cancer diagnosis.Associations between epididymo-orchitis and TC Table 2 shows that the associations between epididymo-orchitis and TC were consistent across the three models, with slight attenuations after adjustments. In model 1, the overall SIRs for TC associated with epididymo-orchitis compared with no infection were 6.57 (95% CI 5.94 to 7.25) for all TC, 6.13 for seminomas and 7.21 for non-seminomas. In model 3 (full model), the corresponding SIRs were 6.34 for all TC, 5.97 for seminomas and 6.88 for non-seminomas. For TC diagnosed in the same calendar year as epididymo-orchitis, the SIRs were exceptionally high, with SIRs of 85.97 for all TC, 80.54 for seminomas and 92.67 for non-seminomas in the full model. For TC diagnosed in subsequent calendar years to epididymo-orchitis, the associations decreased but remained significant, with an SIR of 1.86 (95% CI 1.53 to 2.24) for all TC in the full model. In the analysis stratified by follow-up time, the SIRs were 2.97 (95% CI 2.29 to 3.79) for all TC, 3.24 (95% CI 2.31 to 4.42) for seminomas and 2.62 (95% CI 1.69 to 3.87) for non-seminomas diagnosed 1–4 calendar years after epididymo-orchitis. Beyond this period, we were not able to detect any increased risk of TC following epididymo-orchitis.Table 2Standardised incidence ratios for testicular cancer diagnosis in men with epididymo-orchitis, by time period in relation to epididymo-orchitis diagnosis (1964–2018, Sweden)Time period (calendar years)OModel 1Model 2Model 3SIR95% CISIR95% CISIR95% CISeminomas The same year15081.8769.2596.1380.5468.1394.5880.5468.1394.58 Subsequent years722.101.652.652.031.592.562.051.602.58  1–4 years403.292.354.493.222.304.393.242.314.42  ≥5 years321.450.992.051.390.951.971.400.961.98 All2226.135.357.005.935.186.775.975.216.81Non-seminomas The same year13993.9278.95110.9192.6777.90109.4392.6777.90109.43 Subsequent years391.681.192.301.621.152.221.601.142.19  1–4 years252.691.743.972.631.703.882.621.693.87  ≥5 years141.010.551.690.960.531.620.940.511.59 All1787.216.198.356.975.998.086.885.907.96All testicular cancers The same year28987.2777.4897.9685.9776.3396.5085.9776.3396.50 Subsequent years1111.931.592.331.871.542.251.861.532.24  1–4 years653.032.343.872.962.293.782.972.293.79  ≥5 years461.280.941.711.230.901.641.220.891.63 All4006.575.947.256.365.757.016.345.737.00International Classification of Diseases (ICD) diagnosis codes for epididymo-orchitis: N45 (ICD-10), 604 (ICD-8, ICD-9) and 614 (ICD-7). ICD diagnosis code for testicular cancer: 178 (ICD-7). Model 1: adjusted for age and period; model 2: adjusted for age, period and sociodemographic factors (educational level, region of residence, country of origin) and family history of testicular cancer; model 3: adjusted age, period, sociodemographic factors, family history of testicular cancer and comorbidities (alcoholism, cannabis use, chronic obstructive pulmonary diseases, diabetes mellitus, HIV infection and obesity).Bold values indicates that the 95% confidience interval does not include 1.00.O, observations; SIR, standardised incidence ratio.In the age-stratified analysis (online supplemental table S4), the SIRs for seminomas, non-seminomas and all TC were significantly elevated across all age groups with epididymo-orchitis compared with those without. The results also indicated stronger associations in individuals aged <20 years at TC diagnosis, with an SIR of 18.92 (95% CI 10.31 to 31.83) for all TC associated with epididymo-orchitis compared with no infection. However, only 14 TC cases were observed following epididymo-orchitis in this group, and most TC observations following epididymo-orchitis occurred in men aged 20–29 (n=105), 30–39 (n=153) and 40–49 (n=81) years at TC diagnosis. Among these groups, epididymo-orchitis was associated with an SIR for TC of 6.64 (95% CI 5.43 to 8.04) in men aged 20–29 years, 6.29 (95% CI 5.33 to 7.37) in men aged 30–39 years and 6.28 (95% CI 4.99 to 7.81) in men aged 40–49 years, compared with those in the same age groups without epididymo-orchitis.Associations between UTI and TC Table 3 shows that the overall SIR for TC associated with UTI was 1.74 (95% CI 1.44 to 2.08) compared with no infection. The association was particularly strong for TC diagnosed in the same calendar year as UTI (SIR 8.79, 95% CI 6.01 to 12.42). It decreased considerably but remained significant for TC diagnosed in subsequent calendar years (SIR 1.35, 95% CI 1.08 to 1.66). In the age-stratified analysis (online supplemental table S5), the SIRs for TC associated with UTI were only significantly elevated in men aged 20–29 and 30–39 years at TC diagnosis compared with those without UTI in the same age groups. Moreover, the sensitivity analyses (online supplemental tables S5 and S6) show that there were few TC cases (19 observations) in men with cystitis, with no significant associations between cystitis and subsequent TC (14 observations). They also show that the association between UTI (unspecified/site not specified) and TC yielded largely similar results to the analyses including all UTI.Table 3Standardised incidence ratios for testicular cancer diagnosis in men with UTI, by time period in relation to UTI diagnosis (1964–2018, Sweden)Follow-up times (years)Urinary tract infectionOSIR95% CISeminomas The same calendar year208.264.9612.92 Subsequent calendar years521.371.021.80  1–4 years211.691.042.59  ≥5 years311.220.831.73 All721.771.382.23Non-seminomas The same calendar year139.705.1416.64 Subsequent calendar years371.310.921.81  1–4 years30.400.081.18  ≥5 years331.651.132.32 All501.701.262.25All testicular cancers The same calendar year338.796.0112.42 Subsequent calendar years891.351.081.66  1–4 years241.200.771.79  ≥5 years651.411.081.80 All1221.741.442.08Full model, adjusted for age, period and sociodemographic factors (educational level, region of residence and country of origin), family history of testicular cancer; and comorbidities (alcoholism, cannabis use, chronic obstructive pulmonary diseases, diabetes mellitus, HIV infection and obesity).International Classification of Diseases (ICD) diagnosis codes for UTI were: N30 (ICD-10), 595 (ICD-8, ICD-9) and 605 (ICD-7) for cystitis and ICD diagnosis codes N39 (ICD-10), 599 (ICD-8, ICD-9) and 609 (ICD-7) for UTI, unspecified/site not specified. ICD diagnosis code for testicular cancer: 178 (ICD-7).Cystitis is a lower urinary tract infection.Bold values indicates that the 95% confidience interval does not include 1.00.O, observations; SIR, standardised incidence ratio; UTI, urinary tract infection.Discussion The main findings from this Swedish nationwide, open cohort study were that 522 (4.38%) of the 11 903 TC cases were diagnosed in the same calendar year as or in a subsequent year after a diagnosis of epididymo-orchitis (n=400, 3.36%) or potential UTI (n=122, 1.02%), with a mean follow-up of 6.85 years (SD±8.31). The association between epididymo-orchitis and TC was strong, with a 2.97-fold higher TC incidence within 1–4 years following the infection compared with no infection, and 0.45% of all individuals with epididymo-orchitis were diagnosed with TC. The association between UTI and TC was weaker and only 0.04% of those with UTI were diagnosed with TC, with no significant associations for all TC diagnosed 1–4 years after UTI, nor between cystitis and subsequent TC.Similar to previous studies, we found that TC incidence rates increased over the study period,1–3 and spiked in men around 30 years of age, followed by a rapid decrease with increasing age.6 It has also been reported that men may present with symptoms of epididymo-orchitis before TC diagnosis.7 Potential associations between orchitis and TC were described several decades ago,11 12 but a meta-analysis from 2012 was only indicative of an association (pooled OR 1.80, 95% CI 0.74 to 4.42)—probably due to the few cases in the available studies (5–34 exposed cases).15 However, the authors also conducted an additional case–control study, including 767 TC cases (diagnosed between 2002 and 2005) matched to at least one control (n=929), in which they showed that an overall self-reported history of orchitis was associated with TC (OR 2.38, 95% CI 1.56 to 3.63). In that study, the authors also showed that the association was strong for orchitis occurring within one calendar year prior to TC diagnosis (OR 23.16, 95% CI 5.53 to 96.99), but beyond that period, they detected no significant association (OR 1.17, 95% CI 0.71 to 1.94). Potential associations between epididymo-orchitis and TC have been less studied16 20 and a recent review concluded that the available data were limited.23 One case–control study from Taiwan,20 based on health insurance data (2001–2013), found that men with TC (n=372) had a higher odds of epididymo-orchitis (OR 47.17, 95% CI 23.83 to 93.40) within 3 years before TC diagnosis compared with the 10:1 age-matched controls without TC, with 41 of the 53 epididymo-orchitis cases occurring in the TC group. Similarly, another case–control study from the UK16 found higher odds of preceding epididymo-orchitis diagnosis (OR 13, 95% CI 7.8 to 23.0) in men with TC compared with those without. This study was conducted between 2000 and 2012 and included men who had visited primary healthcare within 1 year before TC diagnosis, during which 153 (11%) of the men with TC (n=1398) and 37 (0.7%) of the matched controls (n=4956) were diagnosed with epididymo-orchitis.The overall association between epididymo-orchitis and TC observed in our nationwide study (SIR: 6.34) was consistent with findings from these earlier case–control. We also observed that the association appeared strongest within the same calendar year, during which 289 (72.25%) of the 400 observed TC cases in men with epididymo-orchitis were diagnosed. Although we cannot determine the temporal sequence between TC and epididymo-orchitis diagnoses occurring within the same calendar year, the almost 86-fold increased TC incidence in those with epididymo-orchitis is likely not only explained by TC cases occurring prior to the infection. For example, in the case–control study from the UK,16 153 (11%) of 1398 men with TC had been diagnosed with epididymo-orchitis in the preceding year, of whom 106 (71%) were diagnosed within 3 months before TC diagnosis. In addition, our study adds to the previous literature with findings showing that the association between epididymo-orchitis and TC persisted for 1–4 calendar years following the infection (SIR 2.97), but not beyond that period—although with an indication of higher TC (seminomas) incidence ≥5 years following epididymo-orchitis. The difference in design and larger sample size in our study probably explains why our study was able to detect significant associations between epididymo-orchitis and subsequent TC during longer follow-up, considering how few TC cases (n=111, 0.93%) were observed in subsequent calendar years to an epididymo-orchitis event in our nationwide study (11 903 TC cases).We identified one earlier case–control study on TC and prior UTI, which showed no association between TC (n=767) and self-reported UTI (OR 0.96, 95% CI 0.69 to 1.33).15 In contrast, our nationwide study found an indication of a 1.74-fold increased TC incidence in men with UTI compared with men without. The association appeared particularly strong (SIR 8.79) within the same calendar year of diagnosis and remained elevated (SIR 1.34) in subsequent years. These findings may add to previous literature linking UTI to other forms of genitourinary cancers in men.26 42 43 However, only 0.04% of those with UTI were diagnosed with TC in our study, which could be regarded as a negligible absolute risk of TC following UTI, and there were too few TC observations (n=14) to detect any significant associations between cystitis and subsequent TC.The mechanisms behind our findings probably vary depending on the timeframe of the associations. For TC diagnosed within the same calendar year as the infection, the association may partly be due to infections occurring subsequent to TC diagnosis, such as after urological procedures.7 17 22 44 45 However, other explanations should also be considered, such as misdiagnosis or reverse causation. For example, TC may initially be misdiagnosed as epididymo-orchitis,18 19 due to similar and overlapping symptoms (eg, scrotal pain, swelling and enlargement),16 and even sporadically misdiagnosed as UTI.18 It is also possible that TC may predispose the testis to infections by compromising its structure, with infections such as epididymo-orchitis being potential clinical TC markers. For TC diagnosed in subsequent calendar years, reversed causation or TC misdiagnosed as an infection is probably less likely, given that diagnostic delays for TC usually are measured in months.8 Instead, infections such as epididymo-orchitis might be potential risk factors for future TC, which may be explained by infection-related inflammation facilitating carcinogenesis,46 47 together with growing evidence of infections’ potential oncogenic effects on the human testis.13 However, potential causal links between infections and TC are complex, and our observational study cannot infer causality. The mechanisms underlying the observed associations therefore remain to be elucidated.Strengths and limitations The study has several limitations that need to be considered. An important limitation is that we did not have data on symptoms or microbiological findings and could therefore not validate the epididymo-orchitis or potential UTI diagnoses. This limitation is particularly important to consider when interpreting the associations between UTI and TC, which were mainly attributed to diagnosis codes that include UTI as well as other diseases of the urinary tract system. Studies incorporating microbiological data are therefore needed to enhance the validity of the clinical diagnosis, especially for UTI. Another limitation is that men with urogenital infections may have been more likely to have TC detected due to scrotal palpation and/or subsequent diagnostic procedures, such as scrotal ultrasound. Any detection bias is probably most relevant for diagnoses occurring within the same calendar year, especially among patients with epididymo-orchitis, for whom scrotal palpation should be performed and scrotal ultrasound is recommended if diagnosis is uncertain or symptoms persist. 21 Diagnostic bias could be particularly prevalent in years when scrotal ultrasound was used in clinical practice in Sweden. Adding scrotal ultrasound to improve physical examination was suggested in a Scandinavian review on TC in 1985,37 and for the differential diagnosis of acute scrotal pain in a Swedish publication from 1994.40 These changes in diagnostic practice may have resulted in a higher number of incidental TC findings in the years following the implementation of scrotal ultrasound in clinical practice.48 49 For example, a review indicated that 15% of TC cases are detected incidentally during acute scrotal ultrasound examinations.48 In addition, if some patients with infections were not evaluated for cancer during follow-up, we could have missed cancers in this group, but since this delay also would occur in those without infections, we expect this particular bias to be negligible. Misclassification of the infections may also have occurred, as the data from primary healthcare settings, where most infections are diagnosed, were not complete for the whole study period; however, this bias is likely non-differential. Additionally, milder infections or atypical presentations of epididymo-orchitis and UTI may have been missed and/or misdiagnosed (eg, as symptom diagnosis codes) and symptoms may also have been misdiagnosed as infections. Moreover, the infections, especially UTI, could be coincidental and unrelated to subsequent TC, which may result in artefactual associations, particularly during longer follow-ups. Although we adjusted for potential confounders, residual and unmeasured confounding may persist, but is probably low within the same calendar year of diagnosis, where reversed causation is expected. Lastly, our study is based on Swedish register data, which may limit its generalisability due to differences in healthcare systems and population demographics. Therefore, studies validating the associations in other countries and populations are warranted. The study also has several strengths that balance its limitations. First, the main strengths are the study size, long study period (55 years), and the use of several national registers of high quality.25 28 30 Additionally, data linkages were performed by using a pseudonymised version of the personal identification number, allowing for virtually complete coverage of Sweden’s population, inclusion of potential confounders, and practically no loss to follow-up.27 Moreover, the TC incidence rates in relation to age and time period (year) of diagnosis were consistent with prior studies,1–3 6 which support robustness and may indicate generalisability of our findings.For clinical practice, most patients with epididymo-orchitis can likely be diagnosed and treated without further evaluations for TC, given that only 0.45% of patients with epididymo-orchitis were also diagnosed with TC in our study. Nevertheless, the strong association between epididymo-orchitis and TC within the same calendar year of diagnosis supports clinicians maintaining a heightened awareness of TC in patients presenting with epididymo-orchitis symptoms and during follow-up treatment of the infection. As recommended in the 2024 European guidelines on the management of epididymo-orchitis,21 scrotal ultrasound is advised for patients with persistent symptoms or diagnostic uncertainty. Diagnostic uncertainty might encompass cases with no identified causative pathogen, for example, a retrospective chart review on patients with epididymo-orchitis (n=118) suggested that men without bacteriuria should be referred to a urologist or scrotal ultrasound if below 50 years of age.50 Further large-scale studies could incorporate microbiological data to examine whether bacteriological findings are associated with TC in patients diagnosed with epididymo-orchitis, which may advance the understanding of when to advise scrotal ultrasound in these patients. Moreover, our findings indicate that epididymo-orchitis could be a potential risk factor for TC, which, together with established risk factors (eg, cryptorchidism, genetic factors and familial TC)4 may aid in the clinical risk assessment of TC and warrant further exploration. For policymakers, screening all men with epididymo-orchitis for TC would probably offer limited cost-benefit; instead, campaigns prompting awareness of persisting symptoms and self-examination after an epididymo-orchitis may help identify those warranting scrotal ultrasound.Conclusions The association between epididymo-orchitis and TC supports clinicians maintaining heightened awareness for TC in patients with epididymo-orchitis and could provide a foundation for more detailed studies on epididymo-orchitis as a potential TC risk factor. Although a potential link between UTI and TC was identified, the absolute risk was low and cystitis was not associated with TC.