Non-small-cell lung cancer (NSCLC) has experienced several diagnostic and therapeutic changes over the past two decades. However, there are few studies conducted with real-world data regarding the evolution of the cost of these new drugs and the corresponding changes in the survival of these patients. We collected data on patients diagnosed with NSCLC from the tumor registry of the University Hospital of Vic from 2002 to 2021. We analyzed the epidemiological and pathological characteristics of these patients, the diverse oncological treatments administered, and the survival outcomes extending at least 18 months post-diagnosis. We also collected data on pharmacological costs, aligning them with the treatments received by each patient to determine the cost associated with individualized treatments. Our study included 905 patients diagnosed with NSCLC. We observed a dynamic shift in histopathological subtypes from squamous carcinoma in the initial years to adenocarcinoma. Regarding the treatment approach, the use of chemotherapy declined over time, replaced by immunotherapy, while molecular therapy showed relative stability. An increase in survival at 18 months after diagnosis was observed in patients with advanced stages over the most recent years of this study, along with the advent of immunotherapy. Mean treatment costs per patient ranged from EUR 1413.16 to EUR 22,029.87 and reached a peak of EUR 48,283.80 in 2017 after the advent of immunotherapy. This retrospective study, based on real-world data, documents the evolution of pathological characteristics, survival rates, and medical treatment costs for NSCLC over the last two decades. After the introduction of immunotherapy, patients in advanced stages showed an improvement in survival at 18 months, coupled with an increase in treatment costs.