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. This evidence concerns the gene RAP1A and melanoma.