Abstract Background Detection of the ROS1 rearrangement is mandatory in patients with advanced or metastatic non-small cell lung cancer (NSCLC) to allow targeted therapy with specific inhibitors. However, in Spanish clinical practice ROS1 determination is not yet fully widespread. The aim of this study is to determine the clinical and economic impact of sequentially testing ROS1 in addition to EGFR and ALK in Spain. Methods A joint model (decision-tree and Markov model) was developed to determine the cost-effectiveness of testing ROS1 strategy versus a no-ROS1 testing strategy in Spain. Distribution of ROS1 techniques, rates of testing, positivity, and invalidity of biomarkers included in the analysis (EGFR, ALK, ROS1 and PD-L1) were based on expert opinion and Lungpath real-world database. Treatment allocation depending on the molecular testing results was defined by expert opinion. For each treatment, a 3-states Markov model was developed, where progression-free survival (PFS) and overall survival (OS) curves were parameterized using exponential extrapolations to model transition of patients among health states. Only medical direct costs were included (€ 2021). A lifetime horizon was considered and a discount rate of 3% was applied for both costs and effects. Both deterministic and probabilistic sensitivity analyses were performed to address uncertainty. Results A target population of 8755 patients with advanced NSCLC (non-squamous or never smokers squamous) entered the model. Over a lifetime horizon, the ROS1 testing scenario produced additional 157.5 life years and 121.3 quality-adjusted life years (QALYs) compared with no-ROS1 testing scenario. Total direct costs were increased up to € 2,244,737 for ROS1 testing scenario. The incremental cost-utility ratio (ICUR) was 18,514 €/QALY. Robustness of the base-case results were confirmed by the sensitivity analysis. Conclusions Our study shows that ROS1 testing in addition to EGFR and ALK is a cost-effective strategy compared to no-ROS1 testing, and it generates more than 120 QALYs in Spain over a lifetime horizon. Despite the low prevalence of ROS1 rearrangements in NSCLC patients, the clinical and economic consequences of ROS1 testing should encourage centers to test all advanced or metastatic NSCLC (non-squamous and never-smoker squamous) patients.