The fighting began late on Friday in the Kot area of the Rodat district in eastern Nangarhar province after a contingent of IS fighters attacked police check posts, provincial governor Salim Khan Kunduzi said.
The interior ministry in a statement said at least 18 fighters had been killed and more than 40 others wounded so far, though Kunduzi placed the number of IS fighters killed as high as 36 and said at least a dozen security forces personnel and civilians had also died.
Haqqani commander killed in Afghanistan
Scores of people have been forced out of their homes, according to local officials.
IS fighters began making inroads into Afghanistan in late 2014, winning over sympathizers, recruiting followers and challenging the Taliban on their own turf, primarily in the country's east.
But in March, Afghan President Ashraf Ghani announced that the Islamists had been defeated following a months-long military operation.
The US military estimates between 1,000 and 3,000 IS fighters are in Afghanistan, mostly comprised of disaffected Pakistani and Afghan Taliban, as well as Uzbek militants and locals.
Earlier this month the US President Barack Obama ordered the US military tackle the resurgent Taliban more directly — in tandem with Afghan allies, ratcheting up a 15-year conflict he had vowed to end.
Pakistan, Afghanistan agree on ceasefire at Torkham border
On Saturday the US military carried out its first air strikes against Taliban targets under the newly approved rules, which mean US troops can now work more closely with local fighters in striking the Taliban.
Pentagon press secretary Peter Cook said the strikes occurred in southern Afghanistan, but he did not provide additional details.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