Sex modifies the association between urinary albumin-to-creatinine ratio and diabetes among adults in the United States (NHANES 2011–2018). This evidence concerns the gene ALB and diabetes mellitus.