Thus, our data revealed that the KLF4-NUCB2 pathway plays an important role in melanoma ER stress resistance and cell metastasis, and KLF4 may be a promising specific target for melanoma therapy. Here, KLF4 is linked to melanoma.