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.

US, German scientists win Nobel medicine prize for work on light and brain
Nigeria military aircraft crashes with 32 aboard
Spanish PM Sanchez calls snap election for November 29
Hundreds of French schools stay closed ahead of nationwide day of student protests
Thousands of Imran Khan supporters start march to Pakistani capital, party says