The Wild

Why Do Some Animals Lay Eggs While Others Don't?

· 6 min read · Mammals

In this article
  1. The Two Main Strategies: Oviparity and Viviparity
  2. Why Eggs Work: The Advantages of Laying Eggs
  3. Why Live Birth Evolved: The Advantages of Viviparity
  4. The Evolutionary Path: From Eggs to Live Birth
  5. Why Mammals Mostly Don't Lay Eggs
  6. Common Misconceptions About Eggs and Live Birth
  7. Examples in the Animal Kingdom
  8. Frequently Asked Questions

Animals lay eggs when their evolutionary lineage has retained that reproductive strategy, while others give birth to live young because they evolved from ancestors that switched to internal gestation—a switch driven by environmental pressures, predation, and the need to protect developing offspring. Egg-laying (oviparity) is the ancestral condition for most animal groups, including fish, amphibians, reptiles, birds, and even a few mammals, while live birth (viviparity) has evolved independently in many lineages, including mammals, some snakes, sharks, and even a few fish. The key difference lies in where the embryo develops and how it gets nutrients: eggs provide a self-contained food supply and protective shell, while live birth keeps the embryo inside the mother, often with a direct nutrient connection.

The Two Main Strategies: Oviparity and Viviparity

Oviparity means the female lays eggs that develop and hatch outside her body. The embryo relies on the yolk inside the egg for nutrients. This is the most common strategy in the animal kingdom—most fish, amphibians, reptiles, birds, insects, and even some mammals (the monotremes) are oviparous. Viviparity means the embryo develops inside the mother's body, and she gives birth to live young. The embryo may be nourished by a yolk sac (as in some sharks) or by a placenta that connects to the mother's bloodstream (as in most mammals). Viviparity has evolved independently at least 150 times across vertebrates, showing it's a highly advantageous strategy in certain conditions.

Why Eggs Work: The Advantages of Laying Eggs

Eggs offer several key benefits. First, they allow the mother to produce many offspring at once without carrying them internally—a female fish can release thousands of eggs in a single spawning, while a female mammal typically carries only a few young. Second, eggs are relatively cheap to produce in terms of energy per offspring, so parents can invest in quantity over quality. Third, eggs can be laid in a safe location, like a nest or buried in sand, freeing the mother to feed or escape predators. Fourth, eggs are self-contained: they provide all the nutrients the embryo needs until hatching, so the mother doesn't have to feed the young until they emerge. This is why birds and reptiles can lay eggs and then leave (or in some cases, incubate them) without needing to carry the developing young.

Why Live Birth Evolved: The Advantages of Viviparity

Live birth offers different advantages. The most significant is protection: the embryo is safe inside the mother, away from predators, extreme temperatures, and drying out. This is crucial in environments where eggs would be vulnerable—like the ocean, where eggs might be eaten, or cold climates where eggs might freeze. Viviparity also allows the mother to actively regulate the embryo's temperature (in mammals and some reptiles), ensuring optimal development. In placental mammals, the embryo gets a constant supply of nutrients and oxygen from the mother's blood, allowing for larger, more developed offspring at birth. This is why mammals can give birth to relatively large, advanced young that are ready to survive on their own soon after birth, compared to hatchlings that must fend for themselves immediately.

The Evolutionary Path: From Eggs to Live Birth

The transition from egg-laying to live birth has happened many times in evolution, and we can see intermediate stages in some animals. For example, some species of snakes and lizards are ovoviviparous—they produce eggs that hatch inside the mother's body, so she gives birth to live young, but the embryo still relies on the yolk, not a placenta. This is a middle step between laying eggs and true live birth. In some sharks, like the great white, the embryos develop inside the mother and even eat unfertilized eggs (a process called oophagy) to get nutrients. The evolution of viviparity is driven by natural selection: if eggs are frequently eaten or destroyed, females that retain them longer will have more surviving offspring. Over generations, the retention time increases until the eggs hatch internally.

