Thegunmen attacked the policemen in el-Masaeed district in the North Sinai city of Al-Arish, the Ministry of Interior said in a statement.
Egypt's North Sinai has witnessed many violent attacks by militants in the last few years and since the January 2011 revolution that toppled former president Hosni Mubarak.
The attacks targeting police and military increased after the ouster of Islamist ex-president Mohamed Morsi in 2013 by military following massive protests against his rule.
Over 700 security personnel have been reported killed so far.