OBJECTIVE

To examine associations of severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) infection/coronavirus disease 2019 with incident diabetes.

RESEARCH DESIGN AND METHODS

We conducted a retrospective cohort study using Veterans Health Administration data. We defined all patients without preexisting diabetes with one or more nasal swabs positive for SARS-CoV-2 (1 March 2020–10 March 2021; n = 128,255) as exposed and those with no positive swab and one or more laboratory tests (1 March 2020–31 March 2021; n = 2,679,851) as unexposed. The index date for patients exposed was the date of first positive swab and for patients unexposed a random date during the month of the qualifying laboratory test. We fit sex-stratified logistic regression models examining associations of SARS-CoV-2 with incident diabetes within 120 days and all follow-up time through 1 June 2021. A subgroup analysis was performed among hospitalized subjects only to help equalize laboratory surveillance.

RESULTS

SARS-CoV-2 was associated with higher risk of incident diabetes, compared with no positive tests, among men (120 days, odds ratio [OR] 1.75 [95% CI 1.63–1.88]; all time, 1.44 [1.36–1.52]) but not women (120 days, 1.10 [0.87–1.38]; all time, 1.00 [0.84–1.19]). Among hospitalized participants, SARS-CoV-2 was associated with higher risk of diabetes at 120 days and at the end of follow-up in men (OR 1.40 [95% CI 1.24–1.58] and 1.23 [1.12–1.36], respectively) but not women (0.99 [0.59–1.67] and 0.97 [0.63–1.48]). Among all participants but not among hospitalized participants, sex ∗ SARS-CoV-2 interaction P values were <0.1.

CONCLUSIONS

SARS-CoV-2 is associated with higher risk of incident diabetes in men but not in women even after accounting for greater surveillance related to hospitalization.

Diabetes is a major contributor to health care spending in the U.S., costing over $327 billion in 2017 (1,2). The incidence and prevalence of diabetes continue to rise at startling rates across all age-groups (3), and by 2050, 33% of all U.S. adults could have diabetes (4). Sequelae of infection with severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2)/coronavirus disease 2019 (COVID-19) extend far beyond the acute postviral recovery period (57) and appear to involve both pulmonary and extrapulmonary complications, including metabolic diseases. Thus, the COVID-19 pandemic may contribute to a higher diabetes incidence wherever SARS-CoV-2 infection has affected a substantial proportion of the population.

A link between SARS-CoV-2/COVID-19 infection and new-onset diabetes has been postulated (8). Previous reports have estimated the magnitude of the association of SARS-CoV-2 with new-onset diabetes as one of many outcomes (57). However, these previous reports may have underestimated the risk of incident diabetes after COVID-19 by defining new-onset diabetes based only on diagnostic codes, potentially missing cases by not examining pharmacy records for glucose-lowering medications or laboratory findings for glucose or hemoglobin A1c (A1C) values. Estimates of the magnitude of the association in these reports may, therefore, be biased by misclassification of diabetes at baseline or follow-up or by surveillance bias due to increased frequency of laboratory testing among individuals diagnosed with and treated for COVID-19 compared with individuals not diagnosed with COVID-19. We sought to extend previous reports by 1) systematically excluding individuals with preexisting diabetes, 2) defining diabetes based on not only diagnostic codes but also laboratory measurements of glucose and A1C and use of glucose-lowering medications, and 3) using sample restriction to evaluate for the presence of surveillance bias.

Study Setting and Study Population

In this analysis we used data from the Corporate Data Warehouse (CDW), a data repository derived from the electronic medical record of the Veterans Health Administration (VHA), the largest integrated health care system in the U.S. (9). VA (Veterans Affairs) Informatics and Computing Infrastructure (VINCI) has extracted CDW data to create the COVID-19 Shared Data Resource containing analytic variables for all patients tested for SARS-CoV-2, which we accessed for this research (10). We defined all patients with one or more nasal swabs positive for SARS-CoV-2 between 1 March 2020 and 10 March 2021 as exposed. Most tests were performed in VA laboratories using U.S. Food and Drug Administration–approved RealTime SARS-CoV-2 Assay (Abbott Laboratories) or Xpert Xpress SARS-CoV-2 assay (Cepheid). A small number was sent to outside laboratories. All laboratories were required to conform to standards for laboratory reporting set out in a VHA operational memo (11 February 2020) from the Deputy Under Secretary for Health for Operations and Management. Only tests performed by the Public Health Reference Laboratory of the VA Palo Alto Health Care System or by state and local health departments were allowed. Veterans receiving VHA care (i.e., with any inpatient or outpatient clinical encounter between 1 June 2019 and 30 May 2021) without a positive nasal swab for SARS-CoV-2 and with any laboratory test performed between 1 March 2020 and 31 March 2021 were chosen as the unexposed comparison group. For SARS-CoV-2–positive individuals, the index date was defined as the date the first positive test result was returned. For individuals without a positive test for SARS-CoV-2, the index date was defined as a random date during a month in which they had any laboratory test performed.

