Sudan's army chief, General Abdel Fattah al-Burhan, arrived in the Egyptian coastal town of El Alamein on Tuesday to meet with President Abdel Fattah al-Sisi, according to a military statement.
It was the first time Burhan had left Sudan since the start of the conflict with the paramilitary Rapid Support Forces on April 15.
Egypt offered to mediate between Sudan's warring factions, in a series of international efforts to prevent a prolonged civil war and the deepening of a humanitarian crisis.
In a speech to soldiers on Monday, Burhan dashed hopes of talks, denouncing the rival RSF as "traitors" and promising a decisive victory.

Saudi Arabia orders Iranian military attache, embassy staff to leave
Trump says US considering 'winding down' Iran war; Natanz nuclear facility attacked
Ukraine says talks on resolving war to continue in US on Sunday
Former FBI chief Robert Mueller dies aged 81
Ukrainian shelling kills four in Russia's Belgorod, governor says