Match ends, Ghana 1, Senegal 2.
Ghana 1-2 Senegal
Moussa Sow struck late in injury time to earn Senegal victory over Ghana.
The substitute scored with virtually the last kick of the game, slotting in from the edge of the box to snatch all three point for the Teranga Lions.
Ghana's Andrew Ayew scored a first-half penalty after Everton winger Christian Atsu had been fouled.
But Senegal roared back and hit the bar through Kara Mbodj, before Stoke striker Mame Biram Diouf nodded in an equaliser and Sow wrapped up the win.
It had looked as though the game was heading for a draw and what would have be the fourth 1-1 result in five games at the tournament.
But Sow's late intervention gave Senegal the victory their second-half domination deserved.
However, Ghana will reflect on a number of wasted chances in the first half, and they clearly missed their captain and striker Asamoah Gyan, who continues to recover from a bout of malaria.
The Black Stars started well enough and took the lead when Andrew Ayew coolly stroked home from the spot after Atsu had been brought down by goalkeeper Bouna Coundoul.
They should have increased their lead but Atsu curled one effort wide and Jordan Ayew hit another at Coundoul, while Jonathan Mensah powered a free header off target.
They nearly paid for their profligacy when Mbodj thumped a header on to the bar from one of the many long balls into the box from Senegal and Diouf came close with an acrobatic overhead kick that Ghana stopper Razak Braimah palmed over the bar.
If the warning signs were there for Ghana, they did not heed them and were immediately on the back foot after the break as Senegal came out with renewed intensity and purpose.
And the Teranga Lions got their equaliser when Diouf headed in at the second attempt. Not long after, the Stoke man would have put his side in front had he kept a close-range shot down rather than smash wildly over.
Papa Diop then dragged a shot wide, wasting a great two-on-one chance as Senegal pressed for the winner.
Then with time almost over, Sow drove in after a neat exchange of passes to hand former Chelsea, Portsmouth and West Ham manager Avram Grant defeat in his first competitive game as Ghana coach.
Ghana coach Avram Grant:
"We don't want this result that has happened but I'm sure as you saw the players showed good mentality and we hope it will be the same next game.
"It was a difficult match for us. We were playing against experienced and very physical players but we knew that if we lost nothing would be decided."
Senegal coach Alain Giresse:
"At half-time I said to the players that nothing was lost. At 1-0 down with 45 minutes left, there was no doubts. We went back out on to the field with conviction.
"It is always better to take three points, but it doesn't mean we are guaranteed to qualify, just as the defeat for Ghana does not mean they are eliminated."
- 13RabiuBooked at 79minsSubstituted forAcquahat 83'minutes
- 10A AyewBooked at 64minsSubstituted forAccamat 88'minutes
- 7AtsuSubstituted forWakasoat 68'minutes
- 9J Ayew
- 1CoundoulBooked at 13mins
- 3DjilobodjiSubstituted forGassamaat 45'minutes
- 5DiopSubstituted forSaivetat 85'minutes
- 11N'DoyeBooked at 25minsSubstituted forSowat 79'minutes
- 4A N'Diaye
- Bernard Camille
- Shots on Target
Second Half ends, Ghana 1, Senegal 2.
Goal! Ghana 1, Senegal 2. Moussa Sow (Senegal) right footed shot from the centre of the box to the bottom left corner. Assisted by Mame Biram Diouf.
Corner, Ghana. Conceded by Pape Souaré.
Henri Saivet (Senegal) wins a free kick in the defensive half.
Foul by Afriyie Acquah (Ghana).
Foul by Pape Souaré (Senegal).
Jordan Ayew (Ghana) wins a free kick in the defensive half.
Substitution, Ghana. David Accam replaces André Ayew.
Attempt missed. Jordan Ayew (Ghana) header from the centre of the box misses to the left. Assisted by Harrison Afful with a cross.
Substitution, Senegal. Henri Saivet replaces Pape Diop.
Attempt missed. Mame Biram Diouf (Senegal) header from the centre of the box is high and wide to the right. Assisted by Idrissa Gueye with a cross.
Substitution, Ghana. Afriyie Acquah replaces Mohammed Rabiu.
Cheikhou Kouyaté (Senegal) wins a free kick in the attacking half.
Foul by Mubarak Wakaso (Ghana).
Attempt missed. Kara (Senegal) right footed shot from more than 35 yards is too high from a direct free kick.
Pape Diop (Senegal) wins a free kick in the attacking half.
Foul by Mohammed Rabiu (Ghana).
Attempt missed. Pape Diop (Senegal) right footed shot from outside the box misses to the left.
Substitution, Senegal. Moussa Sow replaces Dame N'Doye.