Introduction: Diabetes has been identified as a high-risk comorbidity for COVID-19 hospitalization. We evaluated additional risk factors for COVID-19 hospitalization and in-hospital mortality in a nationwide US database. Methods: This retrospective study utilized the UnitedHealth Group Clinical Discovery Database (January 1, 2019-July 15, 2020) containing de-identified nationwide administrative claims, SARS-CoV-2 laboratory test results, and COVID-19 inpatient admissions data. Logistic regression was used to understand risk factors for hospitalization and in-hospital mortality among people with type 2 diabetes (T2D) and in the overall population. Robustness of associations was further confirmed by subgroup and sensitivity analyses in the T2D population.Results: A total of 36,364 people were identified who were either SARS-CoV-2 ? or hospitalized for COVID-19. T2D was associated with increased COVID-19-related hospitalization and mortality. Factors associated with increased hospitalization risk were largely consistent in the overall population and the T2D subgroup, including age, male sex, and these top five comorbidities: dementia, metastatic tumor, congestive heart failure, paraplegia, and metabolic disease. Biguanides (mainly metformin) were consistently associated with lower odds of hospitalization, whereas sulfonylureas and insulins were associated with greater odds of hospitalization among people with T2D. Conclusion: In this nationwide US analysis, T2D was identified as an independent risk factor for COVID-19 complications. Many factors conferred similar risk of hospitalization across both populations; however, particular diabetes medications may be markers for differential risk. The insights on comorbidities and medications may inform population health initiatives, including prevention efforts for high-risk patient populations such as those with T2D.