These findings unveil the dynamic expression patterns of EpCAM and differential roles of epigenetic modification in EpCAM expression in primary and metastatic lung tumors, providing novel insights into tumor cell isolation and lung cancer diagnosis. Here, EPCAM is linked to lung cancer.