Mohamed Salah scored the only goal against Guinea-Bissau to kick-start Egypt's Africa Cup of Nations campaign.
But the Pharaohs rode their luck as Mama Balde had a stunning late equaliser for the Djurtus ruled out after a video assistant referee review.
Record seven-time winners Egypt, who lost their Group D opener 1-0 against Nigeria, struck the woodwork three times in a game they largely dominated.
Salah volleyed in with 21 minutes left to secure a crucial victory in Garoua.
The Liverpool forward hit a first-time left-footed effort from the edge of the six-yard box which flew past the outstretched hand of Guinea-Bissau keeper Jonas Mendes.
In the 82nd minute, Balde cut in from the left and curled a shot just inside the right-hand upright, but the forward was adjudged to have fouled Egypt defender Omar Kamal in the build-up.
Egypt keeper Mohamed El Shenawy had to punch away a half-volley from Moreto Cassama in injury time to secure a result which moves the North Africans up to second in the Group D table, three points behind Nigeria but two points ahead of Guinea-Bissau and Sudan.
Egyptian King regains his crown
Salah had been isolated up front against the Super Eagles but was involved from the start against Guinea-Bissau, seeing his low effort from range clip the outside of the right-hand upright in the second minute.
The Egypt skipper then played his part in a sweeping move which ended with Mostafa Mohamed side-footing onto the base of the same post, and Salah had a volley deflected and pushed behind as the Pharaohs pressed before half-time.
Carlos Quieroz's side were less impressive in the second half, but Amr El Soleya came up with a moment of quality to chip the ball into the box for Salah to convert with fine technique.
Zizo should have doubled the lead with 15 minutes left but guided a volley onto the left-hand post from the penalty spot.
Guinea-Bissau failed to threaten for much of the game but Jorginho sent a shot straight at El Shenawy before Egypt enjoyed a stroke of fortune when Balde's effort was chalked off.
Egypt face Sudan in their final group game on Wednesday (19:00 GMT) knowing a draw will be enough to secure second place in the group, while Guinea-Bissau must beat Nigeria to have a chance of advancing to the last 16.
- 15Silva EncadaBooked at 31minsSubstituted forUcha Alvesat 77'minutes
- 20Soriano Mané
- 6Candé Nogueira
- 16Moro CassamáBooked at 86mins
- 9AmbriSubstituted forBarbosa Intimaat 60'minutes
- 5Pereira CamaráSubstituted forRodrigues Teixeiraat 88'minutes
- 18Brito SilvaBooked at 25minsSubstituted forMendyat 77'minutes
- 3Ucha Alves
- 4Fernandes Embalo Júnior
- 7Rodrigues Teixeira
- 10Tuncará Gomes
- 11Barbosa Intima
- 24Samba Baldé
- 3Abdel Wahed
- 15HamdiSubstituted forAbdelmonem Elsayed Mohamed Ahmedat 45'minutes
- 17ElnenyBooked at 50minsSubstituted forAbdul Fattahat 78'minutes
- 4El Soleya
- 19BekhitSubstituted forTrézéguetat 58'minutes
- 14Ahmed AbdallahSubstituted forSayedat 58'minutes
- 22MarmoushSubstituted forMohamed Ragaei Bakrat 78'minutes
- 2Abdelmonem Elsayed Mohamed Ahmed
- 5Abdul Fattah
- 9Mohamed Ragaei Bakr
- 16Abou Gabal Ali
- 20Eldin Mahmoud Ibrahim
- 27Dawoud Soliman
Match ends, Guinea-Bissau 0, Egypt 1.
Second Half ends, Guinea-Bissau 0, Egypt 1.
Attempt saved. Moreto Cassamá (Guinea-Bissau) right footed shot from outside the box is saved in the top centre of the goal. Assisted by Mama Baldé with a headed pass.
Foul by Hamdi Fathi (Egypt).
Mama Baldé (Guinea-Bissau) wins a free kick in the attacking half.
Foul by Mohamed Sherif (Egypt).
Opa Sanganté (Guinea-Bissau) wins a free kick in the defensive half.
Mohamed Salah (Egypt) wins a free kick in the attacking half.
Foul by Burá (Guinea-Bissau).
Corner, Egypt. Conceded by Fali Candé.
Attempt saved. Burá (Guinea-Bissau) right footed shot from outside the box is saved in the centre of the goal.
Foul by Amr El Soleya (Egypt).
Jorginho (Guinea-Bissau) wins a free kick on the right wing.
Substitution, Guinea-Bissau. Mauro Rodrigues replaces Panutche Camará.
Moreto Cassamá (Guinea-Bissau) is shown the yellow card.
VAR Decision: No Goal Guinea-Bissau 0-1 Egypt.
Omar Kamal (Egypt) wins a free kick in the defensive half.
Foul by Mama Baldé (Guinea-Bissau).
Foul by Trézéguet (Egypt).
Leonel Alves (Guinea-Bissau) wins a free kick in the defensive half.