Oral anticoagulant therapy (OAT) for managing atrial fibrillation (AF) encompasses vitamin K antagonists (VKAs, such as warfarin), which was the mainstay of anticoagulation therapy before 2010, and direct-acting oral anticoagulants (DOACs, namely dabigatran etexilate, rivaroxaban, apixaban, edoxaban), approved for the prevention of AF stroke over the last thirteen years. Due to the lower risk of major bleeding associated with DOACs, anticoagulant switching is a common practice in AF patients. Nevertheless, there are issues related to OAT switching that still need to be fully understood, especially for patients in whom AF and heart failure (HF) coexist. Herein, the effective impact of the therapeutic switching from warfarin to DOACs in HF patients with AF, in terms of cardiac remodeling, clinical status, endothelial function and inflammatory biomarkers, was assessed by a machine learning (ML) analysis of a clinical database, which ultimately shed light on the real positive and pleiotropic effects mediated by DOACs in addition to their anticoagulant activity.