We found distinct roles for pyroptosis in primary and metastatic melanoma patients, with a certain association between pyroptosis and BRAF mutation status, revealing a potential combination strategy of drug usage in melanoma. Here, BRAF is linked to metastatic melanoma.