Matrix metalloproteinases (MMPs) are implicated in the development of cancers including malignant melanoma (MM) and breast cancer. We tested the possible association of MMP1 and MMP8 gene variation with these two types of cancer. We genotyped 300 unselected patients with MM, 300 consecutive breast cancer cases, 300 controls for melanoma, and 300 controls for breast cancer (age-matched and sex-matched healthy adults with negative cancer family histories). Our study showed that the MMP8 gene rs11225395 polymorphism was associated with the risk of developing MM (odds ratio: 1.69; 95% confidence interval: 1.02-2.80; P=0.040) for the A/A genotype and 1.49 (95% confidence interval: 1.03-2.17; P=0.035) for the A/G genotype compared with the G/G genotype. The A allele was over-represented among MM cases compared with controls (odds ratio=1.54; P=0.017). In-vitro assays showed that the A allele had a higher promoter activity than the G allele in melanoma cells. No association was detected between this variant and breast cancer susceptibility. We found no strong association between MMP1 variation and the risk of MM or breast cancer. The finding of this study indicates an influence of MMP8 gene variation on melanoma susceptibility.