The tendency of animals to follow boundaries within their environment can serve as a strategy for spatial learning or defence. We examined whether animals of Xenopus laevis employ such a strategy by characterizing their swimming behaviour. We also investigated potential developmental changes, the influence of tentacles, which some of the developmental stages possess, and whether wall-following is active (animals seek out wall contact) or passive. Animals' swimming movements were recorded with a camera from above in a square tank with shallow water and their trajectories were analysed especially for proximity to the nearest wall. With the exception of young larvae, in which wall following was less strong, the vast majority of animals - tadpoles and froglets - spent more time near the wall than what would be expected from the proportion of the area near the wall. The total distance covered was not a confounding factor. Wall following was also not influenced by whether the surrounding of the tank was black or white, illuminated by infrared light, or by the presence or absence of tentacles. Animals were stronger wall followers in smaller tanks. When given a choice in a convex tank to swim straight and leave the wall or turn to follow the wall, the animals consistently left the wall, indicating that wall following in Xenopus laevis is passive. This implies that wall following behaviour in Xenopus derives from constraints imposed by the environment (or the experimenter) and is unlikely a strategy for spatial learning or safety-seeking.