Our study identifies the structurally related transcription factors SOX10 and SOX9 as functionally antagonistic regulators of postnatal melanocyte and melanoma development. Here, SOX9 is linked to melanoma.