Type 2 diabetes poses an increasing disease burden in South Korea. The development and management of type 2 diabetes are closely related to lifestyle and socioeconomic factors, which have undergone substantial changes over the past few decades, including during the COVID-19 pandemic. This study aimed to investigate long-term trends in type 2 diabetes prevalence, awareness, treatment, and control. It also aimed to determine whether there were substantial alterations in the trends during the pandemic and whether these changes were more pronounced within specific demographic groups. This study examined the prevalence, awareness, treatment, and control of type 2 diabetes in a representative sample of 139,786 South Koreans aged >30 years, using data from the National Health and Nutrition Examination Survey and covering the period from 1998 to 2022. Weighted linear regression and binary logistic regression were performed to calculate weighted β coefficients or odds ratios. Stratified analyses were performed based on sex, age, region of residence, obesity status, educational background, household income, and smoking status. β (difference) was calculated to analyze the trend difference between the prepandemic period and the COVID-19 pandemic. To identify groups more susceptible to type 2 diabetes, we estimated interaction terms for each factor and calculated weighted odds ratios. From 1998 to 2022, a consistent increase in the prevalence of type 2 diabetes was observed among South Koreans, with a notable rise to 15.61% (95% CI 14.83-16.38) during the pandemic. Awareness followed a U-shaped curve, bottoming out at 64.37% (95% CI 61.79-66.96) from 2013 to 2015 before increasing to 72.56% (95% CI 70.39-74.72) during the pandemic. Treatment also increased over time, peaking at 68.33% (95% CI 65.95-70.71) during the pandemic. Control among participants with diabetes showed no substantial change, maintaining a rate of 29.14% (95% CI 26.82-31.47) from 2020 to 2022, while control among treated participants improved to 30.68% (95% CI 27.88-33.48). During the pandemic, there was a steepening of the curves for awareness and treatment. However, while the slope of control among participants being treated increased, the slope of control among participants with diabetes showed no substantial change during the pandemic. Older populations and individuals with lower educational level exhibited less improvement in awareness and control trends than younger populations and more educated individuals. People with lower income experienced a deceleration in prevalence during the pandemic. Over the recent decade, there has been an increase in type 2 diabetes prevalence, awareness, treatment, and control. During the pandemic, a steeper increase in awareness, treatment, and control among participants being treated was observed. However, there were heterogeneous changes across different population groups, underscoring the need for targeted interventions to address disparities and improve diabetes management for susceptible populations.