The structure of the feet and legs varies greatly among frog species, depending in part on whether they live primarily on the ground, in water, in trees, or in burrows. Frogs must be able to move quickly through their environment to catch prey and escape predators, and numerous adaptations help them do so.
Many frogs, especially those that live in water, have webbed toes. The degree to which the toes are webbed is directly proportional to the amount of time the species lives in the water. For example, the completely aquatic African dwarf frog (Hymenochirus sp.) has fully webbed toes, whereas the toes of White's tree frog (Litoria caerulea), an arboreal species, are only a half or a quarter webbed.
Arboreal frogs have "toe pads" to help grip vertical surfaces. These pads, located on the ends of the toes, do not work by suction. Rather, the surface of the pad consists of interlocking cells, with a small gap between adjacent cells. When the frog applies pressure to the toe pads, the interlocking cells grip irregularities on the substrate. The small gaps between the cells drain away all but a thin layer of moisture on the pad, and maintain a grip through capillarity. This allows the frog to grip smooth surfaces, and does not function when the pads are excessively wet.
In many arboreal frogs, a small "intercalary structure" in each toe increases the surface area touching the substrate. Furthermore, since hopping through trees can be dangerous, many arboreal frogs have hip joints that allow both hopping and walking. Some frogs that live high in trees even possess an elaborate degree of webbing between their toes, as do aquatic frogs. In these arboreal frogs, the webs allow the frogs to "parachute" or control their glide from one position in the canopy to another.
Ground-dwelling frogs generally lack the adaptations of aquatic and arboreal frogs. Most have smaller toe pads, if any, and little webbing. Some burrowing frogs have a toe extension—a metatarsal tubercle—that helps them to burrow. The hind legs of ground dwellers are more muscular than those of aqueous and tree-dwelling frogs.
Sometimes during the tadpole stage, one of the animal's rear leg stubs is eaten by a dragonfly nymph. In some of these cases, the full leg grows anyway, and in other cases, it does not, although the frog may still live out its normal lifespan with only three legs. Other times, a parasitic flatworm called Riberoria trematodes digs into the rear of a tadpole, where it rearranges the limb bud cells, which sometimes causes the frog to have extra legs.