Here, we report that the antifungal agent ciclopirox olamine (CPX), a potential candidate for drug repurposing in cancer treatment, is able to reprogram gastric non-CSCs into cancer stem-like cells via activation of SOX2 expression and increased expression of C-MYC, HIF-1α, KLF4, and HMGA1. This evidence concerns the gene KLF4 and cancer.