Individuals were excluded if they 1) had one or more abnormal laboratory values from plasma or serum (random glucose ≥200 mg/dL, fasting glucose ≥126 mg/dL, 2-h glucose from an oral glucose tolerance test ≥200 mg/dL) or whole blood (A1C ≥6.5%); 2) had any single ICD-9, Clinical Modification (ICD-9-CM), or ICD-10, Clinical Modification (ICD-10-CM), codes of 250 or E08–E13; or 3) received any glucose-lowering medication after 1 January 2000. Further, all participants were required to have at least one laboratory value that did not support a diagnosis of diabetes (random glucose ≤199 mg/dL, fasting glucose ≤125 mg/dL, 2-h glucose ≤199 mg/dL, or A1C ≤6.4%) measured during the same time period. Among VHA patients screened for eligibility in the current analysis, the proportion of SARS-CoV-2–positive individuals with preexisting diabetes was 44.5% (n = 105,854). The proportion of individuals without a positive test with preexisting diabetes was 41.3% (n = 1,888,845). The final sample size was n = 128,255 diagnosed with COVID-19 and n = 2,679,851 with no known COVID-19 diagnosis. To address the possibility that individuals diagnosed with COVID-19 might receive closer surveillance after COVID-19 diagnosis, we also identified a subgroup restricted to participants who were hospitalized in the 30 days after the index date: n = 12,832 positive for SARS-CoV-2 and n = 44,412 with no positive swabs for SARS-CoV-2. The study was approved by the institutional review board at VA Puget Sound Health Care System with the requirement for informed consent waived.

Variables

We collected data on age, sex, race/ethnicity, and facility location. BMI was defined as weight in kilograms divided by the square of height in meters. Veterans chose any number of race/ethnicity responses, which were categorized as selected/not selected for each individual response (e.g., White yes/no). Smoking status was classified as current, former, or never based on self-report in VHA’s national health factors database. If no smoking code was entered, the participant was classified as never smoked. We classified facility location using Veterans Integrated Service Networks, which comprise 18 regional systems of care within VHA. Participants were followed through 1 June 2021 for the development of diabetes defined as 1) two or more abnormal laboratory values from plasma or serum (random glucose ≥200 mg/dL, fasting glucose ≥126 mg/dL, 2-h glucose from an oral glucose tolerance test ≥200 mg/dL) or whole blood (A1C ≥6.5%) (11); 2) two outpatient or one inpatient ICD-10 codes of E08–E13; or 3) receipt of an initial and one refill prescription of a glucose-lowering medication. To avoid capturing transient hyperglycemia related to treatment with systemic corticosteroids, we excluded plasma glucose values collected within 30 days of the index date for all participants. We included diagnostic codes E08 (diabetes due to underlying condition) and E09 (drug- or chemical-induced diabetes mellitus) because we did not want to miss any incident cases of diabetes that were miscoded. We did not include E14 (unspecified diabetes) because it is not used in the CDW to code diabetes. For the full cohort, incident diabetes was defined as diabetes that occurred 1) up to 120 days after the index date or 2) between the index date and 1 June 2021. For hospitalized participants, incident diabetes was defined as diabetes that occurred 1) between the date of admission and 120 days after the index date or 2) between the admission date and 1 June 2021.

Statistical Analyses

We used DAGitty (12) for generation of a directed acyclic graph (DAG) to assist in model selection for confounder adjustment. We adjusted for variables thought to be causally associated with both likelihood of testing positive for SARS-CoV-2 and diagnosis of diabetes based on our DAG. By using these criteria, we determined that certain variables (e.g., COVID-19 treatments) would not be confounders. We examined for the presence of multiplicative first-order interactions of sex at birth with SARS-CoV-2 infection in models including all participants and fit sex-stratified logistic regression models assessing associations of COVID-19 diagnosis with incident diabetes in the full cohort and the group restricted to individuals hospitalized within 30 days after the index date. Analyses were adjusted for age, race/ethnicity, BMI, tobacco use, and facility location. We used multiple imputation with 10 sets of imputations for analyses that included BMI due to ∼20% missing values for this variable. Given that the incidence of diabetes in this cohort was <5% overall, the relative odds is expected to be approximately equal to the relative risk. For ease of interpretation, we reported the latter estimate in describing our results.

Mean ± SD age of participants was 59.1 ± 17.1 years, and 13% percent were female (n = 378,872). Five percent (n = 128,255) had one or more positive respiratory swab for SARS-CoV-2 (Table 1). Of individuals without a positive test for SARS-CoV-2, 8.5% (225,935) had a documented negative test for SARS-CoV-2. During the 30 days after the index date, 2% (n = 57,244) were hospitalized. Among SARS-CoV-2–positive individuals, 0.9% (n = 976 of 105,771) developed diabetes by 120 days and 1.2% (n = 1,576 of 128,255) developed diabetes during available follow-up time through 1 June 2021 (mean 193 days [range 32–456]). Among individuals without a positive test for SARS-CoV-2, 0.5% (n = 10,800 of 2,104,227) developed diabetes by 120 days and 0.8% (n = 22,190 of 2,679,851) developed diabetes during available study follow-up time (mean 240 days [range 32–457]). Among the subgroup of SARS-CoV-2–positive individuals who were hospitalized in the 30 days after the index date, 4.6% (n = 481 of 10,544) developed diabetes by 120 days and 5.3% (n = 676 of 12,832) developed diabetes over all available follow-up time. Among the subgroup of individuals without a positive test for SARS-CoV-2 who were hospitalized in the 30 days after the index date, 2.8% (n = 966 of 34,698) developed diabetes by 120 days and 3.7% (n = 1,642 of 44,412) developed diabetes over all available follow-up time. Among all participants, a positive respiratory swab for SARS-CoV-2 was associated with higher risk of diabetes at 120 days and over all available follow-up time compared with no positive respiratory swab after adjustment for age, race/ethnicity, BMI, tobacco use, and facility location in men (adjusted odds ratio [1.75] [95% CI 1.63–1.88] and 1.44 [1.36–1.52], respectively) but not women (1.10 [95% CI 0.87–1.38] and 1.00 [0.84–1.19]). Among hospitalized participants, a respiratory swab positive for SARS-CoV-2 was associated with higher risk of diabetes at 120 days and over all available follow-up time compared with no positive respiratory swabs in men (1.40 [1.24–1.58] and 1.23 [95% CI 1.12–1.36]). Among women who were hospitalized in the 30 days after the index date, a respiratory swab positive for SARS-CoV-2 was not associated with higher risk of diabetes at 120 days or over all follow-up time (0.99 [0.59–1.67] and 0.97 [0.63–1.48]) (Tables 2 and 3). P values for sex ∗ SARS-CoV-2 interaction terms were significant at a threshold of <0.1 for all participants (Pinteraction at 120 days = 0.002, over all follow-up time = 0.003) but not among hospitalized participants (Pinteraction at 120 days = 0.177, over all follow-up time = 0.189).

