Miller Bolanos scored the lone second-half goal and Ecuador rallied from a two-goal deficit to tie Peru 2-2 on Wednesday night in the Copa America.
Three minutes after halftime, Jefferson Montero and Christian Noboa connected on a give-and-go and Montero got behind the defense to find Bolanos in front of an empty net.
In the first half, Paolo Guerrero had two assists in the first 13 minutes for Peru.
He played a through ball to Christian Cueva, who spun a defender and powered a shot into the net.
Guerrero had a glancing header on a long free kick and Edison Flores rolled a shot inside the far post.
Ecuador pulled to 2-1 in the 39th when Enner Valencia trapped a chipped pass near the penalty spot and volleyed a shot.
Peru is tied atop the Group B standings with Brazil, which routed Haiti 7-1 earlier Wednesday.
The teams will meet on Sunday to complete group play.
Ecuador is two points back.