Glycemic control is important to prevent diabetic complications. However, evidence linking factors such as diabetes-related distress (DRD) to poor glycemic outcomes is lacking in Thailand. Therefore, this study aimed to investigate the prevalence and associated factors of poor glycemic control type 2 diabetes. A cross-sectional study was conducted on 127 type 2 diabetic patients between December 2021 and March 2022 at Maharaj Nakorn Chiang Mai Hospital, Thailand. Data collection included demographic data, clinical data (duration of being type 2 diabetes, diabetic treatment modalities, weight, height, blood pressure, FBS, and HbA1c), behavioral data (self-care behavior, physical activity, dietary assessment, smoking, alcohol consumption, and sleep quality), and psycho-social data (depression and DRD). Poor glycemic control was defined as not achieving the target HbA1c based on the 2021 American Diabetes Association (ADA) Guideline. Multivariable logistic regression was used to explore the associations between potential factors including DRD, and poor glycemic control. The prevalence of poor glycemic control in patients with type 2 diabetes was 29.1%. Our analysis revealed that age under 65 years old (OR 6.40, 95% CI 2.07-19.77, p = 0.001), obesity (BMI ≥ 25 kg/m2) (OR 2.96, 95% CI 1.05-8.39, p = 0.041), and DRD (OR 14.20, 95% CI 3.76-53.64, p<0.001) were significantly associated with poor glycemic control. Three dimensions of DRD were associated with poor glycemic control, including emotional distress (OR 4.23, 95% CI 1.51-11.85, p = 0.006), regimen-related distress (OR 6.00, 95% CI 1.88-19.18, p = 0.003), and interpersonal distress (OR 5.25, 95% CI 1.39-20.02, p = 0.015). Age, obesity, and DRD are associated with poor glycemic control. A holistic approach that includes addressing DRD is crucial for improving glycemic outcomes in patients with type 2 diabetes. Further studies in broader populations using a cohort design are recommended.