The interplay between COX-2-765G polymorphism, anti-inflammatory dietary patterns, and the risk of cutaneous melanoma remains a largely unexplored area. Here, PTGS2 is linked to cutaneous melanoma.