It inhabits lowland tropical dry forest, sub-arid thorn scrub, gallery forest, spiny forest, eastern littoral forest, dry deciduous forests, semi-humid deciduous, moist lowland forest, transitional forest, and secondary forests or degraded forests (including plantations) all ranging up to 800 meters above sea level.