Familial clustering of the skin disease primary hyperhidrosis suggests a genetic component to the disease. The human leucocyte antigen (HLA) is implicated in a range of diseases, including many comorbidities to hyperhidrosis. No study has investigated whether the HLA genes are involved in the pathogenesis of hyperhidrosis. We, therefore, compared HLA alleles in individuals with and without hyperhidrosis in this study of 65,000 blood donors. In this retrospective cohort study, we retrieved information on individuals with and without hyperhidrosis using self-reported questionnaires, the Danish National Patient Registry and the Danish National Prescription Registry on participants recruited to the Danish Blood Donor Study between 2010 and 2019. Association tests using logistic regression were conducted for each HLA allele corrected for sex, age, body mass index, smoking and principal components. Overall, 145 of 65,795 (0.2%) participants had hospital diagnosed hyperhidrosis. Similarly, 1,379 of 15,530 (8.9%) participants had moderate-severe self-reported hyperhidrosis, of whom 447 (2.9%) had severe self-reported hyperhidrosis. Altogether 28 participants had both hospital diagnosed and moderate-severe self-reported hyperhidrosis. Severe self-reported hyperhidrosis was associated with HLA-A*80:01 (adjusted odds ratio 26.97; 95% confidence interval 5.32-136.70; n=7; p<0.001). Moderate-severe self-reported hyperhidrosis and hospital diagnosed hyperhidrosis were not associated with any HLA. The association between hyperhidrosis and HLA-A*80:01 was based on a very small number of cases and not replicated in other patient subsets, and therefore likely a chance finding. Thus, this study suggests that genes other than the HLA are involved in the pathogenesis of hyperhidrosis.