The giant anteater may use multiple habitats.
A 2007 study of giant anteaters in the Brazilian Pantanal found the animals generally forage in open areas and rest in forested areas, possibly because forests are warmer than grasslands on cold days and cooler on hot days.
Giant anteaters can be either diurnal or nocturnal.
A 2006 study in the Pantanal found those anteaters to be mostly nocturnal: they are most active during nighttime and early morning, and retire as the temperature rises.
On colder days, they start and end periods of activity earlier, shifting them into daylight hours, and may become diurnal.
Diurnal giant anteaters have been observed at Serra da Canastra.
Nocturnality in anteaters may be a response to human disturbances.

Giant anteaters typically rest in dense brush, but may use tall grass on cooler days.
They carve a shallow cavity in the ground for resting.
The animal sleeps curled up with its bushy tail folded over its body.
The tail serves both to conserve body heat and as camouflage.
One anteater was recorded sleeping with its tail stretched out on a sunny morning with an ambient temperature of 17 °C (63 °F); possibly it was positioned this way to allow its body to absorb the sun's rays for warmth.

Giant anteaters are good swimmers and are capable of moving through wide rivers.
They have been observed to bathe.
They are also able to climb and have been recorded ascending both termite mounds and trees while foraging.
One individual was observed holding onto a branch with its feet just touching the ground.
The giant anteater may use multiple habitats. A 2007 study of giant anteaters in the Brazilian Pantanal found the animals generally forage in open areas and rest in forested areas, possibly because forests are warmer than grasslands on cold days and cooler on hot days. Giant anteaters can be either diurnal or nocturnal. A 2006 study in the Pantanal found those anteaters to be mostly nocturnal: they are most active during nighttime and early morning, and retire as the temperature rises. On colder days, they start and end periods of activity earlier, shifting them into daylight hours, and may become diurnal. Diurnal giant anteaters have been observed at Serra da Canastra. Nocturnality in anteaters may be a response to human disturbances.
Giant anteaters typically rest in dense brush, but may use tall grass on cooler days. They carve a shallow cavity in the ground for resting. The animal sleeps curled up with its bushy tail folded over its body. The tail serves both to conserve body heat and as camouflage. One anteater was recorded sleeping with its tail stretched out on a sunny morning with an ambient temperature of 17 °C (63 °F); possibly it was positioned this way to allow its body to absorb the sun's rays for warmth.
Giant anteaters are good swimmers and are capable of moving through wide rivers. They have been observed to bathe. They are also able to climb and have been recorded ascending both termite mounds and trees while foraging. One individual was observed holding onto a branch with its feet just touching the ground.
Giant anteater