Match ends, Honduras 1, Ecuador 2.
Enner Valencia scored both goals as Ecuador left Honduras on the verge of a World Cup exit.
Carlo Costly latched onto a long ball and lashed in a low 20-yard shot to put Honduras ahead on 31 minutes.
Ecuador equalised soon after when a deflected cross fell for Valencia to slot home. He then nodded in at the far post to give his side the lead.
Honduras pressed for an equaliser but a goal eluded them and they have now lost both group games.
Ecuador meet France in their final group game, knowing they need to match Switzerland's result against Honduras to reach the last 16.
Knowing defeat against Honduras would knock them out, Ecuador should have taken an early lead against Honduras.
A long ball from centre-back Jorge Guagua released Valencia, but he side-footed over the crossbar.
Honduras defender Victor Bernardez then headed wide when unmarked before his long clearance set Costly free to net emphatically.
The goal was the country's first at a World Cup since 1982, but the lead did not last long, Valencia slotting from close range after a Juan Paredes shot was deflected into his path.
Honduras thought they had restored their lead when Jerry Bengtson bundled home after a Costly header came off the post, but the referee disallowed the goal for handball.
Valencia then nodded in at the far post following a Walter Ayovi free-kick to settle the game with his seventh goal in six internationals.
Honduras manager Luis Suarez:
"It was a very hard-fought match. We had a bit of difficulty keeping our nerves in check given what was at stake in the game, but I'm satisfied.
"We know it'll be tough to reach the next round, but it'd be even worse to have been knocked out already.
"We need to find a way to improve in order to win and while there's hope, we won't give up without a fight."
Ecuador manager Reinaldo Rueda:
"Even though we went behind, we got our goals at decisive moments.
"We know that reaching the next round isn't entirely in our own hands but we need to focus on our own game.
"We'll have to play as well, or even better than we did today, to beat France, because they're a side that have grown a lot."
- 7IzaguirreSubstituted forGarcíaat 45'minutes
- 19GarridoSubstituted forMartínezat 71'minutes
- 5BernárdezBooked at 7mins
- 14GarcíaSubstituted forChávezat 82'minutes
- 11BengtsonBooked at 45mins
- 14MindaSubstituted forGruezoat 83'minutes
- 16A ValenciaBooked at 57mins
- 13E ValenciaBooked at 72mins
- 11CaicedoSubstituted forMéndezat 82'minutes
- 7MonteroBooked at 80minsSubstituted forAchilierat 90+2'minutes
- Ben Williams
- Shots on Target
Second Half ends, Honduras 1, Ecuador 2.
Offside, Ecuador. Antonio Valencia tries a through ball, but Édison Méndez is caught offside.
Hand ball by Antonio Valencia (Ecuador).
Substitution, Ecuador. Gabriel Achilier replaces Jefferson Montero.
Corner, Ecuador. Conceded by Jorge Claros.
Delay over. They are ready to continue.
Delay in match Enner Valencia (Ecuador) because of an injury.
Enner Valencia (Ecuador) wins a free kick on the left wing.
Foul by Maynor Figueroa (Honduras).
Attempt missed. Maynor Figueroa (Honduras) left footed shot from outside the box is close, but misses the top left corner. Assisted by Brayan Beckeles.
Attempt saved. Enner Valencia (Ecuador) right footed shot from outside the box is saved in the centre of the goal.
Enner Valencia (Ecuador) wins a free kick in the attacking half.
Foul by Víctor Bernárdez (Honduras).
Substitution, Ecuador. Carlos Gruezo replaces Oswaldo Minda.
Substitution, Ecuador. Édison Méndez replaces Felipe Caicedo.
Substitution, Honduras. Marvin Chávez replaces Óscar García.
Attempt blocked. Roger Espinoza (Honduras) left footed shot from outside the box is blocked.
Jefferson Montero (Ecuador) is shown the yellow card.
Foul by Jefferson Montero (Ecuador).