Introduction

In vertebrates, several reproduction events are under the control of chemical-physical stimuli from the surrounding environment. Those signals are sensed by the organism which in turn triggers a series of physiological responses, such as metabolism of nutrients and shifting in energy allocation, which promotes proper synchronization among conspecifics and to seasonal conditions, thus enabling improved reproductive performance. The alterations on climate conditions associated with the unprecedented high levels of carbon dioxide in the atmosphere [1] are likely to affect those processes in a large number of vertebrate groups. Due to particular characteristics of aquatic environments, especially the higher thermal convection properties of water, subtle changes in hydrological parameters can induce a more direct and drastic modifications in metabolic and physiological processes of aquatic organisms, particularly in ectotherms [2].

In the last years, there has been growing evidence on the fundamental role of stress in response to environmental changes, driving the evolution of sex-determining mechanisms in teleost fish [3]. Although the stress hormone cortisol has generally a negative connotation associated with detrimental impacts in vertebrates, the stress response mechanism plays fundamental roles in the maintenance of many biological process essential for the organism’s homeostasis [4]. The involvement of cortisol in the physiological adaptation in catadromous or anadromous species during migrations between freshwater and marine environments [5] is one of many examples that demonstrate how essential the stress response is in the life cycle. Here we compiled the information on the involvement of stress hormone cortisol in environment-dependent sex determination with a focus on gonochoristic species and correlate them with recent advances on the regulation of stress axis at the brain level. We also present some considerations on sexual plasticity based on information from gonochorists and discuss new prospects in this field such as alternative mechanisms that potentially influence sex ratios, epigenetic-mediated sex reversal mechanisms, and finally concerns/perspectives related to current global climate change scenario.

Sexual plasticity in fish

Among vertebrates, the teleost fish appear as a group with a huge variability on sex determination mechanisms (Fig. 1), which together direct the gonadal fate decision. This large repertory of strategies is seen in closely related species or even in populations from the same species [6]. The reproductive organs in fish are extremely simple structures compared to those of mammals, composed mainly by gonads with somatic supporting-cells and germ cells. In most species, the gonads are typically paired organs, suspended along the roof of the coelom cavity, but in some species, one of the lobules regresses or fuses to another, resulting in a single, unpaired gonad in adults [7]. The gonadal primordia present an exclusive characteristic in terms of organ development because it differentiates antagonistically into two dissimilar organs, the ovary or the testis. In the beginning, the primordial germ cells (PGCs) migrate actively towards the marginal zone, reaching the coelom and establishing the gonadal primordium [8, 9]. As the PGCs colonize the gonadal primordium, they are arrested at G1/G0 phase of cell cycle, now termed embryonic germ stem cells (EGSCs), and become the precursors of spermatogonial stem cells (SSCs) in the testis and oogonial stem cells (OSCs) in the ovary. Then, during early gonadal differentiation, the somatic supporting-cell and steroidogenic cell lineages differentiate into Sertoli and Leydig cells in testes and granulosa and theca cells in the ovary, respectively [10].

Fig. 1
figure 1

Schematic representation of sex-determination systems diversity in vertebrates. The analysis was performed using the database of The Tree of Sex consortium [6]. The number of species reported and used in this analysis is represented below by drawings for each group of vertebrates. The size of the circle is proportional to the number of sex determination strategies in each group of vertebrates

An important characteristic of germ cells in fish that differs strikingly in relation to mammals is the presence of germ cells with stemness in adult gonads [11]. It has also been demonstrated that spermatogonial cells transplanted into a female host are able to generate oocytes [12, 13]. Conversely, oogonial cells transplanted into male recipients are able to differentiate and generate viable spermatozoa [14, 15]. The ability of oogonial cells to differentiate into male gametes has also been corroborated by masculinization induction in adult ovaries of Nile tilapia (Oreochromis niloticus) through long-term administration of an inhibitor of aromatase (involved in the synthesis of estrogens) [16]. Remarkably, this study also evidenced that ovarian somatic cells have undergone transdifferentiation to testicular somatic cells, with interstitial and granulosa cells being converted to Leydig and Sertoli cells, respectively. Although the plasticity of adult somatic cells had been already demonstrated for hermaphrodite species [17] and postulated for gonochorists (both categories of gonadal differentiation are explained below) with basis on the recurrent appearance of intersex gonads upon hormonal manipulation in adults [7], the elucidation of the molecular process involved in such differentiation demonstrates that somehow the liability of gonadal sex in gonochorists persists even in adulthood. Thus, this plasticity in both germ and somatic cell lines, and the rudimentary gonadal structure may somehow underlie the sexual plasticity of fish gonads. At environmentally relevant or normal conditions, gonochorists may probably rely on suppressing mechanisms that avoid the formation of sexual ambiguity or complete sex reversal at later stages, as proposed by some authors [18, 19].

