Sudan and South Sudan have agreed a framework agreement to give their citizens basic freedoms in both nations, African Union mediators say.
They have agreed to allow citizens of the other state to live, work and own property on either side of the border, and travel between the two nations.
Analysts say deals have been broken in the past, and the two sides have left space to wriggle out of this accord.
Bitter disagreements over disputed land and oil also remain unresolved.
However, officials said Sudanese President Omar al-Bashir would make his first visit to South Sudan since the country gained independence last July.