Table 1

Characteristics of VHA veterans without preexisting diabetes with stratification by presence of one or more respiratory swabs positive for SARS-CoV-2, March 2020–March 2021

All participantsParticipants hospitalized in the 30 days after index date
No respiratory swabs positive for SARS-CoV-2One or more respiratory swabs positive for SARS-CoV-2No respiratory swabs positive for SARS-CoV-2One or more respiratory swabs positive for SARS-CoV-2
n 2,679,851 128,255 44,412 12,832 
Age, years 59.2 ± 17.1 56.2 ± 17.3 61.2 ± 17.2 65.3 ± 16.6 
Age category, years     
 19–39 464,796 (17) 28,224 (22) 7,026 (16) 1,259 (10) 
 40–49 337,843 (13) 19,672 (15) 4,368 (10) 1,073 (8) 
 50–59 439,916 (16) 23,842 (19) 6,555 (15) 1,844 (14) 
 60–69 516,666 (19) 21,464 (17) 10,371 (23) 2,622 (20) 
 70–79 659,664 (25) 24,224 (19) 10,505 (24) 3,665 (29) 
 ≥80 260,966 (10) 10,829 (8) 5,587 (13) 2,369 (19) 
Female sex at birth 361,729 (14) 17,143 (13) 3,940 (9) 940 (7) 
Race/ethnicity     
 White 1,938,397 (72) 88,690 (69) 31,549 (71) 8,195 (64) 
 Black 445,652 (17) 26,642 (21) 9,552 (22) 3,448 (27) 
 Latinx 185,695 (7) 18,866 (11) 2,793 (6) 1,256 (10) 
 Other 260,296 (10) 9,883 (8) 2,965 (7) 919 (7) 
BMI, kg/m2 29.2 ± 5.66 30.3 ± 5.92 27.8 ± 5.95 29.5 ± 6.41 
BMI category, kg/m2     
 <18.5 19,496 (1) 725 (1) 970 (3) 188 (2) 
 18.5–24.9 375,380 (21) 14,051 (16) 10,152 (31) 2,198 (23) 
 25–29.9 665,932 (38) 30,583 (35) 11,317 (35) 3,280 (34) 
 30–34.9 444,741 (25) 24,859 (29) 6,721 (21) 2,415 (25) 
 35–39.9 172,575 (10) 11,154 (13) 2,499 (8) 1,070 (11) 
 ≥40 74,569 (4) 5,470 (6) 1,132 (4) 624 (6) 
Tobacco use     
 Never 996,500 (37) 50,071 (39) 9,567 (22) 3,888 (30) 
 Former 888,723 (33) 45,251 (35) 13,397 (30) 5,143 (40) 
 Current 794,628 (30) 32,933 (26) 21,448 (48) 3,801 (30) 
Proportion with diabetes at 120 days* 10,800 (0.51) 976 (0.92) 966 (2.78) 481 (4.56) 
Proportion with diabetes over available follow-up time 22,1990 (0.83) 1,576 (1.23) 1642 (3.70) 676 (5.27) 
All participantsParticipants hospitalized in the 30 days after index date
No respiratory swabs positive for SARS-CoV-2One or more respiratory swabs positive for SARS-CoV-2No respiratory swabs positive for SARS-CoV-2One or more respiratory swabs positive for SARS-CoV-2
n 2,679,851 128,255 44,412 12,832 
Age, years 59.2 ± 17.1 56.2 ± 17.3 61.2 ± 17.2 65.3 ± 16.6 
Age category, years     
 19–39 464,796 (17) 28,224 (22) 7,026 (16) 1,259 (10) 
 40–49 337,843 (13) 19,672 (15) 4,368 (10) 1,073 (8) 
 50–59 439,916 (16) 23,842 (19) 6,555 (15) 1,844 (14) 
 60–69 516,666 (19) 21,464 (17) 10,371 (23) 2,622 (20) 
 70–79 659,664 (25) 24,224 (19) 10,505 (24) 3,665 (29) 
 ≥80 260,966 (10) 10,829 (8) 5,587 (13) 2,369 (19) 
Female sex at birth 361,729 (14) 17,143 (13) 3,940 (9) 940 (7) 
Race/ethnicity     
 White 1,938,397 (72) 88,690 (69) 31,549 (71) 8,195 (64) 
 Black 445,652 (17) 26,642 (21) 9,552 (22) 3,448 (27) 
 Latinx 185,695 (7) 18,866 (11) 2,793 (6) 1,256 (10) 
 Other 260,296 (10) 9,883 (8) 2,965 (7) 919 (7) 
BMI, kg/m2 29.2 ± 5.66 30.3 ± 5.92 27.8 ± 5.95 29.5 ± 6.41 
BMI category, kg/m2     
 <18.5 19,496 (1) 725 (1) 970 (3) 188 (2) 
 18.5–24.9 375,380 (21) 14,051 (16) 10,152 (31) 2,198 (23) 
 25–29.9 665,932 (38) 30,583 (35) 11,317 (35) 3,280 (34) 
 30–34.9 444,741 (25) 24,859 (29) 6,721 (21) 2,415 (25) 
 35–39.9 172,575 (10) 11,154 (13) 2,499 (8) 1,070 (11) 
 ≥40 74,569 (4) 5,470 (6) 1,132 (4) 624 (6) 
