Its natural habitats are lower slopes and semi-arid coastal zone of Andes, at an elevation up to 2400 meters above sea level, subtropical or tropical dry shrubland, subtropical or tropical moist shrubland, subtropical or tropical high-altitude shrubland, and heavily degraded former forest.