Gonochorists and hermaphrodites are differently categorized based on the way the gonad differentiation progresses [7]. In gonochorists, the gonadal sex is generally determined during embryonic or larval stages following genetically programmed or environmentally modulated pathways, strategies described below and known as sex determination mechanisms. In this category, the destiny of the gonad cannot be reverted anymore, at least under normal conditions. On the other hand, the hermaphrodites include species in which gonadal differentiation can shift from one to another gonadal sex depending mainly on social factors or those that can bear simultaneously both testicular and ovarian tissues [20]. However, the fact that hermaphroditism has arisen independently several times during teleost evolution [21] (e.g. carps and seabasses) illustrates that gonochorism–hermaphroditism transitions undergo with a high likelihood in this group of vertebrates. The majority of fish species are characterized as gonochorist of the differentiated type, but there are also few cases of undifferentiated gonochorists, in which a “juvenile hermaphrodite/intersex” stage is preceded by either ovarian or testicular differentiation [9, 22].

At the molecular level, fish also show high plasticity in the differentiation process of the gonad, conferring to this group a great repertoire of possibilities in front of diverse aquatic environments, being able to occupy different ecological niches. For this reason, alteration in environmental conditions, particularly temperature, has a tremendous impact on reproduction in fish species [23]; this effect is especially perdurable during the early steps of organogenesis, such as the gonadal fate decision.

Environmental sex determination and stress response

In ectotherm animals, such as fish, amphibians, and reptiles, environmental changes can affect severely whole-body homeostasis. Several environmental cues have been related to sexual fate, particularly in fish [19, 22, 24, 25], whose habitats are susceptible to variations in many physico-chemical factors [2]. This occurs through the action of an array of environmental parameters that can be divided into biotic and abiotic factors (Fig. 2). Social factors are biotic factors that can change the sex ratio and represent a fascinating adaptive sex determination mechanism, mostly in hermaphrodite fish. However, in some gonochoristic fish, the population density can also affect the sex ratio. For instance, in Anguilliformes, the population density seems to be crucial for sex determination (revised by [26]) and dependent on the species, whereby high (Anguilla japonica) or low rearing densities (A. rostrata) induced male-biased sex ratios. Thus, sex reversal in Anguilliformes fish is observed only in the opposite density where these fish commonly live in the wild.

Fig. 2
figure 2

Summary of the biotic and abiotic factors characterized in the Environmental sex determination system. The scheme shows the outcomes of single environmental factors and not the interaction between them. Numbers between square bracket are the references for each example: Geffroy and Bardonnet [26], Shang et al. [31], Thomas and Rahman [33], Cheung et al. [36], Rubin [40], Reddon and Hurd [42], Brown et al. [45], Corona-Herrera et al. [46], Hayasaka et al. [47], Strüssmann et al. [52], Ribas et al. [62], Hattori et al. [69], y Castañeda-Cortés [96]

Among abiotic factors, changes in dissolved oxygen (DO) is an important source of environmental stress. Conditions of hypoxia (low levels of DO) occur naturally in estuaries, seasonal coasts, and inland waters due to periodic variations. Nevertheless, those hypoxic conditions tend to increase significantly due to large discharges of pollutants by anthropogenic activities in water bodies [27,28,29,30]. The critical scenario is highly influenced by increasing water temperature due to climate change which reduces the levels of DO. Currently, it is considered as one of the most important threats to aquatic environments, with implications on ocean productivity, biodiversity, and biogeochemical cycles [30]. In relation to sex determination, hypoxia has been highly correlated with male-biased sex ratio in zebrafish (Danio rerio), medaka (Oryzias latipes) and African cichlid (Pseudocrenilabrus multicolor victoriae) [31,32,33,34,35].

