Mutations of pigment type switching have provided basic insight into melanocortin physiology and evolutionary adaptation. In all vertebrates that have been studied to date, two key genes, Agouti and Melanocortin 1 receptor (Mc1r), encode a ligand-receptor system that controls the switch between synthesis of red-yellow pheomelanin vs. black-brown eumelanin. However, in domestic dogs, historical studies based on pedigree and segregation analysis have suggested that the pigment type-switching system is more complicated and fundamentally different from other mammals. Using a genomewide linkage scan on a Labrador x greyhound cross segregating for black, yellow, and brindle coat colors, we demonstrate that pigment type switching is controlled by an additional gene, the K locus. Our results reveal three alleles with a dominance order of black (K(B)) > brindle (k(br)) > yellow (k(y)), whose genetic map position on dog chromosome 16 is distinct from the predicted location of other pigmentation genes. Interaction studies reveal that Mc1r is epistatic to variation at Agouti or K and that the epistatic relationship between Agouti and K depends on the alleles being tested. These findings suggest a molecular model for a new component of the melanocortin signaling pathway and reveal how coat-color patterns and pigmentary diversity have been shaped by recent selection.