Lab-in-a-Tab

How a Nest's Temperature Decides Sex

A turtle egg has no X or Y. Whether it becomes male or female is settled by how warm the sand is - and the whole switch turns inside about three degrees.

Sex determinationTemperatureClimate
Try thisSet Shade over the nest to zero and put How warm the beach is on 27. Now raise it one tenth of a degree at a time. For a while almost nothing happens - then, somewhere near the middle, the eggs start flipping colour fast. Find the temperature where the change is quickest. Then push How warm the beach is up to 32 and try to rescue the clutch using Shade over the nest alone.
What you're seeingA beach cut open. The sun is up on the left; the green canopy is shade cloth of the kind people really do put over nests. The colour of the sand is its temperature - blue is cool, orange is hot - and the thermometer on the left reads it, with the 29 °C mark in yellow. In the middle sits the clutch, about a hundred eggs half a metre down, each one coloured by what this temperature is turning it into. The graph underneath is the rule itself.
What to notice
It is a switch, not a dial - and the whole switch is about three degrees wide. Out at the ends a tenth of a degree changes nothing, because everything is already one sex. In the middle, the same tenth of a degree moves real numbers of hatchlings. That is why a warming beach is such a problem: you do not get gradually fewer males, you get almost none rather suddenly. And it is why shade cloth is worth the trouble - a degree or two is a small change in the weather but most of the width of the switch.

No chromosome decides it - the sand does

Junior level — plain language, no maths

For you, the question was settled at conception. You got an X or a Y from your father, and that was that - nothing that happened afterwards could change it. Sea turtles do not work like this at all. A turtle egg carries no sex chromosomes whatsoever. When it is laid, buried half a metre down in the sand, it is genuinely neither. What decides is the temperature of the sand around it.

Cool sand makes sons. Warm sand makes daughters. There is an easy way to remember it: hot chicks, cool dudes. And the switch is not gentle - it is startlingly sharp. At about 29 °C a clutch comes out roughly half and half. Drop a degree and a half and you get almost nothing but males. Raise it a degree and a half and you get almost nothing but females. The entire span from all-male to all-female fits inside about three degrees, which is less than the difference between a sunny patch of beach and a shaded one.

Move the temperature slider in the simulation and watch the eggs change colour. What you should notice is how little you have to move it. A tenth of a degree does almost nothing out at the ends, but near the middle a tenth of a degree shifts real numbers of hatchlings from one sex to the other. It is a switch, not a dial.

This matters now more than it used to. Beaches are getting warmer, and on some of them the sand has already passed the point where any males are produced at all. On Raine Island, off the coast of Australia, more than 99 out of every 100 young green turtles are now female. That is why people go out and put shade cloth over nests, or water them, or move them to cooler sand - all of which sounds absurdly fussy until you realise that a couple of degrees decides whether a beach makes any males at all. Try the shade slider and see how much it buys.

Things worth knowing

  • Turtle eggs have no sex chromosomes at all. At about 29 °C a clutch comes out half and half; the entire range from all-male to all-female fits inside roughly three degrees.
  • On Raine Island off Australia, more than 99% of young green turtles are now female. The sand there has warmed past the point where males are produced.
  • Shade cloth over a nest lowers its temperature by a degree or two — which sounds trivial until you realise that is most of the width of the entire switch.

Pattern Ia, the pivotal temperature and the thermosensitive window

Student level — the core equations

Sea turtles, all crocodilians, the tuatara and most turtles use temperature-dependent sex determination (TSD) rather than sex chromosomes. Chelonians follow pattern Ia: females at high temperature, males at low, with a single transition. The response is a steep logistic about a pivotal temperature \(T_{\text{piv}}\) at which the sex ratio is 1:1, typically 28.5-29.5 °C depending on species and population, with a transitional range of temperatures spanning roughly 27.5 to 31 °C from all-male to all-female.

Two details matter more than they look. First, sex is not set across the whole incubation but during the thermosensitive period, the middle third of development - roughly days 20 to 40 of a 60-day incubation. Temperature before or after that window has essentially no effect on sex, though it still affects development rate. Second, a large clutch generates metabolic heating of 1-3 °C, but it peaks in the final third, largely after the window has closed. That timing is why a naive average of nest temperature over the whole incubation misestimates the sex ratio.

Incubation duration falls steeply with temperature, from about 75 days at 26 °C to under 50 at 32 °C, which gives field biologists a useful proxy: dig up a nest after hatching, count back from the emergence date, and you can infer the temperature and hence the likely sex ratio without ever having buried a logger.

The physics of the sand is worth knowing too. A temperature wave at the surface damps exponentially with depth, with a characteristic damping depth \(d = \sqrt{2\alpha/\omega}\). For sand that is about 9 cm for the daily cycle but around 1.7 m for the annual one. A nest at 45 cm therefore feels essentially no day-night swing at all - it is buried far below that - while tracking the seasonal mean almost fully. Turtle nests are, quite precisely, deep enough to ignore the weather and shallow enough to feel the climate.

Key Formulas

Sex ratio\(f(T) = \dfrac{1}{1+e^{-(T-T_{\text{piv}})/s}}\)fraction female
Pivotal temperature\(T_{\text{piv}} \approx 28.5\text{–}29.5\ ^\circ\text{C}\)
Transitional range\(\approx 27.5\text{–}31\ ^\circ\text{C}\)
Thermosensitive period\(\text{middle third of incubation}\)
Incubation duration\(\approx 60\ \text{d at } 29\ ^\circ\text{C}\)75 d at 26, 48 d at 32
Damping depth in sand\(d = \sqrt{2\alpha/\omega}\)~9 cm daily, ~1.7 m annual
Thermal limit\(\approx 33\text{–}35\ ^\circ\text{C}\)embryo mortality

