Extramammary Paget disease (EMPD) predominantly manifests de novo as primary EMPD, with less than 30 % of cases associated with underlying internal malignancy (secondary EMPD). Differentiating primary from secondary EMPDs based solely on histopathology poses challenges, often necessitating supplementary screening, such as endoscopy or imaging studies, to definitively exclude underlying carcinomas like colonic adenocarcinoma. Recently, TRPS1 immunohistochemistry, initially identified as a sensitive and specific marker for carcinomas and mesenchymal tumors of mammary origin, has been proposed for EMPD. In this study, we conducted a systematic assessment of TRPS1 expression across 93 EMPD cases, comprising 82 primary EMPDs and 11 secondary EMPDs. Our aim was to assess the potential utility of TRPS1 as a marker to differentiate between primary and secondary EMPDs. Our findings revealed that 88 % (72/82) of primary EMPDs displayed TRPS1 expression, while secondary EMPDs consistently lacked TRPS1 expression (100 %; 11/11). Within the primary EMPD group, consistent TRPS1 immunoreactivity was observed in lesions originating outside the perianal region, such as the groin/inguinal area, axilla, and trunk. Interestingly, a majority (91 %; 10/11) of primary EMPDs originating in the perianal region exhibited an absence of TRPS1 expression. Upon excluding cases of perianal primary EMPDs, the sensitivity and specificity of TRPS1 for primary EMPDs reached 100 %. Our findings suggest that TRPS1 expression holds notable sensitivity and specificity for primary EMPDs, particularly when arising from non-perianal cutaneous sites. Hence, in suitable clinical contexts, TRPS1 immunohistochemistry may emerge as a promising and valuable tool for distinguishing primary and secondary EMPDs.