We used Maxent to model the distribution of the Nilgiri marten (Martes gwatkinsii), a cryptic semi-arboreal mammal, with climate, forest, and human disturbance as covariates. We modelled the species niche, which identified suitable habitat across a variety of land uses and protection regimes. The findings point to a species niche defined by isolated, cold, and wet areas along the Western Ghats’ montane grasslands (shola) and adjoining wet forests. A sizable portion (62 %) of the total 8922 km2 niche area is multi-use, including tea, coffee, and timber plantations. Our findings emphasise the importance of conservation in non-protected areas adjacent to reserves in order to sustain this endemic species.