Our study could advance the association between the expression profile of HSF2 and the male sterility of the cattle-yak, and accelerate the analysis of the molecular underlying mechanism of male infertility in the cattle-yak. Here, HSF2 is linked to male infertility.