Why do clownfish change sex?
Why Clownfish Change Sex From Male to Female
The short answer
Every clownfish is born male. When a group's only female dies, her mate turns female and takes her place, because a bigger body pays off most for egg-layers.
In this guide (6 sections)
The biggest clownfish in the anemone is gone. Maybe something ate her, maybe she just died, and suddenly the little household has no female at all. Then something wonderful happens, because almost at once her mate starts guarding the nest the way she used to, and over the following months his brain quietly starts turning female. Clownfish change sex because each group is run like a line of succession. Every clownfish is born male, and only the largest fish in the group is female. When she dies, her mate becomes female and takes her place, and every smaller fish moves up one spot. Starting out male makes sense because a bigger body pays off most for the fish that lays the eggs.
So the question isn't really how a fish can switch. It's why a whole society would be built around one empty throne.
The Queen Is Dead, Long Live the Queen
A small palace sits on a quiet hill. The queen rules from the throne, and her husband, the king, stands at her side. Behind them waits a line of princes, each one a little shorter than the prince in front of him, all living under the same roof and all hoping for the same chair.
One morning the throne is empty. Nobody sends for a stranger from another kingdom. The king steps up and puts on the queen's crown, the first prince takes the king's place, and every prince behind him shuffles forward one step. By lunchtime the palace runs exactly as before, with one fewer name in the line.
A clownfish anemone is that palace, and the crown always goes to the biggest fish. The largest clownfish is the female and the only one laying eggs. The second largest is her mate, the only male allowed to breed with her. Everyone smaller is a prince in waiting.
Here's where the palace and the reef part ways. A royal heir is ranked by birth, and the crown changes hands in a single ceremony. A clownfish heir is ranked by body size, and he can't simply wear the crown. His own brain and body have to be rebuilt to fit it, and that takes a very long time.

How Clownfish Change Sex, Brain First
A Line Sorted by Size
Clownfish live in small, tight groups around a single sea anemone. Researchers working in Kimbe Bay, Papua New Guinea, describe each group as a breeding pair plus up to four non-breeders. Those non-breeders don't lay eggs or father young. They just wait, and the order they wait in is written in their bodies.
Each fish is about 80% of the size of the fish just above it. That gap is no accident. Clownfish can control their own growth, and a fish that gets too big is trouble. When the team slipped in a newcomer larger than 80% of the breeding male's size, it was thrown out in 12 of 16 cases. A newcomer below that line was evicted in only 3 of 16. Stay small, and the palace lets you stay.
That control works in both directions. Researchers at Boston University have seen the flip side: put two rival males together, and they race to get bigger and become the dominant one. So clownfish aren't simply small. They size themselves to fit their rank.
The Day the Queen Disappears
Now the female vanishes, and her mate doesn't wait for permission. He starts taking on female behaviors almost immediately, such as aggressively defending the nest. Then the largest non-breeder moves up to become the new breeding male, and every fish behind him gains a place in line.
That's the whole reign changing hands, and nobody had to leave home. The throne is filled from inside the palace, one rung at a time.
The Brain Goes First
Behavior flips fast, but what happens inside the fish? Neuroscientist Justin Rhodes and his team at the University of Illinois set up a royal contest of their own. They put two males together in a tank and followed 17 pairs. Within minutes or hours, one male in each pair took charge and began acting like a female. As Rhodes put it, "they fight, and the winner becomes female."
The real change starts deep in the brain. A region called the preoptic area regulates the gonads, the organs that make eggs or sperm. In females it's much bigger, with roughly twice as many neurons as in males. Within six months, the winners' preoptic areas looked female.
Their bodies, though, were stubbornly unchanged. "The gonads stayed male while the brain was changing," Rhodes said. The team followed the fish for three years, and only 3 of the 17 winners went all the way to reproductive females. Just one of those three laid eggs. The rest sat in a strange holding pattern, female brains on top of male gonads, a new monarch who had moved into the throne room but never quite been crowned.
That surprises us every time. In Rhodes's words, it shows that "brain sex and gonadal sex can be uncoupled." The scientists still don't know exactly what those fish were waiting for. Maybe they needed to grow bigger first, or maybe the pair just didn't have the right chemistry.

