Signalling pathways that control the migration of melanoblasts during development are thought to contribute to melanoma metastasis. Using mice, Lindsay et al. show that loss of Prex1, which encodes a guanine nucleotide exchange factor (GEF) specific for RAC, results in a defect in melanoblast migration during development. Furthermore, when Prex1−/− mice were crossed to a mouse model of melanoma in which the mice express mutant NRAS (NrasQ61K) and lack the tumour suppressor INK4A, those lacking PREX1 were resistant to metastasis. PREX1 was also upregulated in primary human melanomas and melanoma cell lines, and silencing of PREX1 expression or blocking its GEF activity inhibited invasion in vitro.