With nothing but silverware at stake, the two nations had it all to play for particularly the Egyptians who rested a few regulars that did duty over South African in midweek.
The start to the match saw extremely limited amount of clear-cut chances to either side, as both defences went on lock down mode.
The Pharaohs however changed the situation eight minutes to halftime when Karim El Eraki fired home a cross from Ramadan Sobhi after the visitors went to sleep at the back.
Egypt hit the marker in the second half on the back of a halftime lead, but were met with a stubborn Ivorian backline who thwarted every attack coming their way.
The Elephants made the evening's substitution inside the 54th minute as Koffi Kouao entered in place of Cheick Timite.
A second change followed suit 11 minutes later when Aboubacar Doumbia filled in for Jean Lazari Amani in the final third of the pitch.
Egypt managed possession and the dynamics successfully, whilst aiming to a second on the counterattack and from set-pieces in and around the danger area.
The equaliser arrived for the West Africans when quick-thinking from Zie Ouattara played in Doumbia, who made no mistake from close range in the final minute of the match.
Extra-time was where the match went and Egypt sealed the contest when Sobhi netted the winner after 114 minutes, giving the home nation the crown en-route to the Olympics.