In summary, our study developed a prognostic four-mRNA signature (CD276, HAPLN3, PIP4P1, UQCRFS1) for CM, which can predict the clinical outcome of patients. Here, PIP4P1 is linked to cutaneous mastocytosis.