Why Mammals Mostly Don't Lay Eggs

Mammals are the most famous group that doesn't lay eggs, but there are exceptions: the platypus and the echidna (monotremes) do lay eggs. These are the only living mammals that do. All other mammals are viviparous. Why? The key is the placenta. Placental mammals (like humans, dogs, and whales) have a complex placenta that allows direct nutrient exchange between mother and embryo. This allows for longer gestation and more developed young. Marsupials (like kangaroos) have a simpler placenta and give birth to very underdeveloped young that continue to develop in a pouch. The monotremes branched off early in mammal evolution, before the placenta evolved, so they retained the egg-laying strategy. The fact that monotremes still exist shows that egg-laying is not inherently inferior—it just works differently.

Common Misconceptions About Eggs and Live Birth

One common misconception is that all reptiles lay eggs. Actually, about 20% of living snake species and some lizards give birth to live young, especially in cooler climates. For example, the common European adder is viviparous. Another misconception is that eggs are always hard-shelled like chicken eggs. Fish and amphibian eggs are soft, jelly-like, and often laid in water. Bird eggs have hard shells because they are laid on land and need to prevent water loss. Reptile eggs are often leathery, not hard. A third misconception is that animals that lay eggs don't care for their young. While many don't, some do—birds incubate their eggs and feed chicks, and some snakes like pythons coil around their eggs to keep them warm.

Examples in the Animal Kingdom

Here are some notable examples of both strategies:

  • Egg-layers: All birds (e.g., chickens, eagles, penguins), most reptiles (e.g., sea turtles, crocodiles, geckos), most amphibians (e.g., frogs, salamanders), most fish (e.g., salmon, goldfish), insects (e.g., butterflies, ants), and monotreme mammals (e.g., platypus, echidna).
  • Live-bearers: Most mammals (e.g., humans, cats, dolphins, bats), some snakes (e.g., boa constrictors, garter snakes), some lizards (e.g., blue-tongued skinks), some sharks (e.g., great white, hammerhead), and some fish (e.g., guppies, mollies).
  • Ovoviviparous (eggs hatch inside): Some sharks (e.g., basking shark), some snakes (e.g., rattlesnakes), and some insects (e.g., some aphids).

Frequently Asked Questions

Do all birds lay eggs?

Yes, all bird species lay eggs. No bird gives birth to live young. This is a defining characteristic of the bird class, along with feathers and a beak. Even flightless birds like ostriches and penguins lay eggs.

Why do platypuses lay eggs if they are mammals?

Platypuses are monotremes, an ancient group of mammals that split from other mammals about 200 million years ago. They retained the egg-laying trait that their reptilian ancestors had, while other mammals evolved live birth. So they are mammals that lay eggs.

Can a mammal ever give birth to live young without a placenta?

Yes, marsupials like kangaroos and koalas have a simple yolk-sac placenta that provides limited nutrients. They give birth to very underdeveloped young that crawl into a pouch to continue developing. So they are viviparous but with a different type of nourishment.

Why do fish lay so many eggs?

Because most fish eggs are fertilized externally, and the eggs are left unprotected. Many are eaten by predators or die from environmental conditions. Producing thousands of eggs increases the chance that at least a few survive to adulthood. This is a classic r-strategy (quantity over quality).

Do any animals lay eggs after giving birth to live young?

No, that would be impossible. An individual animal has one reproductive strategy determined by its species. However, some animals can switch between laying eggs and live birth depending on environmental conditions, but that is rare and occurs in some species of salamanders and fish. For example, the Alpine newt lays eggs in water but can give birth to live young in colder environments.

Are eggs more primitive than live birth?

Yes, egg-laying is the ancestral condition for most animal groups. Live birth evolved later, multiple times, as an adaptation to specific environments. So in that sense, eggs are more primitive, but they are still successful—birds and most reptiles still use them.