Cancer stem cell survival is the leading factor for tumor recurrence after tumor-suppressive treatments. Therefore, specific and efficient inhibitors of cancer stemness must be discovered for reducing tumor recurrence. YM155 has been indicated to significantly reduce stemness-derived tumorsphere formation. However, the pharmaceutical mechanism of YM155 against cancer stemness is unclear. This study investigated the potential mechanism of YM155 against cancer stemness in lung cancer. Tumorspheres derived from epidermal growth factor receptor (EGFR)-mutant HCC827 and EGFR wild-type A549 cells expressing higher cancer stemness markers (CD133, Oct4, and Nanog) were used as cancer stemness models. We observed that EGFR autophosphorylation (Y1068) was higher in HCC827- and A549-derived tumorspheres than in parental cells; this autophosphorylation induced tumorsphere formation by activating G9a-mediated stemness. Notably, YM155 inhibited tumorsphere formation by blocking the autophosphorylation of EGFR and the EGFR-G9a-mediated stemness pathway. The chemical and genetic inhibition of EGFR and G9a revealed the significant role of the EGFR-G9a pathway in maintaining the cancer stemness property. In conclusion, this study not only revealed that EGFR could trigger tumorsphere formation by elevating G9a-mediated stemness but also demonstrated that YM155 could inhibit this formation by simultaneously blocking EGFR autophosphorylation and G9a activity, thus acting as a potent agent against lung cancer stemness.