Glucose levels obtained on day of surgery may be predictive of complications following total knee arthroplasty (TKA). Established glucose thresholds for TKA are either non-specific or have low predictive power. Therefore, the purpose of this study was to create data-driven hemoglobin A1c (HbA1c) and same-day glucose thresholds associated with varying risks of 90-day major and surgical site infection (SSI) complications following TKA. Stratum-specific likelihood ratio analysis was conducted to determine data-driven HbA1c and glucose strata associated with varying risks of 90-day major and SSI complications. Each strata was then propensity-score matched to the lowest strata based on age, sex, hypertension, heart failure, chronic obstructive pulmonary disorder, and obesity. The risk ratio (RR) for complications in each stratum with respect to the lowest matched stratum was analyzed. Four data-driven HbA1c (%) strata (4.5 to 5.9, 6.0 to 6.4, 6.5 to 7.9, and 8.0+) and two same-day glucose (mg/dl) strata (60 to 189 and 190+) were identified that predicted 90-day major complications. When compared to the propensity-matched lowest strata (4.5 to 5.9%), the risk of 90-day major complications sequentially increased as the HbA1c (%) strata increased: 6.0 to 6.4 (RR: 1.23; P = 0.024), 6.5 to 7.9 (RR 1.38; P < 0.001), 8.0+ (RR 2.0; P < 0.001). When compared to the propensity-matched lowest strata (60 to 189 mg/dl), the 190+ mg/dl strata had a higher risk of 90-day major complications (RR: 1.18; P = 0.016). No HbA1c or same-day glucose strata had significantly different risks of 90-day SSI. The multiple strata identified for HbA1c demonstrate that a single HbA1c cut-off as identified in prior literature may be missing a larger picture for risk stratification. The threshold identified for same-day glucose can be utilized in day-of-surgery glycemic control guidelines to further reduce the risk of 90-day major complications.