A gunman opened fire on a church south of Cairo on Friday, killing four people before policemen shot him dead, state media and officials said.
One of the dead was a police officer, state television reported.
The gunman also wounded five security guards outside the church and then tried to storm the building when police shot him dead, police officials said.
The officials said they were searching for a possible second gunman who may have escaped.
Cellphone footage posted on social media appeared to show the bearded gunman wearing a bulky ammunition vest sprawled on a street, barely conscious, as people restrained his arms and then handcuffed him.
The Islamic State group's affiliate in Egypt has killed dozens of Christians in church bombings and shootings over the past year, and has threatened further attacks against the minority.
Egypt's Coptic Christians make up about 10 percent of the country's 93 million people, and are the largest religious minority in the region.
IS had claimed a suicide bombing of a Cairo church in December 2016 followed by bombings of two churches north of the capital in April.
A month later, IS gunmen shot dead about 30 Christians south of Cairo as they travelled to a monastery.
The jihadists are believed to have also carried out a massacre of Muslim worshippers in Sinai last month, killing more than 300 in an attack on a mosque associated with the mystical Sufi strand of Islam which IS views as heretical.
Egypt imposed a state of emergency following the church attacks and shootings, and President Abdel Fattah al-Sisi demanded the army quell the jihadists with "brutal force" following the mosque massacre.
The group has been waging a deadly insurgency based in the Sinai peninsula bordering Israel and the Gaza Strip that has killed hundreds of policemen and soldiers.
They have increasingly targeted civilians as attacks on the security forces have become more difficult.
The army has poured in thousands of troops backed with armour and jets in a bid to crush the Sinai-based jihadists, but attacks have continued.
The attack on the church came a day after six Egyptian soldiers were killed in a roadside bombing in the Sinai.
Last week, IS claimed responsibility for firing an antitank missile at a helicopter in a North Sinai airport as the defence and interior ministers were visiting.
The attack killed an aide to the defence minister and a helicopter pilot, but both ministers returned to Cairo unscathed.
LEAVE A COMMENT Your email address will not be published. Required fields are marked*
Iraqi PM-designate seeks vote of confidence for cabinet
‘Horror has multiplied’ for civilians in Syria: UN
Revolutionary squads guard Sudan's bakeries to battle corruption
Syria aid groups in desperate plea for Idlib displaced
Turkey demands withdrawal as regime strikes hit camps in Syria
UN rights chief demands safe corridors for Syrian civilians
Air strikes hit hospitals, camps in northwest Syria, relief effort overwhelmed - UN
Turkey to arrest 228 for links to cleric in probe of military, ministry
900,000 displaced by fighting in Syria since December: UN