Abstract In human opposite-sex twins, certain phenotypic traits of the female are affected negatively by testosterone transfer from the male, while the male may or may not be affected by the female in utero . However, no study was carried out to uncover the epigenetic basis of these effects. Here, we generated DNA methylation data from 54 newborn twins and histone modification data from 14 newborn twins, including female-female (FF), female-male (FM), and male-male (MM) newborn twins, to exclude the effects of postnatal environment and socialization, and investigated the epigenetic consequences of prenatal interactions between female and male gonadal hormones. We found that FM-Fs (female in FM twins) were distinguishable from FF twins by their DNA methylome, as were FM-Ms (male in FM twins) from MM twins. The correlation between genome-wide DNA methylation of females and males showed that FM-Fs, but not FFs, were closer to males from FM-Ms and MMs. Interestingly, the DNA methylomic differences between FM-Fs and FFs, but not those between FM-Ms and MMs, were linked to cognition and the nervous system. Meanwhile, FM-Ms and MMs, but not FM-Fs and FFs, displayed differential histone modification of H3K4me3, which were linked to immune responses. These findings provide epigenetic evidence for the twin testosterone transfer hypothesis and explain how prenatal hormone exposure is linked to reported and novel traits of childhood and adult through the epigenome in opposite-sex twins. Author Summary Prenatal exposure to testosterone may affect physiological, cognitive, and behavioral traits in females with male co-twins, while the males in opposite-sex twins present weak and inconsistent influences. In this study, we systematically investigated the hormonal interactions between opposite-sex twins in newborns from epigenetics including DNA methylation and histone modifications. We show that DNA methylome in FM-Fs (female in FM twins) was different from FF twins and their DNA methylomic differences were associated with cognition and the nervous system. We also suggest that FM-Ms (male in FM twins) were distinguishable from MM twins by their DNA methylome and FM-Ms versus MMs displayed differential histone modification of H3K4me3, which were linked to immune responses. Our study provides insight into the epigenetic explanation for hormonal influences between opposite-sex fetuses.