Another abiotic factor that can induce sex bias is the pH. The acidification of waters by increased CO2 emissions associated with climate change is predicted to cause widespread changes on marine and freshwater ecosystems, with concomitant effects on fish growth, behavior, and reproduction, which in turn affects species interactions and ecological processes [36,37,38], including transgenerational effects [39]. Moreover, high CO2 influences the sexual differentiation in the offspring of several species of poeciliids (swordtail Xiphophorus helleri and black-bellied limia Poecilia melanogaster) and cichlids (Apistogramma spp. and Pelvicachromis pulcher) [40,41,42], by inducing male- or female-biased ratios, at acid or basic pH, respectively. Impacts of pH have to be better evaluated in marine species since acidification is also progressing in the oceans.

Fish sex determination is also susceptible to physical factors, such as light and temperature. Light is an important physical factor in the aquatic environment and it has been linked to growth and survival, skin color, behavior, reproduction, and stress response in fish [43, 44]. Although photoperiod has been mostly studied in relation to the modulation of the reproductive season [45], few studies have been focused on the effects of light on the fate of sex. In the California grunion (Leuresthes tenuis), in which female-biased sex ratios are associated with long day lengths at early breeding season, similar photoperiod was consistent with more females and likely adaptive through increased size and fecundity in females [45]. In another silverside, the Chirostoma estor, rearing under continuous illumination induced a male-biased sex ratio [46], reinforcing the high susceptibility of sex to photoperiod conditions. In this sense, phenological changes associated with climate change in spawning could also make offspring to be exposed to longer or shorter photoperiods, with concomitant impact on sex ratios in wild populations. Recently, a study in medaka embryos irradiated with green light during the gonadal sex determination period triggered sex reversal of genotypic female (XX) to phenotypic males, with secondary sexual characteristics and full testis development [47]. Interestingly, when these neo-males (XX) were paired with wild-type females (XX), no sexual behavior and spawning were observed, demonstrating an impact on mating behavior. Furthermore, the artificial insemination of neo-male (XX) sperm with wild-type (XX) female produced all-XX offspring with female phenotype [47], without intergenerational impacts on sex ratio.

Water temperature is probably the physical factor that receives more attention from the climate change perspective and the most studied form of environmental sex determination in fish [24, 48,49,50]. The relative easy manipulation of temperature and several ways to record thermal data also make this factor to be investigated in many fish species. A shared characteristic of most fish species in which thermal stress (especially high temperatures) can alter sex bias during early development is the masculinization. Exposure to cool temperatures only modified the sex ratio to females in a few species [3, 22, 24, 51]. One of the most studied families is the Atherinopsidae, which presents several species with well-characterized temperature-dependent sex determination (TSD) [52]. In many atherinopsids or silversides, female-biased progenies can be obtained when larvae are maintained during the critical period of sex determination at low temperatures and, conversely, male-biased at high temperatures; this group is considered as the teleosts with highest TSD pattern reported to date. In these species, apart from masculinization, which is expected due to global warming, feminized fish have also been detected in the wild [53, 54]. Indeed, in spite of a gradual increase in average global temperature, the frequency of extremely low or high thermal conditions has increased significantly [55] and the unusually colder temperatures could be implicated in feminization. In other species with reported thermal influences on sex ratios, extreme temperatures, especially the highest ones, are more effective in causing sex ratio distortions [22, 24, 49, 56]. Although the mechanisms of low-temperature-induced feminization are not clarified in fish, the masculinization of genotypic females (XX) exposed to high temperatures is known to involve stress response, whereby cortisol acts as a key mediator between high temperature and maleness [24, 25, 51, 57, 58]; cortisol is considered an important player in other forms of Environmental Sex Determination (ESD; described below).

Another interesting point of thermosensitivity in fish, which could be operational for other forms of environmental stressors, is the high heritability and the existence of different patterns of response, as demonstrated in tilapia [59,60,61] and zebrafish [62]. In fact, it has been well demonstrated that fish can display different responses when they are subjected to environmental stimuli since stress response is a physiological process that can be influenced by factors such as genetic background, developmental stage, previous exposition to the stressor, exposition of parental fish, and rearing in captivity or in the wild [4]. Those factors could justify the differences in response to the same parameter not only under laboratory conditions [62,63,64] but also in the way that wild populations may cope with single or multi-stressors, biotic and/or abiotic factors, in natural environments.

