We characterize the amenable
groups acting on a locally finite tree. In particular if the tree is homogeneous and the
group G acts transitively on the vertices then we prove that G is amenable iff G fixes
one point of the boundary of the tree. Moreover we prove that a group G which acts
transitively on the vertices and on an open subset of the boundary is either amenable
or a Kunze-Stein group.