Why Every Clownfish Starts Out Male
Biologists call an animal that changes sex partway through life a sequential hermaphrodite. Clownfish follow the male-first version, called protandry: a study of clownfish gonads in the Andaman and Nicobar Islands found that all juveniles start life as males and change into females as they grow larger. So why does nature let the boys go first?
The answer is in who does what. In a clownfish pair, the female is larger and defends the nest, while the male tends the eggs. A study in the Journal of Animal Ecology dug into breeding pairs from a well-studied wild population. Several things mattered, including how much breeding experience a pair had. But one contrast stood out: a pair's breeding success rose with the female's growth and size, and it had nothing to do with how big the male was.
That's the heart of the size-advantage hypothesis, the idea that animals should switch sex when a bigger body is worth more as one sex than the other. A small male can still tend the eggs just fine, but a bigger female means a more successful pair. Seahorses push the same split even further, which is why male seahorses get pregnant and carry the eggs inside their own bodies. So the smart plan is to spend your small years as a male and your big years as the female.
But why do the little princes stick around instead of starting their own kingdom? Because the world outside the palace is deadly. Clownfish are poor swimmers, and a fish crossing open water between anemones can be eaten. In one experiment, an alternative home was placed just 0.5 meters away, about an arm's length. The non-breeders moved to it in only one out of 32 cases. Waiting quietly in line, it turns out, is the best deal on the reef.
Other Reefs, Same Royal Rules
The same strict line shows up in a tiny coral-dwelling goby, Paragobiodon xanthosomus. Researchers at James Cook University in Australia found that neighboring ranks differ in size by a set ratio, and the subordinates hold their own growth down to keep it. Any goby that grows past the ratio gets evicted by the fish above it. Two very different fish arrived at the same palace rules, which tells you how well they work. Hermit crabs run a size-ordered line too, but for housing: they line up by size to swap shells the moment a roomy one turns up.
Even the deep sea plays with lopsided sizes, just without the sex change. In deep-sea anglerfish, only the big females carry a glowing lure, while the tiny males don't hunt at all. It's a different story with the same twist: the female is the giant of the family.
And clownfish society is about as far from a fish school as you can get. A school of fish swims in tight, synchronized formation, while a clownfish group stays home and lives by rank. Both are reminders of how strange the rules of life in the ocean can be. Other reef animals rebuild themselves much faster: a cuttlefish can rewrite its skin into moving patterns in a blink, while a clownfish needs months to rewire one corner of its brain.
Myths From the Anemone
Myth: The biggest clownfish is the dad. The truth: The biggest one is the mom. In a clownfish group the largest fish is the female, and her mate is the second largest.
Myth: Clownfish are born without a sex and pick one later. The truth: Every clownfish starts life as a male. Only the fish that rises to the top of the line becomes female.
Myth: The sex change happens overnight. The truth: Behavior can change within minutes or hours, and the brain within about six months. The gonads may lag for months or years, and in one lab study most fish hadn't finished after three years.
Myth: The small fish in the anemone are just young ones that haven't grown up yet. The truth: Many are holding their growth back. Each tends to stay about 80% of the size of the fish above it, because growing too big can get it thrown out of the group.
The Heir Who Was Always Ready
So back to that empty anemone. The female is gone, and her mate is already guarding the nest. A prince has slid into the king's old spot, and every little fish behind him has quietly moved one place closer to the throne.
Nothing about it is chaos. Every fish was born male, which suits a small body perfectly, and every one carries the power to become the queen if its turn ever comes. In a settled group, clownfish don't storm the throne or go looking for a new kingdom. They wait, stay just small enough and trust the line. When the throne finally empties, the next in line doesn't just take the crown. Over long months, it becomes the queen.
Key terms
- Sequential hermaphroditism
- Changing sex partway through life. In protandry, the male-first version seen in clownfish, an animal starts out male and can later become female.
- Preoptic area
- A brain region that regulates the gonads, the organs that make eggs or sperm. In clownfish it is much bigger in females, with roughly twice as many neurons as in males.
- Size-advantage hypothesis
- The idea that an animal should change sex when a bigger body is worth more as one sex than the other. In clownfish, a pair's breeding success rises with the female's size but not the male's.
Sources and further reading
- For anemonefish, sex change happens first in the brain (Illinois News Bureau, on Rhodes and colleagues, Hormones and Behavior) University of Illinois, College of Liberal Arts and Sciences
- Ecological and social constraints combine to promote evolution of non-breeding strategies in clownfish (Branconi et al., Communications Biology 2020) Communications Biology (Nature Portfolio)
- Clownfish: Studying their Complex Lives and Anemone Homes Boston University
- Determinants of reproductive success in dominant pairs of clownfish: a boosted regression tree analysis (Buston and Elith, Journal of Animal Ecology 2011) Journal of Animal Ecology (PubMed abstract via PubAnnotation)
- The threat of punishment enforces peaceful cooperation and stabilizes queues in a coral-reef fish (Wong, Buston, Munday and Jones, Proceedings of the Royal Society B 2007) James Cook University
- Protandrous hermaphroditism in the clown fish Amphiprion percula from Andaman and Nicobar Islands Indian Journal of Fisheries (CMFRI repository)