Gefitinib is used to treat metastatic (cancer that has already spread) non-small cell lung cancer in patients who have certain types of abnormal epidermal growth factor (EGFR) genes, and did not receive cancer medicines in the past. Your doctor will perform a test before you take this medicine.