The functional plasticity of sex-determining and sex-related genes

The plasticity on the mechanisms of sex determination in fish is also observed in the genes involved in both ovarian and testicular determination/differentiation. From the early theories that both environmental and genotypic sex determination (GSD) systems were mutually exclusive [65], the findings of sex-determining genes in species characterized as typical TSD and, conversely, the description of TSD in species with well-characterized sex-determining genes have provided clear evidence that both systems can co-exist in the same species [53, 66,67,68,69]. Also, since the boundary between these two mechanisms is dependent on several conditions of the external environment and intrinsic features of the organism (e.g. genetic background, physiological status), both systems are considered as extremes of a continuum.

Our understanding of the sex determination/differentiation plasticity has been increasing due to the discovery of new sex-determining genes in gonochoristic teleosts. Our current view supports that the evolution of those genes does not follow a strict hierarchy and universal conserved trend. Considering that in many groups, it is common to find species with male or female heterogametic systems such as medaka, tilapia, and also in both gonochoristic and hermaphrodite species, which is the case of seabasses, demonstrate the choice for different reproductive strategies, even in phylogenetically closely related species. The susceptibility of sex determination to environmental factors also represents another source of instability for GSD and may promote either “the fall or the rise” of new sex-determining genes at higher frequencies compared to other homoeothermic vertebrates [70].

The large repertoire of sex-determining genes (and candidates) described in fish [71,72,73,74,75] includes the well-known dmrt1- and sox3-related genes, such as sox3Y and dmy in medakas, and dmrt1 in tongue sole (Cynoglossus semilaevis), which are transcription factors from the same families of eutherian mammals Sry, Dm-w of African clawed frog, and DMRT1 in birds. However, there are some players with functions that are not necessarily linked with sex determination, such as sdY and hsd17b1. Another group that is receiving great attention belong to the TGF-β (transforming growth factor-beta) superfamily (gsdf, amh, amhrII, and gdf6), especially the amh (anti-Müllerian hormone) gene, which has been recruited for determination of sex by many phylogenetically unrelated groups (amhy in silversides, tilapia, and northern pike) [75, 76].

In the case of hermaphrodite species, no sex-determining gene has been described so far. Since these species rely on an environmental sex-determination system that can produce the minority sex or gametes according to the population demand, it would become superfluous and thus negatively selected along evolution. In this regard, groups with species possessing both gonochorists and hermaphrodite populations [9] could be an interesting material to explore the evolutionary transitional process between these reproductive strategies.

Along with the rise of new major testis-determining genes that have been unraveled, a reorganization or subfunctionalization of downstream genes involved in the process of gonad differentiation seems to occur, especially in the male pathway. While the female pathway seems to be more conserved, especially the ovarian aromatase cyp19a1a and its regulator foxl2, the male pathway shows several alternative players, even in closely-related species, such as in South American silversides Odontesthes bonariensis and O. hatcheri [77]. The plasticity of the downstream mechanism seems to be a common trait along with diverse animal groups. In view of the female default hypothesis, it seems plausible that sex-determining genes have to act to block the female pathway [78], as demonstrated through functional analysis of many sex-determining genes. However, it is also intriguing that the suppression of female-related genes such as foxl2 and cyp19a1a [79] may be sufficient to induce testicular differentiation in some cases. It is becoming evident that many of these genes, apart from promoting proper gonadal development, act by suppressing continuously the opposite sex. In fact, this is a very peculiar characteristic of the development of gonads in gonochorists, which are committed to either the female or male outcomes, whereby disruption of a testis or ovary-related gene generally promotes the differentiation of a normal organ of the opposite sex, without compromising its functionality, i.e., either female or male gonads are formed with the production of viable gametes. These findings converge to the notion that mutually controlled antagonism [80] is also a prevailing rule of sex determination, at least in gonochoristic teleosts. The maintenance of suppression over sex-related genes of the opposite sex even at later developmental stages would be critical to avoid ovary-to-testis or testis-to-ovary transdifferentiation in adults, which is a key property of hermaphrodite species.

Brain and gonadal connection during environmental sex determination

