The explosion occurred overnight in Mahalla el-Kobra city of Gharbia governorate, officials said.
One of the dead was a 25-year-old policeman who died of his injuries in hospital, they said. The other was a civilian.
Those injured in the blast were being treated at an area hospital.
Security forces have cordoned off the area and have launched a probe into the incident.
Egypt has often witnessed violent militant attacks since the January 2011 revolution that toppled the government of former strongman Hosni Mubarak.
In January, 32 people were killed and dozens others injured in attacks in Al-Arish city in the restive North Sinai region.
The Egyptian military has launched campaigns in the area to arrest suspects and demolish houses of terrorists, including those facilitating tunnels leading to the Gaza Strip.