Tobacco use     
 Never 996,500 (37) 50,071 (39) 9,567 (22) 3,888 (30) 
 Former 888,723 (33) 45,251 (35) 13,397 (30) 5,143 (40) 
 Current 794,628 (30) 32,933 (26) 21,448 (48) 3,801 (30) 
Proportion with diabetes at 120 days* 10,800 (0.51) 976 (0.92) 966 (2.78) 481 (4.56) 
Proportion with diabetes over available follow-up time 22,1990 (0.83) 1,576 (1.23) 1642 (3.70) 676 (5.27) 

Data are presented as mean ± SD for continuous variables and n (%) for categorical variables. P values for comparisons of participants who were SARS-CoV-2 positive with participants without a positive test for SARS-CoV-2 were all significant at P < 0.001.

*

All participants: n followed for diabetes until 120 days = 2,209,998 (n = 2,104,227 without a positive test for SARS-CoV-2 and n = 105,771 with a positive test). Hospitalized participants: n followed for diabetes until 120 days = 46,042 (n = 35,329 without a positive test for SARS-CoV-2 and n = 10,713 with a positive test).

Table 2

Adjusted ORs (95% CI) for incident diabetes at 120 days in comparisons of veterans with and veterans without a respiratory swab positive for SARS-CoV-2, March 2020–March 2021

All participantsParticipants who were hospitalized in the 30 days after index date
Men, n = 1,911,248Women, n = 298,750Men, n = 41,451Women, n = 3,559
OR95% CIOR95% CIOR95% CIOR95% CI
SARS-CoV-2 positive 1.75 1.63–1.88 1.10 0.87–1.38 1.40 1.24–1.58 0.99 0.59–1.67 
Age category, years         
 19–39 0.30 0.28–0.33 0.61 0.52–0.71 0.34 0.26–0.46 0.38 0.20–0.75 
 40–49 0.75 0.70–0.81 0.77 0.65–0.89 0.73 0.57–0.93 0.46 0.23–0.91 
 50–59 ref  ref  ref  ref  
 60–69 1.00 0.94–1.06 1.00 0.86–1.17 1.10 0.93–1.32 0.84 0.47–1.48 
 70–79 0.86 0.82–0.92 0.79 0.58–1.07 1.25 1.05–1.48 0.99 0.43–2.25 
 ≥80 0.63 0.58–0.69 0.76 0.41–1.39 1.14 0.93–1.40 1.06 0.35–3.21 
Race/ethnicity         
 White (vs. non-White) 1.00 0.88–1.16 1.08 0.75–1.58 0.85 0.57–1.27 3.81 0.94–15.40 
 Black (vs. non-Black) 1.38 1.24–1.65 1.60 1.10–2.34 1.12 0.74–1.71 5.80 1.45–23.13 
 Latinx (vs. non-Latinx) 1.40 1.30–1.51 1.33 1.07–1.66 1.42 1.14–1.77 1.05 0.40–2.74 
 Other 1.09 0.93–1.27 0.59 0.39–0.89 1.23 0.78–1.94 7.22 1.46–35.72 
BMI category, kg/m2         
 <18.5 1.36 1.07–1.73 1.07 0.38–3.05 1.09 0.63–1.90 0.78 0.10–6.36 
 18.5–24.9 ref  ref  ref  ref  
 25–29.9 1.14 1.05–1.24 1.65 1.21–2.24 1.18 0.99–1.39 0.85 0.38–1.91 
 30–34.9 1.77 1.64–1.91 2.71 2.08–3.52 1.61 1.34–1.92 1.38 0.67–2.82 
 35–39.9 2.77 2.55–3.01 4.07 3.07–5.38 2.10 1.67–2.63 1.05 0.41–2.71 
 ≥40 4.73 4.27–5.23 7.59 5.82–9.89 2.88 2.23–3.72 2.72 1.23–6.03 
Tobacco use         
 Never ref  ref  ref  ref  
 Former 0.98 0.94–1.03 1.03 0.89–1.19 0.82 0.71–0.95 1.15 0.67–1.97 
 Current 1.18 1.12–1.23 1.31 1.15–1.50 0.81 0.70–0.93 0.77 0.45–1.31 
All participantsParticipants who were hospitalized in the 30 days after index date
Men, n = 1,911,248Women, n = 298,750Men, n = 41,451Women, n = 3,559
OR95% CIOR95% CIOR95% CIOR95% CI
SARS-CoV-2 positive 1.75 1.63–1.88 1.10 0.87–1.38 1.40 1.24–1.58 0.99 0.59–1.67 
Age category, years         
 19–39 0.30 0.28–0.33 0.61 0.52–0.71 0.34 0.26–0.46 0.38 0.20–0.75 
 40–49 0.75 0.70–0.81 0.77 0.65–0.89 0.73 0.57–0.93 0.46 0.23–0.91 
 50–59 ref  ref  ref  ref  
 60–69 1.00 0.94–1.06 1.00 0.86–1.17 1.10 0.93–1.32 0.84 0.47–1.48 
 70–79 0.86 0.82–0.92 0.79 0.58–1.07 1.25 1.05–1.48 0.99 0.43–2.25 
 ≥80 0.63 0.58–0.69 0.76 0.41–1.39 1.14 0.93–1.40 1.06 0.35–3.21 
Race/ethnicity         
 White (vs. non-White) 1.00 0.88–1.16 1.08 0.75–1.58 0.85 0.57–1.27 3.81 0.94–15.40 
 Black (vs. non-Black) 1.38 1.24–1.65 1.60 1.10–2.34 1.12 0.74–1.71 5.80 1.45–23.13 
 Latinx (vs. non-Latinx) 1.40 1.30–1.51 1.33 1.07–1.66 1.42 1.14–1.77 1.05 0.40–2.74 
 Other 1.09 0.93–1.27 0.59 0.39–0.89 1.23 0.78–1.94 7.22 1.46–35.72 
