Here, we demonstrated that KLF4 was induced by ER stress in melanoma cells, and increased KLF4 inhibited cell apoptosis and promoted cell metastasis. This evidence concerns the gene KLF4 and melanoma.