In melanoma, the relationship between sun exposure and the origin of mutations in either the N-ras oncogene or the p53 tumour-suppressor gene is not as clear as in other types of skin cancer. We have previously shown that mutations in the N-ras gene occur more frequently in melanomas originating from sun-exposed body sites, indicating that these mutations are UV induced. To investigate whether sun exposure also affects p53 in melanoma, we analysed 81 melanoma specimens for mutations in the p53 gene. The mutation frequency is higher than thus far reported: 17 specimens (21%) harbour one or more p53 mutations. Strikingly, 17 out of 22 mutations in p53 are of the C:G to TA or CC:GG to TT:AA transitional type, strongly suggesting an aetiology involving UV exposure. Interestingly, the p53 mutation frequency in metastases was much lower than in primary tumours. In the case of metastases, a role for sun exposure was indicated by the finding that the mutations are present exclusively in skin metastases and not in internal metastases. Together with a relatively frequent occurrence of silent third-base pair mutations in primary melanomas, this indicates that the p53 mutations, at least in these tumours, have not contributed to melanomagenesis and may have originated after establishment of the primary tumour.