Deforestation is a major threat to terrestrial tropical ecosystems, particularly in Southeast Asia where human activities have dramatic consequences for the survival of many species. However, responses of species to anthropogenic impact are highly variable. In order to establish effective conservation strategies, it is critical to determine a species’ ability to persist in degraded habitats. Here, we used camera trapping data to provide the first insights into the temporal and spatial distribution of southern pig-tailed macaques (Macaca nemestrina, listed as ‘Vulnerable’ by the IUCN) across intact and degraded forest habitats in Peninsular Malaysia, with a particular focus on the effects of clear-cutting and selective logging on macaque occupancy. Specifically, we found a 10% decline in macaque site occupancy in the highly degraded Pasoh Forest Reserve from 2013 to 2017. This may be strongly linked to the macaques’ sensitivity to intensive disturbance through clear-cutting, which significantly increased the probability that M. nemestrina became locally extinct at a previously occupied site. However, we found no clear relationship between moderate disturbance, i.e., selective logging, and the macaques’ local extinction probability or site occupancy in the Pasoh Forest Reserve and Belum-Temengor Forest Complex. Further, an identical age and sex structure of macaques in selectively logged and completely undisturbed habitat types within the Belum-Temengor Forest Complex indicated that the macaques did not show increased mortality or declining birth rates when exposed to selective logging. Overall, this suggests that low to moderately disturbed forests may still constitute valuable habitats that support viable populations of M. nemestrina, and thus need to be protected against further degradation. Our results emphasize the significance of population monitoring through camera trapping for understanding the ability of threatened species to cope with anthropogenic disturbance. This can inform species management plans and facilitate the development of effective conservation measures to protect biodiversity.