The Cairo Court of Appeal chose to uphold a lifetime sentence on Saturday against former Muslim Brotherhood President Mohamed Morsi and six others, previously issued by Criminal Court, on charges of espionage with Qatar.
The Court of Cassation, Egypt's highest appeal court, rejected the former president's appeal and said the ruling is "final and unappealable", state-run MENA news agency reported.
Life sentence in Egypt is 25 years in prison.
He has been sentenced separately to 20 years in prison over deadly clashes between protesters and security forces outside his palace in December 2012.
In 2014, Egypt charged Morsi and nine others with endangering national security by leaking state secrets and sensitive documents to Qatar.
Morsi, Egypt's first democratically elected president, was ousted by the army in 2013 in response to mass protests against his rule.
The court also upheld three death sentences handed down to suspects in the case, the paper said, adding that three others, who are still at large, could appeal similar sentences they had been given.
Qatar is now embroiled in a crisis with Egypt, Saudi Arabia and the United Arab Emirates which are boycotting the small Gulf emirate for its support for the Brotherhood, among other accusations. Since Morsi's ouster, tens of thousands of Brotherhood members have been arrested and prosecuted while senior party leaders face death or life sentences.
The case's documents were referred to the Grand Mufti, who must review all death sentences as per the Egyptian law.
The final decision of the court will be announced on November 25 which involves 20 defendants.
Charges also include possessing weapons, inciting violence and participating in the slaughtering of 21 Egyptian Coptic Christian workers in Libya in 2015.
Qatar was a main backer of Morsi and his Muslim Brotherhood movement while he was in power between 2012 and July 2013.