The high plasticity of the gonadal fate in fish, which is related to environment-induced sex reversal, is also evidenced in the brain [81]. The communication between the brain and gonad has been largely studied, with most of the focus on the hormonal connection during reproduction through the hypothalamic–pituitary–gonadal (HPG) axis [82]. This axis regulates the secretion of gonadotropin-releasing hormone (GnRH), which in turn modulates the release of two gonadotropins by the pituitary, namely follicle-stimulating (FSH) and luteinizing (LH) hormones. These two hormones reach the main target reproductive organs (ovary or testis), bind to their specific receptors, and finally regulate the synthesis of sex steroids in the gonad, such as testosterone, 11 keto-testosterone, progesterone, estradiol, among others. These hormones are key modulators of gametogenesis and act by regulating downstream pathways not only in the gonad but also in the brain through reciprocal positive and negative feedbacks [83, 84]. Although the participation of the hypothalamus and pituitary on gonadal development and maturation in teleost fish has been largely studied, their role in sex determination is limited to a few species. For instance, in European sea bass (Dicentrarchus labrax L.) it was observed that gnrh and fsh transcripts were up-regulated at the time of morphological gonadal differentiation [85]. Moreover, FSH bioactivity in plasma showed dimorphic capability intensity, higher in females than in males in this [86] and other teleosts [87,88,89]. FSH was also reported to induce direct stimulation of gonadal aromatase (cyp19a1a) [90, 91] and a mutation on fsh receptor decreased estradiol synthesis and induced female-to-male sex reversal in medaka [92]. In pejerrey, it was observed that GnRH and both gonadotropins were increased at high masculinizing temperature in the preoptic area (POA) of the brain and in the pituitary, respectively [87, 89]. In this regard, Blázquez and Somoza [93] have also postulated that the brain participates in the late gonadal differentiation through the regulation of GnRH and brain aromatase (a paralogue of gonadal aromatase, named cyp19a1b), which together reinforce the importance of estrogens in the development of ovaries and highlight the participation of the HPG axis on early gonadal development. In a recent study, gnrh3-null zebrafish exhibited a high proliferation of embryonic germ stem cells and a male-biased sex ratio, which also supported the involvement of the gnrh with sexual fate [94]. However, in spite of such progresses on the brain and gonad connection, the direct influence of the brain on gonadal fate, including the role on ESD still needs to be more explored (Fig. 3).

Fig. 3
figure 3

Schematic representation of brain and gonadal connection during Environmental Sex Determination (ESD). The action of hypothalamic–pituitary–gonadal axis in ESD is represented by blue labels and arrows, blue dashed arrows represent the participation of FSH in normal conditions of sex determination. The role of hypothalamic–pituitary–adrenal/interrenal axis is represented by orange labels and arrows. Numbers between square brackets are the references for each step, Adolfi et al. [18], Molés et al. [85], Molés et al. [86], Mianda [87], Chen et al. [88], Miranda et al. [89], Montserrat et al. [90], Yamaguchi et al. [91], Fernandino et al. [95], Castañeda-Cortés [96], Uchimura et al. [100]

As we mentioned above, female-to-male sex reversal in fish is induced by elevation in the levels of the stress hormone cortisol during the thermolabile period of sex determination [57]. This glucocorticoid is synthesized in the adrenal/interrenal in response to environmental stress and released into blood circulation. If we consider that all factors involved in ESD, both biotic and abiotic, can be sensed as stress [24], it is reasonable to establish the cortisol as the key hormone in environmentally induced sex reversal, as corroborated in several fish species [51]. Based on these findings, two major questions related to the role of cortisol have arisen. The first one is how cortisol was able to trigger sex reversal. In this regard, it has been elucidated that the elevation of cortisol by an environmental stressor implies the elevation of enzymes involved in its deactivation. These enzymes, encoded by hsd11b2 and hsd11b3 are shared by the androgen pathway in the synthesis of 11-ketotestosterone (11-KT), the most potent androgen in fish and whose elevation causes the development of testes. Thus, the masculinization induced by environmental stressors can be considered as a consequence of cortisol biogenesis with the concomitant synthesis of 11-KT [95]. This elevation of cortisol and androgen synthesis were reported to regulate the transcription of downstream genes involved in the differentiation of the gonads in different species, such as dmrt1a, gsdf, cyp19a1a, and fshr [58, 96, 97] (Fig. 3).

