It is found along the Tian Shan and Himalayas, in temperate forests and subtropical or tropical moist montane forests. The species ranges across Afghanistan, Bangladesh, Bhutan, Cambodia, India, Indonesia, Kazakhstan, Laos, Malaysia, Myanmar, Nepal, Tajikistan, Thailand, Tibet, Turkmenistan, and Vietnam. They make altitudinal movements in the Himalayas, descending in winter.