AF patients with history of thromboembolic events are at higher risk of thromboembolic recurrences, despite appropriate antithrombotic treatment. We aimed to evaluate the effect of mobile health (mHealth) technology-implemented ‘Atrial fibrillation Better Care’ (ABC) pathway approach (mAFA intervention) in secondary prevention AF patients. The Mobile Health Technology for Improved Screening and Optimized Integrated Care in AF (mAFA-II) cluster randomized trial enrolled adult AF patients across 40 centers in China. The main outcome was the composite outcome of stroke or thromboembolism, all-cause death, and rehospitalization. Using Inverse Probability of Treatment Weighting (IPTW), we evaluated the effect of the mAFA intervention in patients with and without prior history of thromboembolic events (i.e., ischemic stroke or thromboembolism). Among the 3324 patients enrolled in the trial, 496 (14.9%, mean age: 75.1 ± 11.4 years, 35.9% females) had a previous episode of thromboembolic event. No significant interaction was observed for the effect of mAFA intervention in patients with vs. without history of thromboembolic events [Hazard ratio, (HR): 0.38, 95% confidence interval (CI):0.18–0.80 vs. HR 0.55, 95% CI 0.17–1.76,pfor interaction = 0.587); however, a trend towards lower efficacy of mAFA intervention among AF patients in secondary prevention was observed for secondary outcomes, with significant interaction for bleeding events (p= 0.034) and the composite of cardiovascular events (p= 0.015). A mHealth-technology-implemented ABC pathway provided generally consistent reduction of the risk of primary outcome in both primary and secondary prevention AF patients. Secondary prevention patients may require further specific approaches to improve clinical outcomes such as bleeding and cardiovascular events.Trial registration: WHO International Clinical Trials Registry Platform (ICTRP) Registration number ChiCTR-OOC-17014138.