Seven suspected jihadists were killed and 15 soldiers killed in an attack in the Sinai Peninsula, where the military is fighting the Islamic State group.
According to a statement, the security forces responded to the attack on a checkpoint in restive North Sinai with an “exchange of fire”, said the army spokesman Tamer el-Refai.
“An officer and 14 non-commissioned soldiers were killed or wounded,” he added, without giving a precise number for the dead.
Medical sources in North Sinai told AFP that 11 soldiers were killed in the attack.
Security forces would continue to pursue “the terrorist elements to eliminate them”, El-Refai added.
Egypt often announces that jihadists have been killed in military operations, but statements that security forces have suffered significant losses are very rare.
Since the army’s overthrow of elected Islamist president Mohamed Morsi in 2013, hundreds of soldiers and police have been killed in attacks by extremist groups.
Civilians have also been targeted in jihadist attacks, particularly members of Egypt’s minority Coptic Christian community.
Egypt’s army launched an offensive a year ago dubbed “Sinai 2018” on the orders of President Abdel Fattah al-Sisi, after a jihadist attack in North Sinai killed more than 300 people at a mosque.
The army says that more than 550 suspected jihadists have been killed in the offensive — which has also targeted militants elsewhere in Egypt — at the cost of more than 30 soldiers.