All habitat types within their range (all elevations of forest, as well as peat swamp and mangrove forests).
The three primary threats facing Bearded Pigs is the conversion of forests for agriculture, particularly oil palm and rubber, fragmentation of remaining habitat, and unsustainable logging primarily for dipterocarps.
Where you can find them.
Amazing photos of this incredible creature.
Matthew Luskin IUCN Red List,https://www.iucnredlist.org/species/41772/123793370, (2017)