Algerian troops killed six armed Islamist militants west of Algiers, where security forces last week broke up an Islamic State cell, the defence ministry said.
Five Kalashnikov rifles and ammunition were recovered during the operation near Gouraya in Tipaza province, the ministry said in a statement.
It said two Islamists were previously killed in the operation, which started last week, bringing to eight the number of deaths.
Local media and other sources last week said security forces dismantled an Islamic State cell in Tipaza province. The cell was led by a former al Qaeda commander convicted in France more than a decade ago for planning an attempted bombing in Strasbourg.
Violence has declined in Algeria since the 1990s war with Islamist fighters that killed 200,000 people. But al Qaeda in the Islamic Maghreb and small bands of fighters allied to Islamic State are still active in some remote areas.