Egyptian security forces killed seven suspected militants in two operations in Giza, across the Nile from central Cairo, the interior ministry said.
Three militants were disguised as electricity workers to plant explosives. They were killed in an exchange of fire when their truck was intercepted, a ministry statement said. A police officer was wounded.
Four more were killed when security forces raided an apartment.
The suspects were not identified with the ministry saying they were members of the Hasm group, which emerged in 2016 and claimed several attacks on security forces.
Egypt accuses the group of being a militant wing of the outlawed Muslim Brotherhood. The Brotherhood denies this.
Authorities frequently announce deaths of suspects identified as Islamist militants in clashes or raids, often in remote areas including the Sinai Peninsula, where the armed forces battle an insurgency.