Iran Press/ America: Everton forward Richarlison got the breakthrough 20 minutes into the second half when goalkeeper Alexander Dominguez could not stop his angled near-post shot.
Neymar then scored a penalty in injury time after Gabriel Jesus was brought down and the referee pointed to the spot after consulting the Video Assistant Referee (VAR).
The Paris St Germain striker saw his first attempt saved but was allowed to retake the kick after the referee spotted movement before the ball was struck.
Flamengo's Gabriel Barbosa, making his first international start in five years, had a goal disallowed for offside three minutes before halftime, and moments later Dominguez scooped a low drive from Neymar round the post.
The result means Brazil are top of the 10-team South America group, with 15 points from five games, four ahead of second-placed Argentina. Ecuador are third with nine.
The top four teams in the section qualify automatically for Qatar 2022 and the fifth-placed side goes into an intercontinental play-off.
214/216
Read more:
Brazil continues its perfect start, beating Peru
Copa America: Brazil beat Peru 3-1 to lift the title