Apostichopus japonicus is an important marine aquaculture species in China, with high nutritional and economic value. In A. japonicus, there is no obvious sexual dimorphism in external appearance, and sex differentiation primarily relies on the observation of mature gonads after dissection, which leads to difficulties in sex identification. The confusion in sex identification greatly reduces breeding efficiency in the sea cucumber industry. Therefore, developing a reliable sex-specific marker is crucial. In this study, we identified 586 male-specific sequences through whole-genome assembly and sequence alignment, but did not identify any female-specific sequences, inferring an XY-type sex determination system in sea cucumbers. We developed a set of male-specific molecular markers to establish an accurate, stable, and widely adaptable genetic sex identification technique for A. japonicus. The male-specific molecular markers were validated with 100% accuracy in sea cucumber populations from six different geographical regions in China. In conclusion, this study provides further evidence for the XY-type sex determination system in A. japonicus and establishes an effective genetic sex identification method for multi-geographic populations, which benefits future study on reproductive biology and has significant implications in sea cucumber aquaculture industry.