An officer and five soldiers killed when their vehicle was hit by the blast from a bomb in North Sinai, and two people, including a policeman, killed after an exchange of fire at a bank in El Arish town.
Militants killed two people, including a policeman, at a bank in the town of El Arish in Egypt's North Sinai on Thursday, security sources said, and a separate explosion in the region killed an army officer and five soldiers.
The militants in El Arish fired a rocket and shot at police who were guarding the bank, the sources said. The police fired back but the militants fled the scene.
Egypt's interior ministry could not immediately be reached for comment on the incident.
Later, the army said an officer and five soldiers had been killed when their vehicle was hit by the blast from a bomb militants planted in North Sinai. The troops were carrying out a raid on a militant position when they were attacked.
No exact location was given for the explosion. A separate raid killed three militants, it said.
Security forces have been fighting against militants for several years in North Sinai, led by Daesh's Sinai branch. Several hundred soldiers and policeman have been killed.
Attacks have now expanded to civilian targets including Muslims and Christians.
An attack on a mosque in the village of Al Rawdah last month killed more than 300 people, Egypt's deadliest such attack. President Abdel Fattah el Sisi ordered the armed forces to defeat the militant group within three months after the mosque attack.
Daesh is widely believed to have carried out that attack but has claimed it.