For a frog no bigger than a fingernail, survival depends on how it spends every bit of energy.
New research from the University of Florida shows that young frogs prioritize growing quickly even when infected with a deadly pathogen, shifting energy toward immune defense only when infections become severe. The findings , published in the Journal of Animal Ecology, reveal how early-life decisions about energy use shape survival, development and population health.
"In disease dynamics, a lot of modeling focuses on populations, but not all individuals respond the same to pathogens," said Zuania Colón-Piñeiro Ph.D., lead author of the study. "We're interested in understanding the mechanisms driving those differences."
Like other animals, frogs have a limited amount of energy that must be divided among growth, reproduction and immune defense. For young frogs, growth is especially important because small individuals are more vulnerable to predators. Reaching a larger size quickly improves their chances of survival and future reproduction.
To understand how animals manage these trade-offs, the researchers built computer models using real-world data from the coqui frog and a deadly pathogen known as the chytrid fungus, or Batrachochytrium dendrobatidis. The fungus has contributed to amphibian declines worldwide, making it an important system for studying disease dynamics.
The model simulated how individual frogs allocate energy over time under changing environmental conditions, incorporating data on seasonal variation of food availability and infection risk.
The results revealed a consistent pattern. Frogs invested heavily in early growth early in life and delayed stronger immune responses until infection levels became dangerous.
"We found that individuals invest in growth for as long as they can, and only to switch to immune defenses when the pathogen becomes a real threat," Colón-Piñeiro said.
The research focused on the coqui frog, a species native to Puerto Rico.
"These frogs are direct developers, so they don't have a tadpole stage," said Associate Professor of Biology Ana V. Longo, Ph.D., senior author on the study. "They hatch as tiny versions of the adult."
"They're incredibly small, about the size of your pinky nail," she added.
Because juvenile frogs are so small, scientists cannot track them individually in the wild. Instead, the team relied on field and experimental data to model how frogs grow and respond to infection over the course of a year.
The study also found that timing plays a major role in survival. Food availability and infection risk change throughout the year, affecting how much energy frogs can devote to growth or immunity.
"Energy availability changes with the seasons because food availability changes," Colón-Piñeiro said. "That directly affects how much energy they can invest in growth or immunity."
Frogs hatch during favorable conditions, when food is abundant and energy can be distributed between processes, allowing these frogs to grow faster and more likely to survive to adulthood. In contrast, frogs born during cooler and typically drier periods face lower energy availability and higher physiological stress.
"During the cool season, energy is so limited that even the best strategy doesn't lead to strong survival outcomes," Colón-Piñeiro said.
The findings suggest that environmental change could intensify these challenges. Longer or more frequent cool-dry periods may limit growth that reduces survival rates.
"If those cool-dry periods become longer, individuals may not grow as quickly," Longo said. "That reduces their chances of survival and reproduction."
The researchers say the framework could help scientists better understand how animals respond to disease under changing environmental conditions and improve conservation strategies for species bred in captivity and released into the wild.
Both researchers emphasized that modeling works best when combined with field research.
"Models are powerful, but they're not a substitute for field data," Colón-Piñeiro said. "We need both to understand these systems and make good decisions."
"These models are only as good as the data we use to build them," Longo added.
The study, "Playing it safe at early life stages: Balancing energy allocations to maximize fitness under seasonal pathogen dynamics," was published in the Journal of Animal Ecology and included researchers from multiple departments at the University of Florida, the University of Puerto Rico and other institutions.