Hosni Mubarak will be released from jail in the next 48 hours after a corruption case against him was dropped, his lawyer Fareed el-Deeb told Reuters.
The only legal grounds for Mubarak's continued detention rest on another corruption case that will be cleared up later this week, Deeb said.
"All we have left is a simple administrative procedure that should take no more than 48 hours," Deeb said.
The former Egyptian president, who was overthrown in an uprising in 2011, still faces a retrial on charges of complicity in the murder of protesters.
More top news
Jeremy Hunt could impose controversial new contracts for junior doctors by Monday, ITV News Political Editor Robert Peston has learned.
A new video has emerged online purporting to show a four-year-old British boy blowing up a car and killing three prisoners on behalf of IS.
An inquest has heard Charlie Jermyn died just 30 hours after he was born because he was not given the right antibiotics.