Masked gunmen on motorbikes killed five Egyptian policemen when they opened fire on a checkpoint south of Cairo on Thursday, the interior ministry said.
The ministry said two policemen were also wounded in the attack in the province of Beni Suef, which came two days ahead of the commemoration of the third anniversary of the 2011 uprising.
The assailants fled the scene.
Signup to our newsletter and follow us on Facebook and Twitter!
Scores of policemen and soldiers have been killed in bombing and shooting attacks since the military's overthrow of Islamist president Mohamed Morsi in July.
The deadliest attacks have been claimed by the Al-Qaeda inspired group Ansar Beit al-Maqdis based in the restive Sinai Peninsula, a militant hub that borders the Palestinian Gaza Strip and Israel.
The group had claimed a suicide car bombing in December that killed 15 people, mostly policemen, in an attack on security headquarters north of the capital.
Police are preparing a massive security deployment for the January 25 commemoration, with Morsi's supporters calling for protests that could lead to clashes with police, as they have in the past.