BackgroundThe risk for and treatment of cardiovascular disease (CVD) in type 2 diabetes (T2DM) is often incorrect and delayed. We wished to determine if a novel test improved physicians’ ability to risk stratify, diagnose, and treat patients with T2DM.MethodsIn a 2-phase randomized controlled trial comparing the clinical workup, diagnosis, and management of online, simulated patients with T2DM in a nationwide sample of cardiologists and primary care physicians, participants were randomly assigned to control or one of two intervention groups. Intervention participants had access to standard of care diagnostic tools plus a novel diagnostic CVD risk stratification test.ResultsIn control, there was no change in CV risk stratification of simulated patients between baseline and round 2 (37.1 to 38.3%, p = 0.778). Pre-post analysis showed significant improvements in risk stratification in both Intervention 1 (38.7 to 65.3%) and Intervention 2 (41.9 to 65.8%) (p < 0.01) compared to controls. Both intervention groups significantly increased prescribing SGLT2 inhibitors/GLP1 receptor agonists versus control, + 18.9% for Intervention 1 (p = 0.020) and 1 + 9.4% for Intervention 2 (p = 0.014). Non-pharmacologic treatment improved significantly compared to control (+ 30.0% in Intervention 1 (p < 0.001) and + 22.8% in Intervention 2 (p = 0.001). Finally, monitoring HgbA1C, blood pressure, and follow-up visit frequency improved by + 20.3% (p = 0.004) in Intervention 1 and + 29.8% (p < 0.001) in Intervention 2 compared with control.ConclusionUse of the novel test significantly improved CV risk stratification among T2DM patients. Statistically significant increases treatments were demonstrated, specifically SGLT2 inhibitors and GLP1 receptor antagonists and recommendations of evidence-based non-pharmacologic treatments.Trial registrationClinicalTrials.gov, NCT05237271Supplementary InformationThe online version contains supplementary material available at 10.1186/s13098-023-01122-w.