It is found throughout Southeast Asia, including Brunei, Cambodia, Java, Sumatra, Borneo, the Lesser Sunda Islands, Laos, Malaysia, Singapore, Thailand, Myanmar and Vietnam.[1] It prefers forested habitats (primary, secondary, and scrub forest) and plantations (rubber, palm oil). A large part of its life is spent in trees.