France 2-0 Nigeria
France scored twice in the final 11 minutes in Brasilia to beat Nigeria and reach the World Cup quarter-finals.
Nigeria's Emmanuel Emenike had a strike ruled out for offside before Vincent Enyeama saved Paul Pogba's volley.
Victor Moses cleared Karim Benzema's shot off the line after the break and Yohan Cabaye volleyed against the bar as France pressed.
But Pogba eventually headed in after an Enyeama error and Joseph Yobo diverted Mathieu Valbuena's cross into the net.
France will play Germany, who beat Algeria 2-1 after extra time, in the last eight at the Maracana on Friday.
The final scoreline was harsh on Nigeria, who dominated for large parts of the second half, but late mistakes from their tiring players ensured they will have to wait for their first quarter-final appearance in a World Cup.
France have pedigree in the knockout rounds, having reached at least the semi-finals on the last five occasions they have progressed past the first round at the World Cup.
Nigeria's last-16 preparations had been disrupted by a row over bonuses and, with their group victory over Bosnia-Hercegovina their only World Cup win in 11 matches, this tie was always going to prove a big ask.
But, attacking with pace down the wings through both Moses and Ahmed Musa, the Super Eagles looked threatening early on. Only a flag for offside denied the powerful Emenike the opener, when he tapped home Musa's cross.
Nigeria keeper Enyeama made the most saves in the group phase and had to be alert again to keep out Pogba's fierce close-range volley as the play swept from end to end in a first half that saw both sides look vulnerable defensively.
Juventus's Pogba was being afforded a lot of space but, as was the case all over the pitch, the final ball was all too often wasteful, with Mathieu Debuchy's off-target shot the only other notable attempt in a half that promised more than it delivered.
The African champions were forced into a change after the break when influential midfielder Ogenyi Onazi was injured by a late tackle from Blaise Matuidi, who was lucky to escape with only a yellow card.
France, the 2006 runners-up, did not make it past the group stage in South Africa four years ago but they appear to be much more united as a squad in this tournament.
That togetherness was needed as Nigeria controlled the opening stages of the second half and only a sharp stop from Hugo Lloris prevented Peter Odemwingie's low shot from giving the Africans the lead.
Against the run of play Benzema almost gave France the lead. The Real Madrid man played a neat one-two with Antoine Griezmann before seeing his shot partially blocked by Enyeama and then hacked off the line by Moses.
The introduction of Griezmann for Olivier Giroud saw France emerge more as an attacking force, with Benzema playing more centrally, and the breakthrough came when Pogba headed into an empty net after Enyeama had misjudged Valbuena's corner.
And, as Nigeria pushed for a leveller, Joseph Yobo flicked Valbuena's low cross into his own net on the day he surpassed Jay-Jay Okocha's record of nine World Cup matches for the Super Eagles.
|Karim Benzema has had 13 shots on target so far at this World Cup - more than any other player. He has scored three goals||Nigeria have only won one of their last 12 World Cup matches, losing eight and drawing three|
|France manager Didier Deschamps is unbeaten in his 10 games at the World Cup as a player & manager (W8 D2)||Mathieu Valbuena completed 94% of his passes against Nigeria, the highest passing accuracy posted by any player in the match|
France midfielder Paul Pogba: "I have no words to describe this feeling. The whole country is behind us and scoring that goal really liberated us. I am so happy for the team and all of France.
"To score a goal for your country, especially in such an important game as this, to get into the last eight of the World Cup is one of the best moments of my life."
France manager Didier Deschamps: "We had a very strong last half an hour with more dynamism and more speed. We had space to create chances and we could have scored quite a few times.
"I tried to create some more speed by bringing on Griezmann and we tried to exploit the space with short passes and it worked."
Nigeria coach Stephen Keshi: "I thought the referee made a lot of mistakes and was very lenient to the French players. There was a very bad tackle on Ogenyi Onazi and he is probably out for weeks."
For the best of BBC Sport's in-depth content and analysis, go to our features and video page.
- 14MatuidiBooked at 54mins
- 9GiroudSubstituted forGriezmannat 62'minutes
- 8ValbuenaSubstituted forSissokoat 90+4'minutes
- 17OnaziSubstituted forGabrielat 59'minutes
- 11MosesSubstituted forNwoforat 89'minutes
- Mark Geiger
- Shots on Target