These findings suggested that TRPM5 expression is closely associated with prognosis in patients with melanoma and gastric cancer, but not in patients with other tumor types. Here, TRPM5 is linked to melanoma.