Egypt received its third Type 209/1400 submarine from Germany at a ceremony in the German city of Kiel on Friday.
The commander of the Egyptian navy Ahmed Khalid raised the Egyptian flag on the submarine, S43, in the ceremony that broadcast on Egyptian state television.
Egypt first signed a deal with Berlin to buy two German-made Type 209 submarines in 2011, ordering two more in 2014.
It received the first one, S41, in December 2016 and the second, S42, in August 2017.
The Type 209/1400 has a range of 11,000 nautical miles and a top speed of 21.5 knots. It is equipped with missiles and torpedoes.
The submarines are manufactured by the German company ThyssenKrupp Marine Systems.