Plays an essential role in male fertility. TEX38 and ZDHHC19 form a complex in developing sperm. This complex may regulate S- palmitoylation of the proteins that are essential for generating functional sperm with the correct morphology. . This is the function of TEX38 (testis expressed 38, Ensembl gene identifier ENSG00000186118).