Erlotinib affects signaling pathways involved in the growth and proliferation of tumor cells. The use of the drug for non-small cell lung cancer is associated with the presence of specific activating EGFR mutations; therefore, appropriate molecular-genetic testing is required before starting treatment.