Ayabaca, town, northwestern Peru, near the border with Ecuador. It is an agricultural trade centre. Archaeological Indian sites are nearby. Pop. (2005) 4,708.