Things worth knowing

  • Sex is set only during the middle third of incubation. Metabolic heating from a big clutch peaks in the final third — mostly after the window has already closed.
  • Incubation duration is a free thermometer: about 75 days at 26 °C and under 50 at 32 °C, so counting back from the emergence date estimates the sex ratio with no logger buried.
  • The daily temperature wave damps out within about 9 cm of sand but the annual one reaches 1.7 m. A 45 cm nest ignores day and night entirely and tracks the season almost fully.

The molecular switch, why the system persists, and how little margin is left

Scholar level — full mathematical depth

01An old system, not a primitive one

TSD is not a relic awaiting replacement by chromosomes. It is distributed across amniotes in a pattern implying repeated transitions in both directions - genotypic systems have arisen from TSD and reverted to it many times, and closely related lizards can differ. Any explanation must therefore account for TSD being actively maintained, not merely tolerated.

02Why selection tolerates it: Charnov-Bull

The standard adaptive model holds that TSD is favoured when the developmental environment differentially affects male and female fitness, and when the parent cannot control which environment an offspring gets. If warm nests happen to produce offspring that do better as females and cool nests offspring that do better as males, then letting temperature assign sex outperforms a coin flip. The model is well supported in some lizards, where laboratory-manipulated sex-by-temperature mismatches reduce fitness measurably. In sea turtles it remains plausible but hard to test, because confirming it requires fitness data across a thirty-year generation time.

03The switch, molecularly

The proximate mechanism runs through temperature-sensitive expression of the histone demethylase \(Kdm6b\), which is upregulated at male-producing temperatures and removes repressive H3K27me3 marks from the promoter of the male-determining gene \(Dmrt1\), de-repressing it. Knock down \(Kdm6b\) at a male-producing temperature and the gonad feminises regardless. At female-producing temperatures, aromatase (\(Cyp19a1\)) activity rises, converting androgens to oestrogens. Upstream, the calcium- and redox-sensitive channel \(TRPV4\) has been implicated as a candidate thermosensor. The system is therefore epigenetic: temperature is transduced into a chromatin state, not into a mutation.

04Why the window is narrow, and why that is dangerous

A transitional range of about three degrees means the population sex ratio is close to a step function of mean nest temperature. Under a warming climate this is a fragile design. The feminisation is already extreme in places: over 99% female among juveniles from northern Great Barrier Reef beaches. It is not immediately catastrophic - males mate more often than females and remate more frequently, so a skewed operational sex ratio is buffered for a while, and there is evidence of multiple paternity maintaining genetic diversity. But the buffer is finite, and the harder limit arrives sooner: embryo mortality climbs steeply above roughly 33-35 °C, so the same warming that removes males eventually removes hatchlings altogether.

05Why the population cannot simply move

Philopatry closes the obvious escape. A female returns to the magnetic signature of her natal region, so a lineage cannot relocate to cooler sand within a generation by choice. Adaptation would have to come from shifts in nesting phenology - laying earlier in the season, when sand is cooler - from nest-site choice within a beach, or from evolution of \(T_{\text{piv}}\) itself. Phenological shift is observed and is the fastest available response, but with a generation time of two to three decades the scope for evolutionary change in \(T_{\text{piv}}\) over the coming century is limited.

06What intervention can and cannot buy

Shading, irrigation and relocation all work, and all are measured in the same currency: about 1 to 2.5 °C. Set against a transitional range of three degrees, that is a large intervention - it can genuinely restore male production on a managed beach. Set against projected end-of-century warming at some rookeries, it is roughly one lever's worth and no more. Two honest caveats: watering nests alters moisture, which independently affects sex ratio and hatchling size; and relocation to cooler sand can reduce hatching success if the substrate differs. These are triage measures that buy decades, not a solution.

Key Formulas

Sex ratio\(f(T) = \left[1+e^{-(T-T_{\text{piv}})/s}\right]^{-1}\)
Pivotal temperature\(T_{\text{piv}} = 28.5\text{–}29.5\ ^\circ\text{C}\)
Switch width\(\text{TRT} \approx 3\ ^\circ\text{C}\)
Molecular switch\(Kdm6b \dashv \text{H3K27me3} \to Dmrt1\ \uparrow\)cool nests
Female pathway\(Cyp19a1\ (\text{aromatase}) \uparrow\)warm nests
Heat diffusion in sand\(T(z,t) = \bar T + A e^{-z/d}\sin(\omega t - z/d)\)
Damping depth\(d = \sqrt{2\alpha/\omega}\)α ≈ 3×10⁻⁷ m²/s
Intervention\(\Delta T \approx 1\text{–}2.5\ ^\circ\text{C}\)shade, irrigation, relocation

Things worth knowing

  • Temperature is read as an epigenetic switch: Kdm6b strips repressive marks off the male-determining gene Dmrt1 in cooler nests. Knock Kdm6b down and the gonad feminises whatever the temperature.
  • The Charnov-Bull model explains why TSD survives: when the nest environment affects male and female fitness differently, letting temperature assign sex beats a coin flip.
  • Shading or watering a nest buys 1-2.5 °C against a switch three degrees wide — a genuinely large lever, but only one, and embryo mortality begins near 33-35 °C.

Sources

Full article on Wikipedia ↗