The presence of freckles is related to rare alleles of the MC1R gene, though it does not differentiate whether an individual will have freckles if they have one or even two copies of this gene.
The variants of the MC1R gene that are linked with freckles started to emerge in the human genotype when humans started to leave Africa.