Vertebrate colonization of land has occurred multiple times, including over 50 origins of terrestrial eggs in frogs. Some environmental factors and phenotypic responses that facilitated these transitions are known, but responses to water constraints and risk of ammonia toxicity during early development are poorly understood. We tested if ammonia accumulation and dehydration risk induce a shift from ammonia to urea excretion during early stages of four anurans, from three origins of terrestrial development. We quantified ammonia and urea concentrations during early development on land, under well-hydrated and dry conditions. Where we found urea excretion, we tested for a plastic increase under dry conditions and with ammonia accumulation in developmental environments. We assessed the potential adaptive role of urea excretion by comparing ammonia tolerance measured in 96h-LC