All amphibians need to spend part of their life cycle in water, often during their larval stage. This means that all amphibians need to live near water throughout their lives, but most need some kind of water, usually slow or standing, to lay their eggs in. They do this to ensure protection for their young, and as most species hatch into a water breathing larval form like a tadpole; hatching in water is crucial to survival.
The one amphibian who breaks this rule is the red-back salamander, a common resident of the acadian forest. While these salamander still need moist conditions to survive, they are a terrestrial salamander that lay their eggs in rotten wood. Their eggs act as water filled sacs that provide the larval form of the salamander, still contained in the egg, a place to grow and swim. This adaptation allows them to survive in mature woodlands without the need of large or even vernal pools of water.