The officials say Lt. Col. Ibrahim Hussein Mohammed was killed in the Thursday night attack near the town of Nakhl. The militants, from the group formerly known as Ansar Beit al-Maqdis, stole the men’s weapons and burnt seven trucks.
The officials spoke on condition of anonymity because they are not authorised to talk to reporters.
Security forces have been battling militants in northern Sinai for years in an insurgency that picked up after the 2013 military ouster of an elected but divisive president.
Egypt also faces a growing number of militant attacks in its western desert.