The encapsulation of afatinib improved its efficacy against KRAS-mutated NSCLC cell lines (A549, H460) and its penetration into 3D spheroids. The gene discussed is KRAS; the disease is non-small cell lung carcinoma.