BMI category, kg/m2         
 <18.5 1.36 1.07–1.73 1.07 0.38–3.05 1.09 0.63–1.90 0.78 0.10–6.36 
 18.5–24.9 ref  ref  ref  ref  
 25–29.9 1.14 1.05–1.24 1.65 1.21–2.24 1.18 0.99–1.39 0.85 0.38–1.91 
 30–34.9 1.77 1.64–1.91 2.71 2.08–3.52 1.61 1.34–1.92 1.38 0.67–2.82 
 35–39.9 2.77 2.55–3.01 4.07 3.07–5.38 2.10 1.67–2.63 1.05 0.41–2.71 
 ≥40 4.73 4.27–5.23 7.59 5.82–9.89 2.88 2.23–3.72 2.72 1.23–6.03 
Tobacco use         
 Never ref  ref  ref  ref  
 Former 0.98 0.94–1.03 1.03 0.89–1.19 0.82 0.71–0.95 1.15 0.67–1.97 
 Current 1.18 1.12–1.23 1.31 1.15–1.50 0.81 0.70–0.93 0.77 0.45–1.31 

Models additionally adjusted for geographic location by Veterans Integrated Service Networks location.

Table 3

Adjusted ORs (95% CI) for incident diabetes for all available follow-up time in comparisons of veterans with and without a respiratory swab positive for SARS-CoV-2, March 2020–March 2021

All participantsParticipants who were hospitalized in the 30 days after the index date
Men, n = 2,429,234Women, n = 378,872Men, n = 52,364Women, n = 4,740
OR95% CIOR95% CIOR95% CIOR95% CI
SARS-CoV-2 positive 1.44 1.36–1.52 1.00 0.84–1.19 1.23 1.12–1.36 0.97 0.63–1.48 
Age category, years 
 19–39 0.29 0.28–0.31 0.61 0.55–0.68 0.34 0.28–0.42 0.50 0.30–0.82 
 40–49 0.73 0.69–0.76 0.73 0.65–0.81 0.71 0.59–0.86 1.40 0.23–0.70 
 50–59 ref  ref  ref  ref  
 60–69 1.03 0.99–1.07 0.89 0.80–1.00 1.05 0.92–1.20 0.77 0.48–1.23 
 70–79 0.86 0.83–0.90 0.68 0.55–0.85 1.13 0.98–1.29 1.02 0.53–1.96 
 ≥80 0.62 0.58–0.66 0.73 0.49–1.10 0.99 0.84–1.18 1.35 0.60–3.04 
Race/ethnicity 
 White (vs. non-White) 1.02 0.92–1.13 0.99 0.76–1.28 0.92 0.66–1.27 2.30 0.75–7.04 
 Black (vs. non-Black) 1.43 1.29–1.60 1.32 1.01–1.73 1.38 0.99–1.93 3.39 1.11–10.42 
 Latinx (vs. non-Latinx) 1.36 1.29–1.44 1.22 1.04–1.42 1.40 1.18–1.67 1.50 0.77–2.92 
 Other 1.16 1.03–1.30 0.55 0.41–0.74 1.25 0.87–1.80 3.64 1.00–13.26 
BMI category, kg/m2 
 <18.5 1.22 1.05–1.41 1.16 0.60–2.27 1.01 0.66–1.55 0.97 0.20–4.68 
 18.5–24.9 ref  ref  ref  ref  
 25–29.9 1.17 1.11–1.24 1.75 1.42–2.16 1.17 1.03–1.34 1.03 0.56–1.90 
 30–34.9 1.85 1.75–1.96 2.85 2.38–3.43 1.62 1.40–1.86 1.52 0.83–2.77 
 35–39.9 2.83 2.66–3.01 4.52 3.76–5.45 2.01 1.69–2.39 1.97 1.00–3.88 
 ≥40 4.92 4.61–5.25 8.25 6.83–9.97 3.02 2.45–3.72 3.05 1.57–5.94 
Tobacco use 
 Never ref  ref  ref  ref  
 Former 1.04 1.01–1.08 1.24 1.12–1.37 0.84 0.75–0.95 1.16 0.75–1.79 
 Current 1.26 1.22–1.30 1.39 1.27–1.53 0.86 0.76–0.96 0.87 0.58–1.33 
All participantsParticipants who were hospitalized in the 30 days after the index date
Men, n = 2,429,234Women, n = 378,872Men, n = 52,364Women, n = 4,740
OR95% CIOR95% CIOR95% CIOR95% CI
SARS-CoV-2 positive 1.44 1.36–1.52 1.00 0.84–1.19 1.23 1.12–1.36 0.97 0.63–1.48 
Age category, years 
 19–39 0.29 0.28–0.31 0.61 0.55–0.68 0.34 0.28–0.42 0.50 0.30–0.82 
 40–49 0.73 0.69–0.76 0.73 0.65–0.81 0.71 0.59–0.86 1.40 0.23–0.70 
 50–59 ref  ref  ref  ref  
 60–69 1.03 0.99–1.07 0.89 0.80–1.00 1.05 0.92–1.20 0.77 0.48–1.23 
 70–79 0.86 0.83–0.90 0.68 0.55–0.85 1.13 0.98–1.29 1.02 0.53–1.96 
 ≥80 0.62 0.58–0.66 0.73 0.49–1.10 0.99 0.84–1.18 1.35 0.60–3.04 
