According to the local government officials in Nangarhar, the clash took place in Achin and Khogyani district of Nangarhar.
The officials further added that 15 ISIS loyalists and 3 Taliban militants were killed in Achin district and the remaining were killed in Khogyani.
At least 4 commanders of the Taliban group were also among those killed during the clashes, the officials added.
The latest deadly clash among the two militant groups followed days after the loyalists of ISIS executed three Taliban militants in Achin district.
This comes despite the loyalists of ISIS terror group were hardly suppressed in Afghan and US forces raids.
The raids against the loyalists of the terror group intensified in parts of Nangarhar province amid concerns that they are attempting to expand foothold in the country.
A spokesman for the US-led coalition forces in Afghanistan earlier said the Islamic State of Iraq and Syria (ISIS) terrorist group has the potential to be an ‘enormous’ threat in Afghanistan.