This study aims to examine the association between antibiotic usage and osteoporotic fractures in a large cohort of Korean adults, with a specific focus on the duration of antibiotic exposure and the number of antibiotic classes used. This retrospective cohort study from the National Health Insurance Service-National Health Screening Cohort (NHIS-HEALS) database from January 1, 2002, to December 31, 2019, included 167,370 Korean adults aged 50years or older (mean [SD] age, 59.3 [7.82] years; 65,425 [39.09%] women). The cumulative antibiotic prescription days and the classes of antibiotics prescribed between 2004 and 2008 were exposure variables, respectively. The main outcome was a newly diagnosed osteoporotic fracture during follow-up. Cox proportional hazard regression was used to determine the adjusted hazard ratios (aHRs) and 95% confidence intervals (CIs) for the incident osteoporotic fractures associated with antibiotic exposure. The antibiotic user group with 91days had a higher risk of osteoporotic fracture in comparison to the antibiotic non-user group (aHR, 1.12; 95% CI, 1.03-1.21). Additionally, those who used more than four different antibiotic classes had an elevated risk of osteoporotic fracture compared to the non-user group (aHR, 1.10; 95% CI, 1.02-1.18). This extensive population-based cohort study conducted on a large population has identified an association between the utilization of antibiotics and an elevated risk of osteoporotic fractures. The cumulative days exposed to antibiotics and osteoporotic fractures may be positively associated.