Paul Pogba scored with a late header to finally break Nigeria's stubborn resistance and Joseph Yobo added an own-goal as France won 2-0 to reach the World Cup quarterfinals on Monday. (Highlights | Matchcentre)
Nigeria goalkeeper Vincent Enyeama had just made a superb save to tip over Karim Benzema's header, but he flapped at the ball from the ensuing corner and Pogba pounced in the 79th minute to nod in his first goal of the tournament.
Pogba atoned for a scrappy first half in which he gave the ball away carelessly and placed a volley too close to Enyeama. Scoring such a crucial goal will boost his confidence heading into the last eight against either Germany or Algeria, who played their match later.
Yobo turned the ball into his own net in stoppage time under pressure from France substitute Antoine Griezmann - who made a big difference after replacing the ineffective Olivier Giroud in the 62nd.
At the final whistle, France's relieved players danced in front of their fans as dreams of a repeat run to the final - just like in 2006 - moved a step closer.
France started slowly and finished strongly in the second round match.
African champion Nigeria had a goal ruled out for offside in the 19th minute after Emmanuel Emenike poked home Ahmed Musa's cross from the left, but wasted a lot of second-half possession.
After Griezmann came on, Benzema finally came alive in the 70th, opening up the defense after a clever one-two with the France substitute. After Enyeama blocked Benzema's initial shot, his follow-up effort was hacked clear by Victor Moses. Video technology confirmed that the ball had not crossed the line.
Nigeria chose a very audacious lineup with four attacking players and found a lot of space behind France's fullbacks, with right back Efe Ambrose causing problems with his overlaps.
Pogba's tendency to try and hit perfect through-balls worked against his team as he gave the ball away four times inside the first 10 minutes alone. He often seemed in two minds and this only slowed down the French attacks.
France failed to show the attacking flair of previous games, with Giroud skewing a shot wide early on from the edge of the penalty area.
Giroud also appeared to elbow John Obi Mikel in an off-the ball incident, having done the same in last week's 0-0 draw with Ecuador after coming on as a second-half substitute.
Two chances were missed late in the half.
Full-back Mathieu Debuchy found space on the right side of the area in the 40th after collecting a pass from Mathieu Valbuena, but his attempt smacked into the back of a steward. Emenike saw his sharp drive from the edge of the area palmed away by France goalkeeper Hugo Lloris, with no Nigeria player near the loose ball.
Center half Raphael Varane added much composure to a nervous-looking France team and hurt himself heading away a cross before it could reach Emenike in the 53rd. With French nerves fraying, midfielder Blaise Matuidi was booked for a heavy challenge on Ogenyi Onazi, who was replaced by Ruben Gabriel in the 59th.
The atmosphere quietened at the Estadio Nacional in Brasilia, with the pockets of French fans watching silently on as Nigeria started to dominate possession. Coach Didier Deschamps then made a key change, taking Giroud off and bringing on Griezmann, freeing Benzema to play through the middle.
But Nigeria continued to push forward, and Lloris did well to block a shot from Peter Odemwingie, who was Nigeria's most dangerous player making runs from deep.
Center half Laurent Kocielny made a vital interception to block Musa's dangerous cross from the right with a little more than 20 minutes left.
Then, it was all France as Griezmann boosted the attacks with his mobility and technique, and he almost made it 2-0 with an effort in the 85th that Enyeama tipped over brilliantly. Instead, it fell to Yobo to inadvertently add France's second goal.