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.

Trump cuts China tariffs to 47% after 'amazing' Xi meeting
More than 100 killed in Israeli strikes on Gaza
At least 121 killed after Brazil's deadliest operation against drug gangs
Melissa kills 25 in Haiti, nearly 30 total as hurricane batters Caribbean
Russia tests nuclear-capable Poseidon super torpedo