Race/ethnicity 
 White (vs. non-White) 1.02 0.92–1.13 0.99 0.76–1.28 0.92 0.66–1.27 2.30 0.75–7.04 
 Black (vs. non-Black) 1.43 1.29–1.60 1.32 1.01–1.73 1.38 0.99–1.93 3.39 1.11–10.42 
 Latinx (vs. non-Latinx) 1.36 1.29–1.44 1.22 1.04–1.42 1.40 1.18–1.67 1.50 0.77–2.92 
 Other 1.16 1.03–1.30 0.55 0.41–0.74 1.25 0.87–1.80 3.64 1.00–13.26 
BMI category, kg/m2 
 <18.5 1.22 1.05–1.41 1.16 0.60–2.27 1.01 0.66–1.55 0.97 0.20–4.68 
 18.5–24.9 ref  ref  ref  ref  
 25–29.9 1.17 1.11–1.24 1.75 1.42–2.16 1.17 1.03–1.34 1.03 0.56–1.90 
 30–34.9 1.85 1.75–1.96 2.85 2.38–3.43 1.62 1.40–1.86 1.52 0.83–2.77 
 35–39.9 2.83 2.66–3.01 4.52 3.76–5.45 2.01 1.69–2.39 1.97 1.00–3.88 
 ≥40 4.92 4.61–5.25 8.25 6.83–9.97 3.02 2.45–3.72 3.05 1.57–5.94 
Tobacco use 
 Never ref  ref  ref  ref  
 Former 1.04 1.01–1.08 1.24 1.12–1.37 0.84 0.75–0.95 1.16 0.75–1.79 
 Current 1.26 1.22–1.30 1.39 1.27–1.53 0.86 0.76–0.96 0.87 0.58–1.33 

Models additionally adjusted for geographic location by Veterans Integrated Service Networks location. Mean follow-up time was 193 days for individuals with a positive test for SARS-CoV-2 and 240 days for individuals without a positive test for SARS-CoV-2.

In men, among all participants, factors associated with higher risk of incident diabetes at either time point included Black (vs. non-Black) race, Latinx (vs. non-Latinx) ethnicity, BMI (<18.5, 25–29.9, 30–34.9, 35–39.9, and ≥40 kg/m2 compared with the reference category of 18.5–24.9 kg/m2), current tobacco use, and former tobacco use for all available follow-up time only. Among hospitalized male participants, additional factors associated with higher risk of incident diabetes at either time point included higher BMI (30–34.9, 35–39.9, and ≥40 kg/m2 compared with the reference category of 18.5–24.9 kg/m2). BMI 25–29.9 was associated with higher risk for all available follow-up time only. In women, among all participants, factors associated with higher risk of incident diabetes at either time point included Black race, Latinx ethnicity, BMI (25–29.9, 30–34.9, 35–39.9, and ≥40 kg/m2 compared with the reference category of 18.5–24.9 kg/m2), current tobacco use, and former tobacco use for all available follow-up time only. Among hospitalized female participants, additional factors associated with higher risk of incident diabetes at either time point included Black race, other race, and higher BMI (≥40 kg/m2 compared with the reference category of 18.5–24.9 kg/m2). BMI 35–39.9 was associated with higher risk for all available follow-up time only.

In this large national cohort of veterans, the presence of a positive respiratory swab for SARS-CoV-2 was associated with a higher risk of diabetes at 120 days and over all study follow-up time, at an average of 238 days of follow-up, in the general VHA population and among individuals requiring hospitalization in the 30 days after enrollment. Associations were present in men but not women. To our knowledge, this is among the largest U.S.-based studies to examine associations of SARS-CoV-2 infection with incident diabetes; is the first study with rigorous exclusion of individuals with undiagnosed diabetes prior to infection on the basis of not only diagnostic codes but also laboratory testing and pharmacy information; and is the first study with examination of sex-specific associations. In addition, we assessed whether diagnostic surveillance bias might have accounted for this association, since patients recently diagnosed with COVID-19 are likely to have more medical encounters that might reveal presence of diabetes. We found that the higher risk of diabetes among individuals with a positive respiratory swab for SARS-CoV-2 persisted when we restricted our analyses to infected and uninfected patients who had recently been hospitalized, with hospitalization as a proxy for opportunities for diagnostic surveillance.

Other infections (e.g., Helicobacter pylori, Mycobacterium tuberculosis, and hepatitis C) have previously been implicated in the development of type 2 diabetes (13). Reports of increased hyperglycemia and ketoacidosis among individuals acutely ill with COVID-19 suggest that SARS-CoV-2 might play a causal role in new-onset postviral diabetes (14). Mechanisms hypothesized to contribute to loss of β-cell function after COVID-19 include 1) direct β-cell injury, 2) “bystander” effects on β-cells due to infection of other cells in the islet, exocrine pancreas, or microvasculature; or 3) systemic effects on insulin resistance or the inflammatory milieu due to glucocorticoid treatment or SARS-CoV-2 infection itself (15). At this writing, however, the primary mechanism remains unclear. Future studies quantifying insulin secretion and sensitivity after COVID-19 are urgently needed to clarify mechanisms and guide therapy.

