Previous studies have rarely investigated the role of non-vitamin K oral anticoagulants (NOAC) and warfarin in the secondary prevention of ischemic stroke patients with nonvalvular atrial fibrillation (NVAF). In this study, we compared the effectiveness and safety of NOAC and warfarin for secondary prevention in Korean ischemic stroke patients with NVAF. Based on the Korean National Health Insurance Service Database, this study included 21,064 oral anticoagulants-naïve acute ischemic stroke patients with NVAF between July 2015 and June 2019. The main study outcomes included ischemic stroke, systemic embolism, major bleeding, and death. During the observational periods, NOAC users had a significantly decreased risk of ischemic stroke + systemic embolism (adjusted hazard ratio [aHR] 0.86; 95% confidence interval [CI] 0.78–0.95), ischemic stroke (aHR 0.89; 95% CI 0.81–0.99), major bleeding (aHR 0.78; 95% CI 0.68–0.89), and all-cause death (aHR 0.87; 95% CI 0.81–0.93). Standard-dose NOAC users had a lower risk of ischemic stroke, systemic embolism, and major bleeding events than warfarin users. In contrast, low-dose NOAC users did not differ in risk from warfarin users for all outcomes. In conclusion, NOACs were associated with a lower risk of secondary thromboembolic events and bleeding complications in Korean ischemic stroke patients with NVAF than warfarin.