The second question is how cortisol regulation occurs during early stages of development. It is well known that the hypothalamic–pituitary–adrenal/interrenal (HPA/I) axis is involved as the transducer of environmental signals, such as stress, which is well-characterized in adults [82, 98, 99]. Recently, the brain has been established as the switch of the environmental sex determination mechanism in fish, directing the development of the bipotential gonad into the testes direction when embryos are exposed to a thermal treatment [96]. This is possible by a temporal coincidence between the high expression of corticosteroid-related hormone type b (chrb) in the brain and the high plasticity of the gonadal primordium during the gonadal sex determination period. Thus, the synthesis of Crhb in the hypothalamus upon environmental stress induces the release of the adrenocorticotropic hormone (Acth) from the pituitary through binding to two Crh receptors, to promote the synthesis and release of cortisol from the interrenal gland [96]. To build up connections between crhb regulation and thermal stress, the involvement of chaperones was investigated in medaka and it was demonstrated that the heat shock proteins hsp70.1 and hsp30 were able to up-regulate the transcription of crhb upon heat stress [100]. In vertebrates, all stress-related inputs are conveyed to the hypothalamus nucleus where CRH is synthesized. In this regard, some neurotransmitters, such as norepinephrine (NE) have also been found to regulate CRH in mice [101, 102]. Thus, the connection between the regulatory mechanisms of Crh in relation to other forms of environmental stress may represent an interesting field of study to furthering the upstream regulation of ESD in fish.

Epigenetic contribution to gonadal sex differentiation

It has been well established that environmental conditions can shape chromatin landscapes, as DNA methylation or histones modification, emphasizing the importance of studying epigenetics in the context of the phenotypic plasticity observed in fish gonadal differentiation. Gonadal plasticity influenced by environmental conditions can be considered more as a rule rather than the exception in fish. This could tell us that in fish the epigenetic pathways may represent a conserved adaptive mechanism that integrates both genomic and environmental information to control the destiny of gonads.

DNA methylation

Changes in DNA methylation, typically in the position 5 of cytosine, affect many developmental processes by repressing some regulatory regions of the genome. Sexual differentiation in gonochorists involves a certain antagonism between testis and ovary development pathways, wherein DNA methylation seems to play a pivotal role in the mechanisms of gene suppression [103]. In 2011, Navarro-Martin et al. [104] first described in juvenile males of European sea bass that the promoter of gonadal aromatase (cyp19a1a) had twice more methylation in relation to females. Moreover, exposure to high temperature increased the cyp19a1a promoter methylation levels compared with females, indicating that induced masculinization involves the transcriptional repression mediated by DNA methylation in female-related genes. In agreement with this, for other gonochoristic species, such as Japanese flounder and Nile tilapia, promoter regions of cyp19a1a were also differentially methylated and correlated with expression levels [105, 106]. Methylation in promoters of other candidate genes, such as dmrt1 and foxl2, shows a similar pattern [106]. In this regard, the idea on epigenetic repression of gonadal sex differentiation genes has been postulated by Piferrer et al. [103] and implies that antagonistic DNA methylation of “pro-female” and “pro-male” genes comprises one of the main molecular mechanisms of gonadal differentiation. However, this binary epigenetic regulation is still a debate on whether DNA methylation is a cause or a consequence of the final outcome to initiate and/or to maintain sexual identity.

According to this notion, sex-related differences in global DNA methylation have been observed in various chromosomal DNA of Nile tilapia gonads [107]. This difference may indicate the important role of epigenetic modifications in fish gonadal development under normal conditions. However, apart from high temperature-induced males, high temperature-treated females also presented an increase in methylation levels on various chromosomes [107]. A recent study in the tiger pufferfish (Takifugu rubripes) using DNA from gonads of male, female, and pseudo male (by using a low-temperature treatment on females) concluded that changes in DNA methylation observed at higher or lower temperatures may just represent a consequence of the reared temperatures and not a specific epigenetic pathway activated to induce masculinization [108]. Nevertheless, another study conducted in the Chinese pond turtle (Mauremys reevesii), a species with a strong TSD in which female differentiation is induced at higher temperature, it has been demonstrated that some genes involved in the DNA methylation and demethylation processes are significantly different in developing gonads [109]. Specifically, the expression of DNA methyltransferases (dnmt1 and dnmt3b) and demethylases (tdg, tet1, tet2, and tet3) were higher at male- than at female-inducing temperature. This result raised the interesting possibility that the neofunctionalization of epigenetic regulators, via genomic duplication, contributes to the sexual plasticity seen across teleost fishes. Moreover, they observed higher methylation on male-related genes (dmrt1, sox9, and amh) at female-promoting temperatures; oppositely, higher methylation on female-related genes (cyp19a1a and foxl2) were found at male-promoting temperatures, establishing a balance of methylation, to determine the individual sex (Fig. 4). Nonetheless, it should be noted that all previous studies have been made on the entire gonads and DNA methylation patterns may differ depending on the cell type. Thus, DNA methylation levels reported up to now in the gonads represent the combined values of the different cell types and, therefore, further studies focusing on single-cell analysis approaches would provide a more accurate view behind these mechanisms.

