The maturation stages of T cells, specifically the expression of HVEM on CD4+ cells, were significantly associated with an elevated risk of prostatitis (OR = 1.2328, 95% CI = 1.0157 to 1.4963; p = 0.0341). This evidence concerns the gene TNFRSF14 and prostatitis.