Piwi-interacting RNAs (piRNAs) are essential for animal fertility, playing crucial roles in silencing repetitive elements and endogenous genes within the germline. Their expression is regulated in a sex-specific manner. Here, we identify the first sex-specific transcription factor responsible for driving male piRNA expression.