Fig. 4
figure 4

Model of sex determination in environmental stress mediated by the epigenetic balance between DNMTs and TET enzymes. a Bipotential stage of sex determination, Promoter of female genes (PFG) and promoter of male genes (PMG) are at the poised state. b Environmental stressors affect the methylation/demethylation status of PMG or PFG and the respective sex

Histone modifications

Another epigenetic mechanism of transcriptional regulation is the post-translational modification of histones, such as methylation, acetylation, deacetylation, phosphorylation, ubiquitination, and sumoylation [110]. Histone methylation is associated with both active and repressive transcriptions [111]. For example, the H3K4me3 (Histone 3 Lysine 4 trimethylation) established at Trithorax group (TrxG) proteins is indicative of transcriptionally permissive chromatin states and is mostly found in the promoter regions. H3K36me3 is associated with euchromatic regions involved with active transcription and primarily found in gene bodies. In contrast, H3K27me3 catalyzed by Polycomb group (PcG) proteins and H3K9me3 catalyzed by G9a methyltransferase are associated with transcriptional repression [112]. On the other side, histone acetylation mediated by histone acetyltransferases (HATs) is associated with active transcription while histone de-acetylation exerted by deacetylases (HDACs) silences transcription [113]. Although many aspects of histone modifications and nucleosome architecture have been extensively described in several biological systems, very little is known in the context of gonadal sex differentiation.

In European sea bass, exposure of larvae to high masculinizing temperatures increased the expression of genes encoding PcG proteins (pcgf2, jarid2a, and suz12) and histone-modifying enzymes (ehmt2 and hdac11) in early-differentiating female gonads [114]. In rice field eel, repression of cyp19a1a in developing testis is associated with epigenetic repressive marks, including H3K9 deacetylation and trimethylation [115]. These data support a central role of histone modifications and chromatin remodeling in shaping gonadal differentiation. More studies in gonochoristic fish will be determinant to clarify the participation of these epigenetic modifications, especially on key sex-related genes, under normal and environmentally stressful conditions.

Environment-mediated intergenerational implications of sex reversal

The intra- and trans-generational heritability is receiving special attention in recent years, owing to the characterization of epigenetic inheritance mechanisms, especially to those related to the effects of early exposure to stressors. One of the most surprising examples of epigenetic plasticity is the environmentally sensitive sexual development observed in the flatfish half-smooth tongue sole. In this species, under normal temperature conditions, ∼14% of ZW genetic females are reversed to phenotypic males (pseudomales) and at higher temperatures, the sex reversal rate reaches ∼73%. Interestingly, sex-reversed pseudomales are fertile, and their ZW-F1 offspring exhibit an extremely high sex reversal rate (∼94%) at normal temperatures [61]. Remarkably, methylation patterns in testis from pseudomales (ZWm) resemble those in true parental males (ZZ), but also in ZWm-F1 offspring (less than 0.01% variation among them). In contrast, differentially methylated regions between testis and ovary represent approximately 4% of the genome and are enriched in sex-determining pathways. This male bias was generated by the epigenetic transmission of DNA methylation-altered states in other genes involved in the testis development, resulting in similar expression levels observed in the well-know compensatory mechanism in ZZ males. These results indicate that environmental sex reversal can override the predisposed genotypic sex through epigenetic regulation, and this mechanism can be transmitted across generations; however, the mechanisms implicated in this intergenerational inheritance are largely unknown.

Concerns related to environmental stress impacts on fish sex determination

