In this work, we found that DHCR24 and DHCR24-induced 27HC significantly upregulated Rap1A/Rap1B expression and further activated the PI3K/AKT signaling pathway in melanoma spheroids, while Rap1 agonists or AKT inhibitors reproduced the stem cell phenotypes. The gene discussed is RAP1B; the disease is melanoma.