The markhor is adapted to mountainous terrain and lives at elevations of . It inhabits
shrub forests made up primarily of
oaks (
Quercus ilex),
pines (
Pinus gerardiana), and
junipers (
Juniperus macropoda). In Central Asia, the Bukharan markhor formerly lived in most of the mountains stretching along the north banks of the Upper
Amu Darya and the
Panj Rivers from
Turkmenistan to Tajikistan; two to three scattered populations now occur in a greatly reduced distribution. It is limited to the region between lower Pyanj and the
Vakhsh Rivers near
Kulyab in Tajikistan, and in the Kugitangtau Range in Uzbekistan and Turkmenistan. In Afghanistan, the markhor is limited to the east in the high and mountainous monsoon forests of
Laghman and
Nuristan. Until 1978, it survived in the country only in the
Kabul Gorge and the
Kohe Safi area of
Kapissa, and in some isolated pockets in between. It now lives the most inaccessible regions of its once wider range in the mountains of Kapissa and
Kabul Provinces, after having been driven from its original habitat by intensive poaching. In
Pakistan, it is restricted to the
Indus River and
Kunar River and their tributaries; its present range consists of many small, isolated areas in
Baluchistan,
Khyber Pakhtunkhwa and
Dera Ghazi Khan District. Along the Indus, it inhabits both banks from Jalkot in
Kohistan District upstream to near the Tungas village in
Baltistan, with Gakuch being its western limit up the
Gilgit River, Chalt up the
Hunza River, and the Parishing Valley up the
Astore River. It occurs also around
Chitral and the border areas with Afghanistan, where it inhabits a number of valleys along the Kunar River from Arandu on the west bank and
Drosh on the east bank, up to Shoghor along the Lutkho River, and as far as Barenis along the
Mastuj River. The largest population currently lives in
Chitral National Park in Pakistan. In India, the markhor is restricted to a portion of the
Pir Panjal range in southwestern
Jammu and Kashmir. Throughout this range, markhor populations are scattered, starting east of the
Banihal Pass about from the
Chenab River on the Jammu–Srinagar highway westward to the disputed border with Pakistan. It still occurs in catchments of the Limber and Lachipora Rivers in the Jhelum Valley Forest Division and around
Shupiyan to the south of Srinagar. ==Behaviour and ecology==