Throughout this review, we have provided numerous examples of environmental factors that are able to affect the normal development of the gonads and change the biological sexual fate in fish, as well as the respective associated molecular, epigenetic, and endocrine mechanisms. The evolution of this high diversity of reproductive strategies seems to have been supported by the extraordinary plasticity of the gonads, especially during early stages of gonadogenesis. Moreover, there have been growing pieces of evidence that place the mechanisms of the stress response as one of the key players behind the remarkable sexual plasticity in this vertebrate group, with the stress hormone cortisol as a key endocrine activator.

In this regard, there has been an increased concern on the impacts of environmental stress associated with global climate change due to higher frequency of extremely low or high temperatures, outside the range of optimum or tolerable conditions in recent years. These changes represent important implications because natural selection normally directs the evolution and adaptation of the organism to an environment in a process that occurs for many generations; however, anthropogenic changes in the environment are occurring rapidly, which could exceed the adaptive capacity of organisms. It must be pointed out that global climate change poses a threat especially to species with ESD if adaptation does not occur rapidly enough to avoid highly biased sex ratios and their respective population consequences [116]. For example, this rapid adaptation has been studied in turtles with TSD, presenting potential adaptive directions to local climate change in their populations [117]. Although similar adaptations to different environments have been observed in fish populations [118], the effects of human impact are obvious albeit largely unknown in natural conditions, especially in terms of species adaptability.

Since the last decade, from the studies under laboratory conditions, we begin to estimate the impact of environmental stressors on wild populations of pejerrey, predicting that they are at risk of masculinization due to global increase in water temperatures. Recently, a good correlation of high temperature and male bias in laboratory and wild populations has been observed in another fish species, the Southern flounder (Paralichthys lethostigma) [119]. Nevertheless, there may be differences between the estimated effects on the wild environment based on experiments at laboratory conditions and the real effects in the wild, considering that in the first the results are generally for a single environmental factor whereas in the wild there is a wide range of environmental factors in constant change that could impact additively the process of sex determination. In this regard, integrative studies using a combination of environmental stressors are necessary to clarify the synergic, inhibitory or antagonistic effect of several stressors on gonadal sex determination.

A great concern related to environmental parameters that affect sex determination is that most of the climate change-associated disturbances such as high/extreme temperatures, acidification or hypoxia are associated with male-skewed sex ratios and even with all-male progenies in many fish species. Other factors that are expected to be affected include phenological alterations in spawning due to changes in marine currents or increased stochastic events (typhoons or storms) which have been associated to global warming, making fish to be exposed to unusual photoperiod or temperature conditions that could induce sex reversal or sex ratios distortions. In rivers and lakes, the intensification of droughts during either El Niño or La Nina events can bring about alterations in water quality parameters (higher concentration of ions, pollutants or organic matter) and also in biotic factors (density, species interactions or harmful algal blooms) that could act synergistically and thus enhance significantly the induction of stress responses in these environments. Therefore, the assessment of climate change impacts does require the analysis of multiple biotic/abiotic parameters at many conditions (not necessarily extreme) in association with in situ evaluations and wild population surveys for sex genotype–phenotype mismatches, since the process of population collapse driven by reduced reproductive potential and population growth due to male-skewed sex ratios [67] could be already in course for many fish species.

Another factor that should be considered in futures studies of environmental influence on sex ratio is the combinatory effect with endocrine-disrupting chemicals (EDCs) exposure. Due to the high influence of sex steroids on gonadal fate, the imbalance of sex steroid action due to the presence of anthropogenic EDCs [120] presents a growing concern in the study of Environmental EDCs by their high presence in aquatic habitats. EDCs can act as (anti)estrogenic and (anti)androgenic compounds, affecting the normal gonadal differentiation [120]. Moreover, their synergic effect with abiotic factors has been demonstrated [121], which makes it necessary to extend these evaluations at environmentally relevant concentrations biotic and abiotic factors.

Besides assessing those environmental impacts, integrative approaches including the evaluation of the capacity for fish populations to cope with those adverse conditions are critically important. Will fish be able to adjust or buffer the impacts of sex ratio distortions in response to the fast pace of climate changes? At what conditions the transgenerational effects can bring advantages to overcome the negative effects of sex ratio bias? Can maternal influences affect transgenerationally offspring ESD? More accurate and long-term evaluation of individual responses to climate change impacts will be crucial to answer those queries and to increase our understanding of the remarkable diversity and plasticity of fish sex determination.