IMPORTANCE New-onset diabetes after the age of 50 years is a potential indicator of pancreatic cancer. Understanding the associations between hyperglycemia, diabetes, and pancreatic cancer, including pancreatic ductal adenocarcinoma, is key to developing an approach to early detection. OBJECTIVE To assess the association of elevation in glycated hemoglobin (HbA 1c) with the risk of pancreatic cancer. DESIGN, SETTING, AND PARTICIPANTS This cohort study was conducted using data collected from an integrated health care system in California. A total of 851 402 patients aged 50 to 84 years who had HbA 1c measurements taken between 2010 and 2014 were identified as the base cohort, with 12 contemporaneous cohorts created based on varying HbA 1c thresholds (ie, 6.1%, 6.3%, 6.5%, and 6.7%) and prior diabetes status. Data analysis was conducted from August 2018 to September 2019. MAIN OUTCOMES AND MEASURES New cases of pancreatic cancer identified through cancer registry and California death files during a 3-year period. Three-year risk, incidence rate, sensitivity, number of patients needed to screen to detect 1 case, timing, and stage at diagnosis were determined. RESULTS Among 851 402 patients in the base cohort, 447 502 (52.5%) were women, 255 441 (30.0%) were Hispanic participants, 383 685 (45.1%) were non-Hispanic white participants, 100 477 (11.8%) were Asian participants, and 88 969 (10.4%) were non-Hispanic black participants, with a median (interquartile range) age of 62 (56-69) years and a median (interquartile range) HbA 1c level of 6.0% (5.7%-6.6%). The incidence rate of pancreatic cancer was 0.45 (95% CI, 0.43-0.49) per 1000 person-years. After excluding prior diabetes as well as confirmation of new-onset hyperglycemia based on an HbA 1c level of 6.5%, a total of 20 012 patients remained, with 74 of 1041 pancreatic ductal adenocarcinoma cases (7.1%) from the base cohort included. The rate of pancreatic cancer was 0.72 (95% CI, 0.32-1.42) per 1000 person-years among Asian patients, 0.83 (95% CI, 0.35-1.71) per 1000 person-years among non-Hispanic black patients, 0.84 (95% CI, 0.48-1.37) per 1000 person-years among Hispanic patients, and 2.37 (95% CI, 1.75-3.14) per 1000 person-years among non-Hispanic white patients. Overall, 42 of 74 cancers (56.8%) were diagnosed within 1 year of the index laboratory test. Among 1041 total cases, 708 (68.0%) had staging information available, of whom 465 (65.7%) had stage III or IV disease at diagnosis. In the base cohort, the number needed to undergo evaluation to identify a single case of pancreatic ductal adenocarcinoma was 818 (95% CI, 770-869), with estimates ranging from 206 (95% CI, 160-264) to 600 (95% CI, 540-666) in the subcohorts. CONCLUSIONS AND RELEVANCE The findings of this study suggest that screening patients for pancreatic cancer based solely on elevation in HbA 1c level is unlikely to represent an effective (continued) Key Points Question What is the association of elevated glycated hemoglobin levels with the risk of pancreatic cancer? Findings In this coho...