Our findings suggest a causal association between two sleep disorders, EDS and OSA, and the risk of HDPs, with BMI acting as a crucial mediator. EDS and OSA demonstrate promise as potentially preventable risk factors for HDPs, and targeting BMI may represent an alternative treatment strategy to mitigate the adverse impact of sleep disorders.