Existing research has in general shown an association between COVID-19 infection and higher prevalence and incidence of type 2 diabetes but has many important limitations, including lack of adjustment for BMI or other measures of body composition and lack of use of glucose concentration and pharmacy data to identify diabetes, leading to inclusion of undiagnosed cases at onset of infection and underascertainment of cases during follow-up. A meta-analysis (eight studies, n = 3,711 COVID-19 patients, 492 cases of diabetes) reported a pooled prevalence of new or undiagnosed diabetes of 14.4% (95% CI 5.9–25.8) among hospitalized individuals (16) compared with 7.4% among hospitalized individuals in the current report; however, because the meta-analysis included estimates of both new-onset and previously undiagnosed diabetes, the estimates cannot be interpreted as incidence estimates, which might account for the differences seen. Among enrollees aged 18–65 years in the UnitedHealth Group Clinical Discovery Database (n = 193,113), the hazard ratio (HR) for diabetes was 2.47 (95% CI 1.14–5.38) in comparison of individuals with COVID-19 with a propensity score–matched comparator cohort with viral lower respiratory tract illness (5). Study individuals with COVID-19 were younger on average (41.7 vs. 56.2 years) and among individuals with COVID-19 there was a higher proportion of female patients (52.4% vs. 13.4%) compared with the current cohort. Importantly, this study did not adjust for BMI, a potentially important confounder in the association of SARS-CoV-2 infection with incident diabetes, and glucose concentration, A1C, and pharmacy data were not included in the diabetes case definition. These differences in methodology and populations—or surveillance bias due to increased screening among post–COVID-19 patients—may contribute to the higher magnitude of the association reported in the previous study.

In a study conducted with use of VHA data earlier in the pandemic (n = 73,435 individuals with COVID-19) (6), HRs for the following diabetes-related diagnostic codes were higher for individuals diagnosed with COVID-19 compared with nonhospitalized VHA users who were not diagnosed with COVID-19 in the interval between 30 days and 6 months after infection: diabetes without complication (HR 1.39 [95% CI 1.28–1.52]), diabetes with complication (1.36 [1.24–1.49]), type 2 diabetes (1.44 [1.30–1.60]), and diabetes due to underlying conditions, drug- or chemical-induced diabetes, or other unspecified diabetes type (1.25 [1.03–1.52]) (6). Risk of type 1 diabetes was not significantly increased. These HRs are similar in magnitude to the OR among hospitalized men in our study. In an analysis of individuals hospitalized with COVID-19 in England (n = 47,780) and control subjects taken from the general population, the incidence rate ratio of new-onset type 1 or type 2 diabetes identified by diagnostic codes in comparisons of individuals with COVID-19 and control subjects was 1.5 (95% CI 1.4–1.6) (7)—very similar to previously reported estimates (6) and findings among men in the current report.

We also found that associations were present among men but not women. Female sex is associated with a lower risk of COVID-19 mortality (17). Some authors have hypothesized that this may be due to sex differences in immune responses (18). A similar phenomenon may underlie the results we found in the current analysis. This is an area deserving of future study with potential to inform novel prevention strategies.

Our study has several strengths, most importantly, the large, well-characterized national sample. We used ICD codes, laboratory values, and/or glucose-lowering medication use to define diabetes—a more sensitive approach than strategies that rely entirely on diagnostic codes (19). There are also some limitations. Findings may not be generalizable to populations that differ demographically from VHA patients, who are on average older with lower income and socioeconomic status (20) than the U.S. general population. Indicators of socioeconomic status are not available in VHA electronic health records; however, for individuals who are eligible, access to VHA care is provided without regard to income, which may attenuate associations of socioeconomic status with the likelihood of a positive test for SARS-CoV-2. Additionally, the proportion of women was low (14%); however, although women comprised only a small proportion of the sample, the number of female participants (n = 376,274) is adequate for robust statistical inference. In addition, because we included laboratory values and medication use as well as diagnostic codes, we were unable to distinguish subtypes of incident diabetes (type 1, type 2, or other). Further, although we conducted a subgroup analysis among the hospitalized to correct for diagnostic surveillance imbalance, there is still potential that surveillance bias may have occurred favoring detection of diabetes in the SARS-CoV-2–positive participants. We did not examine the role of prior glycemia below thresholds for diabetes diagnosis in the association of SARS-CoV-2 infection with incident diabetes, and we did not examine the role of systemic corticosteroid use in the pathogenesis of diabetes after SARS-CoV-2 infection or to what extent higher risk of diabetes was accounted for by this exposure. These are important areas deserving of future study. We did not ascertain admission diagnoses; however, cardiovascular disease is the leading cause of hospitalization in the VHA (21). Lastly, we did not identify SARS-CoV-2 infections that occurred outside VHA. This form of misclassification would tend to bias findings toward the null.

In conclusion, among veterans without prevalent diabetes, a COVID-19 diagnosis was associated with higher risk of incident diabetes even after accounting for increased surveillance related to hospitalization. Future research is needed to determine the clinical course of post–COVID-19 diabetes, assess pathophysiologic mechanisms, and optimize diabetes surveillance strategies among COVID-19 survivors.

This article is featured in a podcast available at diabetesjournals.org/journals/pages/diabetes-core-update-podcasts.

This article is part of a special article collection available at https://diabetesjournals.org/journals/collection/52/Diabetes-and-COVID-19.

Publisher’s Note. After this article was originally published, the authors identified an issue in the way the outcome (diabetes status) was coded during a follow-up analysis. The authors contacted the American Diabetes Association to request an erratum and the online publication of a corrected version of the article. The erratum and proposed corrections underwent peer review led by an independent ad hoc editor. On the basis of this review, the erratum and the corrections to the original article were approved. This version of the article reports the updated analyses, and the accompanying erratum can be found at https://doi.org/10.2337/dc23-er08.

Acknowledgments. The authors gratefully acknowledge the support of VA Puget Sound Health Care System.

Funding. This study was funded by VA Office of Research and Development (COVID19-8990-19). The study sponsor/funder was not involved in the design of the study; the collection, analysis, or interpretation of data; or writing the manuscript and did not impose any restrictions regarding the publication of the manuscript.

