Sloth bears live primarily in India, Sri Lanka, and Nepal. They inhabit tropical forests, deciduous forests, grasslands, scrublands, and mangrove swamps, though their populations are fragmented and threatened by habitat loss, poaching, and human conflict.