GATA3 staining can be used to distinguish primary EMPD from pagetoid melanoma in situ and secondary EMPD caused by colorectal carcinoma. This evidence concerns the gene GATA3 and extramammary Paget disease.