Psychological stress is commonly cited as a risk factor for melanoma, but clinical evidence is limited.This study aimed to evaluate the association between partner bereavement and (i) first-time melanoma diagnosis and (ii) mortality in patients with melanoma.We conducted two cohort studies using data from the U.K. Clinical Practice Research Datalink (1997-2017) and Danish nationwide registries (1997-2016). In study 1, we compared the risk of first melanoma diagnosis in bereaved vs. matched nonbereaved people using stratified Cox regression. In study 2 we estimated hazard ratios (HRs) for death from melanoma in bereaved compared with nonbereaved individuals with melanoma using Cox regression. We estimated HRs separately for the U.K. and for Denmark, and then pooled the data to perform a random-effects meta-analysis.In study 1, the pooled adjusted HR for the association between partner bereavement and melanoma diagnosis was 088 [95% confidence interval (CI) 084-092] across the entire follow-up period. In study 2, we observed increased melanoma-specific mortality in people experiencing partner bereavement across the entire follow-up period (HR 117, 95% CI 106-130), with the peak occurring during the first year of follow-up (HR 131, 95% CI 107-160).We found decreased risk of melanoma diagnosis, but increased mortality associated with partner bereavement. These findings may be partly explained by delayed detection resulting from the loss of a partner who could notice skin changes. Stress may play a role in melanoma progression. Our findings indicate the need for a low threshold for skin examination in individuals whose partners have died.