Duality of Interest. S.E.K. has served as a consultant and on advisory boards for Bayer, Boehringer Ingelheim, Casma Therapeutics, Eli Lilly and Co., Intarcia, Merck, Novo Nordisk, Pfizer, and Third Rock Ventures and as a speaker for Boehringer Ingelheim and Merck. No other potential conflicts of interest relevant to this article were reported.

Author Contributions. P.L.W. conceived the project, designed the overall research plan, and wrote the first draft of the manuscript. E.L. analyzed data and reviewed and edited the manuscript. L.A.B. reviewed and edited the manuscript. L.T.-P. reviewed and edited the manuscript. A.K. contributed to the design and interpretation of the analyses and reviewed and edited the manuscript. A.C.P. contributed to the design and interpretation of the analyses and reviewed and edited the manuscript. S.E.K. contributed to interpretation of the analyses and reviewed and edited the manuscript. E.J.B. conceived the project, designed the overall research plan, and reviewed and edited the manuscript. P.L.W. and E.J.B. are the guarantors of this work and, as such, had full access to all the data in the study and take responsibility for the integrity of the data and the accuracy of the data analysis.

1.
Dieleman
JL
,
Baral
R
,
Birger
M
, et al
US spending on personal health care and public health, 1996-2013
.
JAMA
2016
;
316
:
2627
2646
2.
The cost of diabetes, 2018
. Accessed 24 September 2018. Available from https://www.diabetes.org/resources/statistics/cost-diabetes
3.
National Diabetes Statistics Report, 2017
. Accessed 1 August 2021. Available from https://www.cdc.gov/diabetes/pdfs/data/statistics/national-diabetes-statistics-report.pdf
4.
Boyle
JP
,
Thompson
TJ
,
Gregg
EW
,
Barker
LE
,
Williamson
DF
.
Projection of the year 2050 burden of diabetes in the US adult population: dynamic modeling of incidence, mortality, and prediabetes prevalence
.
Popul Health Metr
2010
;
8
:
29
5.
Daugherty
SE
,
Guo
Y
,
Heath
K
, et al
Risk of clinical sequelae after the acute phase of SARS-CoV-2 infection: retrospective cohort study
.
BMJ
2021
;
373
:
n1098
6.
Al-Aly
Z
,
Xie
Y
,
Bowe
B
.
High-dimensional characterization of post-acute sequelae of COVID-19
.
Nature
2021
;
594
:
259
264
7.
Ayoubkhani
D
,
Khunti
K
,
Nafilyan
V
, et al
Post-covid syndrome in individuals admitted to hospital with covid-19: retrospective cohort study
.
BMJ
2021
;
372
:
n693
8.
Rubino
F
,
Amiel
SA
,
Zimmet
P
, et al
New-onset diabetes in Covid-19
.
N Engl J Med
2020
;
383
:
789
790
9.
U.S. Department of Veterans Affairs
.
Veterans Health Administration, 2020
. Accessed 28 September 2020. Available from https://www.va.gov/health/
10.
Corporate Data Warehouse (CDW). VA COVID-19 Shared Data Resource
. Accessed 1 August 2021. Available from https://www.hsrd.research.va.gov/for_researchers/cyber_ seminars/archives/3810-notes.pdf
11.
American Diabetes Association
.
2. Classification and diagnosis of diabetes: Standards of Medical Care in Diabetes—2020
.
Diabetes Care
2020
;
43
(
Suppl. 1
):
S14
S31
12.
Textor
J
,
van der Zander
B
,
Gilthorpe
MS
,
Liskiewicz
M
,
Ellison
GT
.
Robust causal inference using directed acyclic graphs: the R package ‘dagitty’
.
Int J Epidemiol
2016
;
45
:
1887
1894
13.
Chakraborty
S
,
Bhattacharyya
R
,
Banerjee
D
.
Infections: a possible risk factor for type 2 diabetes
.
Adv Clin Chem
2017
;
80
:
227
251
14.
Rao
S
,
Ali
K
,
Rivas
M
,
Nugent
K
.
Diabetic ketoacidosis in patients with COVID-19
.
Am J Med Sci
2021
;
361
:
668
669
15.
Ibrahim
S
,
Monaco
GSF
,
Sims
EK
.
Not so sweet and simple: impacts of SARS-CoV-2 on the β cell
.
Islets
2021
;
13
:
66
79
16.
Sathish
T
,
Kapoor
N
,
Cao
Y
,
Tapp
RJ
,
Zimmet
P
.
Proportion of newly diagnosed diabetes in COVID-19 patients: A systematic review and meta-analysis
.
Diabetes Obes Metab
2021
;
23
:
870
874
17.
Pradhan
A
,
Olsson
PE
.
Sex differences in severity and mortality from COVID-19: are males more vulnerable?
Biol Sex Differ
2020
;
11
:
53
18.
Cutolo
M
,
Smith
V
,
Paolino
S
.
Understanding immune effects of oestrogens to explain the reduced morbidity and mortality in female versus male COVID-19 patients. Comparisons with autoimmunity and vaccination
.
Clin Exp Rheumatol
2020
;
38
:
383
386
19.
Khokhar
B
,
Jette
N
,
Metcalfe
A
, et al
Systematic review of validated case definitions for diabetes in ICD-9-coded and ICD-10-coded data in adult populations
.
BMJ Open
2016
;
6
:
e009952
20.
Kondo
K
,
Low
A
,
Everson
T
, et al
Health disparities in veterans: a map of the evidence
.
Med Care
2017
;
55
(
Suppl 9
Suppl 2
):
S9
S15
21.
VA Research on Cardiovascular Disease, 2021
. Accessed 8 October 2021. Available from https://www.research.va.gov/topics/cardio.cfm
Readers may use this article as long as the work is properly cited, the use is educational and not for profit, and the work is not altered. More information is available at https://www.diabetesjournals.org/journals/pages/license.