This study aimed to investigate trends in antidiabetic drug use and assess the risk of metformin-associated lactic acidosis (MALA) in patients with chronic kidney disease (CKD). A retrospective observational analysis based on the common data model was conducted using electronic medical records from 2010 to 2021. The patients included were aged ≥18, diagnosed with CKD and type 2 diabetes, and had received antidiabetic medications for ≥30 days. MALA was defined as pH ≤ 7.35 and arterial lactate ≥4 mmol/L. A total of 8318 patients were included, with 6185 in CKD stages 1-2 and 2133 in stages 3a-5. Metformin monotherapy was the most prescribed regimen, except in stage 5 CKD. As CKD progressed, metformin use significantly declined; insulin and meglitinides were most frequently prescribed in end-stage renal disease. Over the study period, the use of SGLT2 inhibitors (13.3%) and DPP-4 inhibitors (24.5%) increased significantly, while sulfonylurea use decreased (p < 0.05). Metformin use remained stable in earlier CKD stages but significantly decreased in stage 3b or worse. The incidence rate (IR) of MALA was 1.22 per 1000 patient-years, with a significantly increased IR in stage 4 or worse CKD (p < 0.001). Metformin was the most prescribed antidiabetic drug in CKD patients in Korea with a low risk of MALA. Antidiabetic drug use patterns varied across CKD stages, with a notable decline in metformin use in advanced CKD and a rise in SGLT2 inhibitor prescriptions, underscoring the need for further optimized therapy.