Background 17α-methyltestosterone (MT) as a synthetic androgen has been widely used in sex reversal of fish research, but there was no published report on sex reversal of mandarin fish by MT. Moreover, comparative transcriptome analysis of testis and ovarian tissue is still lacking in mandarin fish. We used histological analyses together with RNA sequencing to characterize mandarin fish gonadal transcriptomes and investigate the effects of MT on the sex ratio, survival rate, growth, gonadal differentiation.ResultsMandarin fish treated with dietary MT at 50 mg/kg and 100 mg/kg dosages were successfully induced to all-male stock (male rate 100%), compared with the control group (51.11%). The survival rate of fish in the MT treated and control groups were not significant different. MT were significantly inhibited the growth of the MT treatment group ( P < 0.05) at the 20 dph-120 dph, however, the weight and length in the MT treated and control groups were not significant different at the 180 dph and 240 dph. MT treatment promoted the development of testis, but inhibited the gonadosomatic index (GSI) and the levels of serum steroid hormone (T and E 2 ). This work screened out the genes related to the sex determination and differentiation of the fish by sequencing and analysis of the transcriptome of the ovary and testis. The masculinization of mandarin fish was also demonstrated by the expression patterns of sex-specific genes, dmrt1, sox9, foxl2 and cyp19a1a : the gonads of MT-treated fish exclusively expressed male-specific dmrt1 and sox9 with no expression of female-specific foxl2 and cyp19a1a .Conclusion This study suggests that 17α-methyltestosterone successfully induced all-male stock and we select the part of the genes ( dmrt1, sox9, foxl2 and cyp19a1a ) related to sex determination and differentiation.