According to the local officials in eastern Nangarhar province, the militants were targeted in Kot district.
Provincial governor’s spokesman Ataullah Khogyani said the airstrike was carried out in Pir Shah Khel area late on Wednesday afternoon.
He said some weapons and ammunition belonging to the loyalists of the terror group were also destroyed in the raid.
This comes as at least 23 loyalists of the Islamic State of Iraq and Syria (ISIS) terrorist group were killed in an airstrike in eastern Nangarhar province of Afghanistan last week.
The Afghan forces as well as the US forces are regularly targeting the loyalists of the terror group in this province in a bid to curb their activities.
The Afghan government earlier a strategy to fight the loyalists of the terror group in Afghanistan.
In the meantime, the US forces stepped up airstrikes against the ISIS loyalists earlier this year after they were granted more authorities by President Barack Obama.
The increased raids against ISIS loyalists followed amid concerns that they are attempting to expand foothold in the country besides attempting to consolidate operations with the terror group in Iraq and Syria.