Algerian troops killed six armed Islamist militants on Monday west of Algiers, where security forces last week broke up an Islamic State cell, the defence ministry said.
Five Kalashnikov rifles and ammunition were also recovered during Monday's operation, which was still under way, near the town of Gouraya in Tipaza province, the ministry said in a statement.
It said that two Islamists had previously been killed in the operation, which started last week, raising the toll to eight.
Local media and sources last week said security forces had 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 group are still active in some remote areas.