The brown tree snake is not restricted to forested habitats, as it can also occur in grasslands and sparsely forested areas, as well. In Papua New Guinea, it occupies a wide variety of habitats at elevations up to 1,200 m. It is most commonly found in trees, caves, and near limestone cliffs, but frequently comes down to the ground to forage at night. It hides during the day in the crowns of palm trees, hollow logs, rock crevices, caves, and even the dark corners of thatched houses near the roof. Based on the frequency of sightings of this snake, in relation to buildings, poultry, and caged birds, the snake is considered to be common in human-disturbed habitats.