These data suggest that elevation of YAP/TAZ in KRAS-mutant NSCLC plays a role in PD-L1 regulation, and melatonin effectively suppressed the YAP/PD-L1 axis in KRAS-mutant NSCLC cells. Here, KRAS is linked to non-small cell lung carcinoma.