Riek Machar, who was sacked as South Sudan’s vice-president last month, is in Sudan to receive "urgent medical attention", the state news agency says.
Sudan is hosting Mr Machar on "purely humanitarian grounds", it said.
Mr Machar has not been seen in public since July’s clashes between his supporters and those of President Salva Kiir which killed some 300 people.
South Sudan has suffered more than two years of civil war, since gaining independence from Sudan in 2011.
Riek Machar’s condition was now "stable" and he would "stay in Khartoum under full medical supervision until he leaves... for a destination of his choice," the Sudan News Agency (Suna) said.
The governments of both Sudan and South Sudan have accused each other of backing rebels in a bid to destabilise their countries.
Mr Machar’s presence in Khartoum will give Sudan influence. It is likely to try and present itself as a mediator in the conflict, although many South Sudanese will be suspicious of its intentions.
Taban Deng Gai, Mr Machar’s successor as vice-president, has also been in Khartoum this week.
He is likely to have sought assurances that Sudan is not planning on siding with Mr Machar, as well as requesting help to overcome his country’s economic crisis.
Mr Machar demanded a neutral force be deployed in July to keep peace and guarantee his safety after his bodyguards and President Kiir’s presidential guards fought each other, sparking days of violence.
Political differences between Mr Machar and Mr Kiir ignited the civil war in December 2013 - and they only agreed to settle their differences under intense international pressure, signing a peace deal last August.
Mr Machar returned to Juba in April to take up the post of vice-president, but President Kiir dismissed him in the wake of the latest violence.
This month, the UN authorised a 4,000-strong African protection force for Juba with a more robust mandate than the 12,000 UN soldiers already in the country.
But South Sudan’s government said it opposed the deployment and it is not clear how the mission can go ahead without its co-operation.
Morocco election: Everything you need to know
Liberia passes law to create seats in parliament for women
UN condemns Congo clashes, calls for quick election calendar
There is enough democracy in Rwanda—opposition
Amid unrest, families of US personnel ordered to leave Congo
|READ MORE ARTICLES ABOUT "Politics"...|